#872049#872049

#872049 is a dark, vivid pink. Relative luminance 0.067; OKLCH L 42.4% C 0.141 H 1.3°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#872049
RGBrgb(135, 32, 73)
HSLhsl(336, 62%, 33%)
HSVhsv(336, 76%, 53%)
CMYKcmyk(0%, 76.3%, 45.9%, 47.1%)
CIE-LABlab(31.04, 46.07, 1.08)
CIE-LCHlch(31.04, 46.08, 1.34°)
OKLaboklab(42.4% 0.1413 0.0033)
OKLCHoklch(42.4% 0.141 1.3)
XYZxyz(11.7117, 6.6665, 6.9721)
Luminance0.0667 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#872049 #20875E
analogous
#87207C #872049 #872B20
triadic
#872049 #498720 #204987
tetradic
#872049 #7C8720 #20875E #2B2087
square
#872049 #7C8720 #20875E #2B2087
split-complementary
#872049 #20872B #207C87
monochromatic
#240913 #56142E #872049 #B82C64 #D54D83

Accessibility & contrast

On white

9.00
#872049 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#872049 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #872049
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##872049#FFFFFF#000000##FFFFFF
##8720491.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373C4A
Deuteranopia (green-blind)
#535047
Tritanopia (blue-blind)
#930E32
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #872049;
/* rgb */ color: rgb(135, 32, 73);
/* oklch */ color: oklch(42.4% 0.141 1.3);
Tailwind
colors: {
  custom: {
    50: '#af657b',
    500: '#872049',
    950: '#000000',
  },
}
SCSS
$custom: #872049;
$custom-light: #af657b;
$custom-dark: #000000;
JSON
{
  "hex": "#872049",
  "rgb": {
    "r": 135,
    "g": 32,
    "b": 73
  },
  "hsl": {
    "h": 336.117,
    "s": 61.677,
    "l": 32.745
  },
  "oklch": {
    "l": 0.42395,
    "c": 0.14133,
    "h": 1.3
  },
  "luminance": 0.06665
}

Semantic roles & 50–950 ramp

primary
#872049
secondary
#4BB88C
accent
#E5A443
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110609
muted
#807A7B

Preview Lab

Preview with #872049

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

Preview Lab → · Contrast checker → · Palette generator →

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