#871849#871849

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

Color values

HEX#871849
RGBrgb(135, 24, 73)
HSLhsl(334, 70%, 31%)
HSVhsv(334, 82%, 53%)
CMYKcmyk(0%, 82.2%, 45.9%, 47.1%)
CIE-LABlab(30.12, 48.64, -0.25)
CIE-LCHlch(30.12, 48.64, 359.71°)
OKLaboklab(41.73% 0.1495 -0.0001)
OKLCHoklch(41.73% 0.15 0)
XYZxyz(11.5218, 6.2868, 6.9088)
Luminance0.0629 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871849 #188756
analogous
#871880 #871849 #871F18
triadic
#871849 #498718 #184987
tetradic
#871849 #808718 #188756 #1F1887
square
#871849 #808718 #188756 #1F1887
split-complementary
#871849 #18871F #188087
monochromatic
#1F0611 #530F2D #871849 #BB2165 #DC3D83

Accessibility & contrast

On white

9.30
#871849 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#871849 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871849
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871849#FFFFFF#000000##FFFFFF
##8718491.009.302.269.30
#FFFFFF9.301.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#33394A
Deuteranopia (green-blind)
#514E46
Tritanopia (blue-blind)
#93002E
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #871849;
/* rgb */ color: rgb(135, 24, 73);
/* oklch */ color: oklch(41.7% 0.150 360.0);
Tailwind
colors: {
  custom: {
    50: '#af627b',
    500: '#871849',
    950: '#000000',
  },
}
SCSS
$custom: #871849;
$custom-light: #af627b;
$custom-dark: #000000;
JSON
{
  "hex": "#871849",
  "rgb": {
    "r": 135,
    "g": 24,
    "b": 73
  },
  "hsl": {
    "h": 333.514,
    "s": 69.811,
    "l": 31.176
  },
  "oklch": {
    "l": 0.41726,
    "c": 0.14955,
    "h": 360
  },
  "luminance": 0.06285
}

Semantic roles & 50–950 ramp

primary
#871849
secondary
#40BB85
accent
#ED9E3B
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110609
muted
#807A7B

Preview Lab

Preview with #871849

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

Preview Lab → · Contrast checker → · Palette generator →

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