Skip to content

#87172D Color

#87172D is rgb(135, 23, 45) in RGB, hsl(348, 71%, 31%) in HSL, and about cmyk(0%, 83%, 67%, 47%) in CMYK. It has no registered color name of its own — the closest is Antique Ruby (#841B2D), below the threshold most people can see at ΔE 2.15. White text is the more readable choice on this background.

#87172D
HEX#87172D
RGBrgb(135, 23, 45)
HSLhsl(348, 71%, 31%)
HSVhsv(348, 83%, 53%)
CMYKcmyk(0%, 83%, 67%, 47%)
OKLCHoklch(40.9% 0.145 16.5)
LABlab(29.82% 46.95 18.41)
LCHlch(29.82% 50.43 21.41)

What #87172D Is Called

Most hex codes have no name: there are 16.7 million of them and a few thousand registered names. These are the named colors nearest to #87172D, ordered by CIE76 distance in CIELAB. Anything under about ΔE 2 is a difference most people cannot see.

Browse the full index of named colors A-Z or every red in the library.

#87172D Channel Values

How #87172D breaks down in each color model. Hue is measured in degrees around the color wheel; saturation, lightness, and the CMYK inks are percentages.

ModelChannelsNotes
RGBR 135 · G 23 · B 458-bit channels as sent to the display
HSLH 348° · S 71% · L 31%Easiest model for building lighter and darker variants
HSVH 348° · S 83% · V 53%Matches the picker in most design tools
CMYKC 0% · M 83% · Y 67% · K 47%Approximate ink mix; confirm with an ICC profile before printing
Luminance9.59:1 vs white · 2.19:1 vs blackWCAG 2.2 relative-luminance contrast ratios

Text Contrast & Accessibility

WCAG 2.2 contrast ratios for text on a #87172D background. AA requires 4.5:1 for normal text and 3:1 for large text; AAA requires 7:1. Contrast is one check, not a full accessibility review.

TextWhite text9.59:1AA normal AA large AAA normal
Fails AABlack text2.19:1AA normal AA large AAA normal

Need a specific ratio against another background? Open #87172D in the contrast checker.

Colors That Go With #87172D

Pairings derived from color-wheel relationships. The complementary color sits opposite #87172D; analogous colors sit beside it; triadic and split-complementary sets spread evenly around the wheel. Select any swatch for its own breakdown.

Base
Complementary
Analogous
Analogous
Triadic
Triadic
Split comp.
Split comp.

Tints & Shades of #87172D

Lighter tints and darker shades built by moving the lightness channel while holding hue and saturation, which is what you want for hover states, backgrounds, and text variants.

Tints

Shades

Want a full 50-950 ramp with semantic roles? Generate design tokens from #87172D.

How #87172D Looks with Color Vision Deficiency

Simulated with the Viénot, Brettel & Mollon LMS projection model. Anomalous types are rendered as partial versions of the matching dichromacy, which is an approximation rather than a per-person clinical model.

Typical#87172D
Protanopia#3E3E2C
Protanomaly#63322C
Deuteranopia#535326
Deuteranomaly#6B4229
Tritanopia#861B1B
Tritanomaly#871923
Achromatopsia#454545

Test a full palette in the color blindness simulator.

Using #87172D in Code

Copy-ready declarations for the places this color usually ends up.

CSS custom property--color-87172d: #87172D;
CSS backgroundbackground-color: #87172D;
Tailwind configcolors: { 'color-87172d': '#87172D' }
SwiftUIColor(red: 0.529, green: 0.090, blue: 0.176)
Android XML<color name="color_87172d">#87172D</color>
SVG fillfill="#87172D"

More Red Colors

#87172D sits in the red family. These are its neighbours across that family's full range, each with its own breakdown.

#87172D Frequently Asked Questions

What color is #87172D?

#87172D is a dark red — rgb(135, 23, 45) in RGB and hsl(348, 71%, 31%) in HSL. It carries no registered color name of its own; the closest named color is Antique Ruby (#841B2D), which is below the threshold most people can see at a CIE76 distance of 2.15.

What is the RGB value of #87172D?

#87172D is rgb(135, 23, 45) — red 135, green 23, and blue 45 on the 0-255 scale.

What is the CMYK value of #87172D?

#87172D converts to approximately cmyk(0%, 83%, 67%, 47%). CMYK output is a mathematical approximation for planning; confirm production print colors with your printer and ICC profile.

Should text on #87172D be black or white?

White text is the more readable choice. #87172D scores 9.59:1 against white and 2.19:1 against black, and WCAG 2.2 asks for at least 4.5:1 for normal body text.

Can I write #87172D as a CSS color keyword?

No. #87172D is not one of the CSS color keywords, so it has to be written as a hex, rgb() or hsl() value. The closest keyword is brown (#A52A2A) at a CIE76 distance of 16.16, which is visibly different.

Open #87172D in a Tool

Keep exploring: every red in the color library, the guide to shades of red, or the full color library.