#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 |
|---|---|
| RGB | rgb(135, 32, 69) |
| HSL | hsl(338, 62%, 33%) |
| HSV | hsv(338, 76%, 53%) |
| CMYK | cmyk(0%, 76.3%, 48.9%, 47.1%) |
| CIE-LAB | lab(30.91, 45.68, 3.55) |
| CIE-LCH | lch(30.91, 45.82, 4.44°) |
| OKLab | oklab(42.27% 0.1398 0.0096) |
| OKLCH | oklch(42.27% 0.14 3.9) |
| XYZ | xyz(11.5833, 6.6151, 6.2960) |
| Luminance | 0.0661 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 3.55
Purple Red
#990147
ΔE00 3.72
Mulberry
#920A4E
ΔE00 3.80
Wine (survey)
#80013F
ΔE00 3.84
Red Purple
#820747
ΔE00 4.31
Reddish Purple
#910951
ΔE00 4.57
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 |
|---|---|---|---|---|
| ##872045 | 1.00 | 9.04 | 2.32 | 9.04 |
| #FFFFFF | 9.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.04 | 1.00 | 21.00 | 1.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