#871841#871841

#871841 is a dark, vivid pink. Relative luminance 0.062; OKLCH L 41.5% C 0.147 H 4.9°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#871841
RGBrgb(135, 24, 65)
HSLhsl(338, 70%, 31%)
HSVhsv(338, 82%, 53%)
CMYKcmyk(0%, 82.2%, 51.9%, 47.1%)
CIE-LABlab(29.88, 47.90, 4.72)
CIE-LCHlch(29.88, 48.14, 5.63°)
OKLaboklab(41.47% 0.1466 0.0125)
OKLCHoklch(41.47% 0.147 4.9)
XYZxyz(11.2735, 6.1874, 5.6007)
Luminance0.0619 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871841 #18875E
analogous
#871878 #871841 #872618
triadic
#871841 #418718 #184187
tetradic
#871841 #788718 #18875E #261887
square
#871841 #788718 #18875E #261887
split-complementary
#871841 #188726 #187887
monochromatic
#1F060F #530F28 #871841 #BB215A #DC3D78

Accessibility & contrast

On white

9.39
#871841 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#871841 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871841
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871841#FFFFFF#000000##FFFFFF
##8718411.009.392.249.39
#FFFFFF9.391.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353842
Deuteranopia (green-blind)
#524E3E
Tritanopia (blue-blind)
#94002A
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #871841;
/* rgb */ color: rgb(135, 24, 65);
/* oklch */ color: oklch(41.5% 0.147 4.9);
Tailwind
colors: {
  custom: {
    50: '#b06275',
    500: '#871841',
    950: '#000000',
  },
}
SCSS
$custom: #871841;
$custom-light: #b06275;
$custom-dark: #000000;
JSON
{
  "hex": "#871841",
  "rgb": {
    "r": 135,
    "g": 24,
    "b": 65
  },
  "hsl": {
    "h": 337.838,
    "s": 69.811,
    "l": 31.176
  },
  "oklch": {
    "l": 0.41467,
    "c": 0.14715,
    "h": 4.9
  },
  "luminance": 0.06186
}

Semantic roles & 50–950 ramp

primary
#871841
secondary
#40BB8D
accent
#EDAB3B
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110608
muted
#807A7B

Preview Lab

Preview with #871841

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

Preview Lab → · Contrast checker → · Palette generator →

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