#872048#872048

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

Color values

HEX#872048
RGBrgb(135, 32, 72)
HSLhsl(337, 62%, 33%)
HSVhsv(337, 76%, 53%)
CMYKcmyk(0%, 76.3%, 46.7%, 47.1%)
CIE-LABlab(31.00, 45.97, 1.70)
CIE-LCHlch(31.00, 46.00, 2.11°)
OKLaboklab(42.36% 0.1409 0.0049)
OKLCHoklch(42.36% 0.141 2)
XYZxyz(11.6788, 6.6533, 6.7989)
Luminance0.0665 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#872048 #20875F
analogous
#87207B #872048 #872B20
triadic
#872048 #488720 #204887
tetradic
#872048 #7B8720 #20875F #2B2087
square
#872048 #7B8720 #20875F #2B2087
split-complementary
#872048 #20872B #207B87
monochromatic
#240913 #56142E #872048 #B82C62 #D54D82

Accessibility & contrast

On white

9.01
#872048 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #872048
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##872048#FFFFFF#000000##FFFFFF
##8720481.009.012.339.01
#FFFFFF9.011.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373C49
Deuteranopia (green-blind)
#535046
Tritanopia (blue-blind)
#930D31
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #872048;
/* rgb */ color: rgb(135, 32, 72);
/* oklch */ color: oklch(42.4% 0.141 2.0);
Tailwind
colors: {
  custom: {
    50: '#af657a',
    500: '#872048',
    950: '#000000',
  },
}
SCSS
$custom: #872048;
$custom-light: #af657a;
$custom-dark: #000000;
JSON
{
  "hex": "#872048",
  "rgb": {
    "r": 135,
    "g": 32,
    "b": 72
  },
  "hsl": {
    "h": 336.699,
    "s": 61.677,
    "l": 32.745
  },
  "oklch": {
    "l": 0.42362,
    "c": 0.14101,
    "h": 2
  },
  "luminance": 0.06652
}

Semantic roles & 50–950 ramp

primary
#872048
secondary
#4BB88E
accent
#E5A643
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110609
muted
#807A7B

Preview Lab

Preview with #872048

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

Preview Lab → · Contrast checker → · Palette generator →

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