#872047#872047

#872047 is a dark, vivid pink. Relative luminance 0.066; OKLCH L 42.3% C 0.141 H 2.6°. Best body text is #FFFFFF at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#872047
RGBrgb(135, 32, 71)
HSLhsl(337, 62%, 33%)
HSVhsv(337, 76%, 53%)
CMYKcmyk(0%, 76.3%, 47.4%, 47.1%)
CIE-LABlab(30.97, 45.87, 2.31)
CIE-LCHlch(30.97, 45.93, 2.89°)
OKLaboklab(42.33% 0.1406 0.0064)
OKLCHoklch(42.33% 0.141 2.6)
XYZxyz(11.6465, 6.6404, 6.6285)
Luminance0.0664 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#872047 #208760
analogous
#87207A #872047 #872D20
triadic
#872047 #478720 #204787
tetradic
#872047 #7A8720 #208760 #2D2087
square
#872047 #7A8720 #208760 #2D2087
split-complementary
#872047 #20872D #207A87
monochromatic
#240913 #56142D #872047 #B82C61 #D54D80

Accessibility & contrast

On white

9.02
#872047 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #872047
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##872047#FFFFFF#000000##FFFFFF
##8720471.009.022.339.02
#FFFFFF9.021.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383C48
Deuteranopia (green-blind)
#535045
Tritanopia (blue-blind)
#930C31
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #872047;
/* rgb */ color: rgb(135, 32, 71);
/* oklch */ color: oklch(42.3% 0.141 2.6);
Tailwind
colors: {
  custom: {
    50: '#af657a',
    500: '#872047',
    950: '#000000',
  },
}
SCSS
$custom: #872047;
$custom-light: #af657a;
$custom-dark: #000000;
JSON
{
  "hex": "#872047",
  "rgb": {
    "r": 135,
    "g": 32,
    "b": 71
  },
  "hsl": {
    "h": 337.282,
    "s": 61.677,
    "l": 32.745
  },
  "oklch": {
    "l": 0.42329,
    "c": 0.14071,
    "h": 2.6
  },
  "luminance": 0.06639
}

Semantic roles & 50–950 ramp

primary
#872047
secondary
#4BB88F
accent
#E5A843
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110609
muted
#807A7B

Preview Lab

Preview with #872047

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

Preview Lab → · Contrast checker → · Palette generator →

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