#871640#871640

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

Color values

HEX#871640
RGBrgb(135, 22, 64)
HSLhsl(338, 72%, 31%)
HSVhsv(338, 84%, 53%)
CMYKcmyk(0%, 83.7%, 52.6%, 47.1%)
CIE-LABlab(29.65, 48.38, 5.07)
CIE-LCHlch(29.65, 48.64, 5.98°)
OKLaboklab(41.29% 0.148 0.0133)
OKLCHoklch(41.29% 0.149 5.1)
XYZxyz(11.2050, 6.0965, 5.4362)
Luminance0.0609 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871640 #16875D
analogous
#871678 #871640 #872416
triadic
#871640 #408716 #164087
tetradic
#871640 #788716 #16875D #241687
square
#871640 #788716 #16875D #241687
split-complementary
#871640 #168724 #167887
monochromatic
#1E050E #520D27 #871640 #BC1F59 #DF3976

Accessibility & contrast

On white

9.46
#871640 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #871640
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871640#FFFFFF#000000##FFFFFF
##8716401.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343841
Deuteranopia (green-blind)
#524E3D
Tritanopia (blue-blind)
#940029
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #871640;
/* rgb */ color: rgb(135, 22, 64);
/* oklch */ color: oklch(41.3% 0.149 5.1);
Tailwind
colors: {
  custom: {
    50: '#b06174',
    500: '#871640',
    950: '#000000',
  },
}
SCSS
$custom: #871640;
$custom-light: #b06174;
$custom-dark: #000000;
JSON
{
  "hex": "#871640",
  "rgb": {
    "r": 135,
    "g": 22,
    "b": 64
  },
  "hsl": {
    "h": 337.699,
    "s": 71.975,
    "l": 30.784
  },
  "oklch": {
    "l": 0.41292,
    "c": 0.14865,
    "h": 5.1
  },
  "luminance": 0.06095
}

Semantic roles & 50–950 ramp

primary
#871640
secondary
#3EBB8C
accent
#EFAB39
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120608
muted
#817A7B

Preview Lab

Preview with #871640

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

Preview Lab → · Contrast checker → · Palette generator →

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