#871938#871938

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

Color values

HEX#871938
RGBrgb(135, 25, 56)
HSLhsl(343, 69%, 31%)
HSVhsv(343, 81%, 53%)
CMYKcmyk(0%, 81.5%, 58.5%, 47.1%)
CIE-LABlab(29.75, 46.88, 10.54)
CIE-LCHlch(29.75, 48.05, 12.67°)
OKLaboklab(41.29% 0.1421 0.0264)
OKLCHoklch(41.29% 0.145 10.5)
XYZxyz(11.0542, 6.1333, 4.3424)
Luminance0.0613 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871938 #198768
analogous
#87196F #871938 #873119
triadic
#871938 #388719 #193887
tetradic
#871938 #6F8719 #198768 #311987
square
#871938 #6F8719 #198768 #311987
split-complementary
#871938 #198731 #196F87
monochromatic
#20060D #530F23 #871938 #BB234D #DB3F6B

Accessibility & contrast

On white

9.43
#871938 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#871938 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871938
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871938#FFFFFF#000000##FFFFFF
##8719381.009.432.239.43
#FFFFFF9.431.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.431.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: #871938;
/* rgb */ color: rgb(135, 25, 56);
/* oklch */ color: oklch(41.3% 0.145 10.5);
Tailwind
colors: {
  custom: {
    50: '#b0626e',
    500: '#871938',
    950: '#000000',
  },
}
SCSS
$custom: #871938;
$custom-light: #b0626e;
$custom-dark: #000000;
JSON
{
  "hex": "#871938",
  "rgb": {
    "r": 135,
    "g": 25,
    "b": 56
  },
  "hsl": {
    "h": 343.091,
    "s": 68.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.41291,
    "c": 0.14451,
    "h": 10.5
  },
  "luminance": 0.06132
}

Semantic roles & 50–950 ramp

primary
#871938
secondary
#41BA98
accent
#ECBA3C
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#120607
muted
#817A7A

Preview Lab

Preview with #871938

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

Preview Lab → · Contrast checker → · Palette generator →

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