#871848#871848

#871848 is a dark, vivid pink. Relative luminance 0.063; OKLCH L 41.7% C 0.149 H 0.6°. Best body text is #FFFFFF at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#871848
RGBrgb(135, 24, 72)
HSLhsl(334, 70%, 31%)
HSVhsv(334, 82%, 53%)
CMYKcmyk(0%, 82.2%, 46.7%, 47.1%)
CIE-LABlab(30.09, 48.55, 0.37)
CIE-LCHlch(30.09, 48.55, 0.44°)
OKLaboklab(41.69% 0.1492 0.0015)
OKLCHoklch(41.69% 0.149 0.6)
XYZxyz(11.4889, 6.2736, 6.7356)
Luminance0.0627 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871848 #188757
analogous
#87187F #871848 #871F18
triadic
#871848 #488718 #184887
tetradic
#871848 #7F8718 #188757 #1F1887
square
#871848 #7F8718 #188757 #1F1887
split-complementary
#871848 #18871F #187F87
monochromatic
#1F0611 #530F2C #871848 #BB2164 #DC3D82

Accessibility & contrast

On white

9.32
#871848 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#871848 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871848
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871848#FFFFFF#000000##FFFFFF
##8718481.009.322.259.32
#FFFFFF9.321.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#333949
Deuteranopia (green-blind)
#514E45
Tritanopia (blue-blind)
#93002E
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #871848;
/* rgb */ color: rgb(135, 24, 72);
/* oklch */ color: oklch(41.7% 0.149 0.6);
Tailwind
colors: {
  custom: {
    50: '#af627a',
    500: '#871848',
    950: '#000000',
  },
}
SCSS
$custom: #871848;
$custom-light: #af627a;
$custom-dark: #000000;
JSON
{
  "hex": "#871848",
  "rgb": {
    "r": 135,
    "g": 24,
    "b": 72
  },
  "hsl": {
    "h": 334.054,
    "s": 69.811,
    "l": 31.176
  },
  "oklch": {
    "l": 0.41692,
    "c": 0.14921,
    "h": 0.6
  },
  "luminance": 0.06272
}

Semantic roles & 50–950 ramp

primary
#871848
secondary
#40BB86
accent
#EDA03B
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110609
muted
#807A7B

Preview Lab

Preview with #871848

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

Preview Lab → · Contrast checker → · Palette generator →

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