#871838#871838

#871838 is a dark, vivid pink. Relative luminance 0.061; OKLCH L 41.2% C 0.145 H 10.3°. Best body text is #FFFFFF at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#871838
RGBrgb(135, 24, 56)
HSLhsl(343, 70%, 31%)
HSVhsv(343, 82%, 53%)
CMYKcmyk(0%, 82.2%, 58.5%, 47.1%)
CIE-LABlab(29.64, 47.18, 10.40)
CIE-LCHlch(29.64, 48.31, 12.43°)
OKLaboklab(41.21% 0.143 0.0261)
OKLCHoklch(41.21% 0.145 10.3)
XYZxyz(11.0332, 6.0913, 4.3354)
Luminance0.0609 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871838 #188767
analogous
#87186F #871838 #872F18
triadic
#871838 #388718 #183887
tetradic
#871838 #6F8718 #188767 #2F1887
square
#871838 #6F8718 #188767 #2F1887
split-complementary
#871838 #18872F #186F87
monochromatic
#1F060D #530F22 #871838 #BB214E #DC3D6B

Accessibility & contrast

On white

9.47
#871838 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#871838 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871838
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871838#FFFFFF#000000##FFFFFF
##8718381.009.472.229.47
#FFFFFF9.471.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.471.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #871838;
/* rgb */ color: rgb(135, 24, 56);
/* oklch */ color: oklch(41.2% 0.145 10.3);
Tailwind
colors: {
  custom: {
    50: '#b0626e',
    500: '#871838',
    950: '#000000',
  },
}
SCSS
$custom: #871838;
$custom-light: #b0626e;
$custom-dark: #000000;
JSON
{
  "hex": "#871838",
  "rgb": {
    "r": 135,
    "g": 24,
    "b": 56
  },
  "hsl": {
    "h": 342.703,
    "s": 69.811,
    "l": 31.176
  },
  "oklch": {
    "l": 0.41214,
    "c": 0.14539,
    "h": 10.3
  },
  "luminance": 0.0609
}

Semantic roles & 50–950 ramp

primary
#871838
secondary
#40BB97
accent
#EDB93B
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#120607
muted
#817A7A

Preview Lab

Preview with #871838

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

Preview Lab → · Contrast checker → · Palette generator →

#871838 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva