#872045#872045

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

Color values

HEX#872045
RGBrgb(135, 32, 69)
HSLhsl(338, 62%, 33%)
HSVhsv(338, 76%, 53%)
CMYKcmyk(0%, 76.3%, 48.9%, 47.1%)
CIE-LABlab(30.91, 45.68, 3.55)
CIE-LCHlch(30.91, 45.82, 4.44°)
OKLaboklab(42.27% 0.1398 0.0096)
OKLCHoklch(42.27% 0.14 3.9)
XYZxyz(11.5833, 6.6151, 6.2960)
Luminance0.0661 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#872045 #208762
analogous
#872078 #872045 #872F20
triadic
#872045 #458720 #204587
tetradic
#872045 #788720 #208762 #2F2087
square
#872045 #788720 #208762 #2F2087
split-complementary
#872045 #20872F #207887
monochromatic
#240912 #56142C #872045 #B82C5E #D54D7E

Accessibility & contrast

On white

9.04
#872045 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#872045 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #872045
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##872045#FFFFFF#000000##FFFFFF
##8720451.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383C46
Deuteranopia (green-blind)
#545043
Tritanopia (blue-blind)
#930B30
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #872045;
/* rgb */ color: rgb(135, 32, 69);
/* oklch */ color: oklch(42.3% 0.140 3.9);
Tailwind
colors: {
  custom: {
    50: '#af6578',
    500: '#872045',
    950: '#000000',
  },
}
SCSS
$custom: #872045;
$custom-light: #af6578;
$custom-dark: #000000;
JSON
{
  "hex": "#872045",
  "rgb": {
    "r": 135,
    "g": 32,
    "b": 69
  },
  "hsl": {
    "h": 338.447,
    "s": 61.677,
    "l": 32.745
  },
  "oklch": {
    "l": 0.42266,
    "c": 0.14013,
    "h": 3.9
  },
  "luminance": 0.06614
}

Semantic roles & 50–950 ramp

primary
#872045
secondary
#4BB891
accent
#E5AB43
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110608
muted
#807A7B

Preview Lab

Preview with #872045

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

Preview Lab → · Contrast checker → · Palette generator →

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