#871A38#871A38

#871A38 is a dark, vivid pink. Relative luminance 0.062; OKLCH L 41.4% C 0.144 H 10.8°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#871A38
RGBrgb(135, 26, 56)
HSLhsl(343, 68%, 32%)
HSVhsv(343, 81%, 53%)
CMYKcmyk(0%, 80.7%, 58.5%, 47.1%)
CIE-LABlab(29.85, 46.57, 10.69)
CIE-LCHlch(29.85, 47.79, 12.93°)
OKLaboklab(41.37% 0.1411 0.0268)
OKLCHoklch(41.37% 0.144 10.8)
XYZxyz(11.0760, 6.1768, 4.3496)
Luminance0.0617 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871A38 #1A8769
analogous
#871A6F #871A38 #87331A
triadic
#871A38 #38871A #1A3887
tetradic
#871A38 #6F871A #1A8769 #331A87
square
#871A38 #6F871A #1A8769 #331A87
split-complementary
#871A38 #1A8733 #1A6F87
monochromatic
#20060D #541023 #871A38 #BA244D #DA416B

Accessibility & contrast

On white

9.40
#871A38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#871A38 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871A38
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871A38#FFFFFF#000000##FFFFFF
##871A381.009.402.249.40
#FFFFFF9.401.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383838
Deuteranopia (green-blind)
#544E35
Tritanopia (blue-blind)
#940027
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #871a38;
/* rgb */ color: rgb(135, 26, 56);
/* oklch */ color: oklch(41.4% 0.144 10.8);
Tailwind
colors: {
  custom: {
    50: '#b0626e',
    500: '#871a38',
    950: '#000000',
  },
}
SCSS
$custom: #871a38;
$custom-light: #b0626e;
$custom-dark: #000000;
JSON
{
  "hex": "#871a38",
  "rgb": {
    "r": 135,
    "g": 26,
    "b": 56
  },
  "hsl": {
    "h": 343.486,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.41371,
    "c": 0.14361,
    "h": 10.8
  },
  "luminance": 0.06175
}

Semantic roles & 50–950 ramp

primary
#871A38
secondary
#42BA99
accent
#EBBB3D
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#120607
muted
#817A7A

Preview Lab

Preview with #871A38

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#871A38 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva