#871843#871843

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

Color values

HEX#871843
RGBrgb(135, 24, 67)
HSLhsl(337, 70%, 31%)
HSVhsv(337, 82%, 53%)
CMYKcmyk(0%, 82.2%, 50.4%, 47.1%)
CIE-LABlab(29.94, 48.08, 3.47)
CIE-LCHlch(29.94, 48.21, 4.13°)
OKLaboklab(41.53% 0.1474 0.0094)
OKLCHoklch(41.53% 0.148 3.6)
XYZxyz(11.3324, 6.2110, 5.9112)
Luminance0.0621 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871843 #18875C
analogous
#87187A #871843 #872518
triadic
#871843 #438718 #184387
tetradic
#871843 #7A8718 #18875C #251887
square
#871843 #7A8718 #18875C #251887
split-complementary
#871843 #188725 #187A87
monochromatic
#1F060F #530F29 #871843 #BB215D #DC3D7B

Accessibility & contrast

On white

9.37
#871843 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #871843
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871843#FFFFFF#000000##FFFFFF
##8718431.009.372.249.37
#FFFFFF9.371.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353944
Deuteranopia (green-blind)
#524E40
Tritanopia (blue-blind)
#93002B
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #871843;
/* rgb */ color: rgb(135, 24, 67);
/* oklch */ color: oklch(41.5% 0.148 3.6);
Tailwind
colors: {
  custom: {
    50: '#af6276',
    500: '#871843',
    950: '#000000',
  },
}
SCSS
$custom: #871843;
$custom-light: #af6276;
$custom-dark: #000000;
JSON
{
  "hex": "#871843",
  "rgb": {
    "r": 135,
    "g": 24,
    "b": 67
  },
  "hsl": {
    "h": 336.757,
    "s": 69.811,
    "l": 31.176
  },
  "oklch": {
    "l": 0.41529,
    "c": 0.14768,
    "h": 3.6
  },
  "luminance": 0.06209
}

Semantic roles & 50–950 ramp

primary
#871843
secondary
#40BB8B
accent
#EDA83B
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110608
muted
#807A7B

Preview Lab

Preview with #871843

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

Preview Lab → · Contrast checker → · Palette generator →

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