#842045#842045
#842045 is a dark, vivid pink. Relative luminance 0.064; OKLCH L 41.7% C 0.137 H 3.0°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).
Color values
| HEX | #842045 |
|---|---|
| RGB | rgb(132, 32, 69) |
| HSL | hsl(338, 61%, 32%) |
| HSV | hsv(338, 76%, 52%) |
| CMYK | cmyk(0%, 75.8%, 47.7%, 48.2%) |
| CIE-LAB | lab(30.33, 44.77, 2.63) |
| CIE-LCH | lch(30.33, 44.84, 3.36°) |
| OKLab | oklab(41.73% 0.1371 0.0072) |
| OKLCH | oklch(41.73% 0.137 3) |
| XYZ | xyz(11.1073, 6.3697, 6.2736) |
| Luminance | 0.0637 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Wine (survey)
#80013F
ΔE00 3.46
Mulberry
#920A4E
ΔE00 3.84
Red Purple
#820747
ΔE00 3.85
Berry
#990F4B
ΔE00 4.03
Purple Red
#990147
ΔE00 4.22
Reddish Purple
#910951
ΔE00 4.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#842045 #20845F
analogous
#842077 #842045 #842D20
triadic
#842045 #458420 #204584
tetradic
#842045 #778420 #20845F #2D2084
square
#842045 #778420 #20845F #2D2084
split-complementary
#842045 #20842D #207784
monochromatic
#210812 #53142B #842045 #B52C5F #D34B7D
Accessibility & contrast
On white
9.24
#842045 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.27
#842045 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #842045
9.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##842045 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##842045 | 1.00 | 9.24 | 2.27 | 9.24 |
| #FFFFFF | 9.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#373B46
Deuteranopia (green-blind)
#524E43
Tritanopia (blue-blind)
#900D30
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #842045; /* rgb */ color: rgb(132, 32, 69); /* oklch */ color: oklch(41.7% 0.137 3.0);
Tailwind
colors: {
custom: {
50: '#ad6578',
500: '#842045',
950: '#000000',
},
}SCSS
$custom: #842045; $custom-light: #ad6578; $custom-dark: #000000;
JSON
{
"hex": "#842045",
"rgb": {
"r": 132,
"g": 32,
"b": 69
},
"hsl": {
"h": 337.8,
"s": 60.976,
"l": 32.157
},
"oklch": {
"l": 0.41725,
"c": 0.1373,
"h": 3
},
"luminance": 0.06368
}Semantic roles & 50–950 ramp
primary
#842045
secondary
#4AB68E
accent
#E4A944
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110608
muted
#807A7B