#812840#812840
#812840 is a dark, vivid pink. Relative luminance 0.066; OKLCH L 41.9% C 0.123 H 7.9°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).
Color values
| HEX | #812840 |
|---|---|
| RGB | rgb(129, 40, 64) |
| HSL | hsl(344, 53%, 33%) |
| HSV | hsv(344, 69%, 51%) |
| CMYK | cmyk(0%, 69%, 50.4%, 49.4%) |
| CIE-LAB | lab(30.77, 40.10, 6.49) |
| CIE-LCH | lch(30.77, 40.62, 9.20°) |
| OKLab | oklab(41.9% 0.122 0.0169) |
| OKLCH | oklch(41.9% 0.123 7.9) |
| XYZ | xyz(10.7383, 6.5562, 5.5495) |
| Luminance | 0.0655 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Wine
#722F37
ΔE00 4.93
Red Wine
#8C0034
ΔE00 4.95
Wine (survey)
#80013F
ΔE00 5.66
Bordeaux
#7B002C
ΔE00 5.67
Berry
#990F4B
ΔE00 5.74
Purple Red
#990147
ΔE00 5.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#812840 #288169
analogous
#81286C #812840 #813C28
triadic
#812840 #408128 #284081
tetradic
#812840 #6C8128 #288169 #3C2881
square
#812840 #6C8128 #288169 #3C2881
split-complementary
#812840 #28813C #286C81
monochromatic
#240B12 #521A29 #812840 #B03657 #CB5877
Accessibility & contrast
On white
9.09
#812840 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.31
#812840 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #812840
9.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##812840 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##812840 | 1.00 | 9.09 | 2.31 | 9.09 |
| #FFFFFF | 9.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3C3D41
Deuteranopia (green-blind)
#534F3E
Tritanopia (blue-blind)
#8D1A31
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #812840; /* rgb */ color: rgb(129, 40, 64); /* oklch */ color: oklch(41.9% 0.123 7.9);
Tailwind
colors: {
custom: {
50: '#aa6874',
500: '#812840',
950: '#000000',
},
}SCSS
$custom: #812840; $custom-light: #aa6874; $custom-dark: #000000;
JSON
{
"hex": "#812840",
"rgb": {
"r": 129,
"g": 40,
"b": 64
},
"hsl": {
"h": 343.82,
"s": 52.663,
"l": 33.137
},
"oklch": {
"l": 0.41904,
"c": 0.12318,
"h": 7.9
},
"luminance": 0.06555
}Semantic roles & 50–950 ramp
primary
#812840
secondary
#54B098
accent
#DCB54C
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110608
muted
#807A7B