#812E52#812E52
#812E52 is a dark, vivid pink. Relative luminance 0.072; OKLCH L 43.2% C 0.120 H 356.4°. Best body text is #FFFFFF at 8.59:1 contrast (WCAG AA passes).
Color values
| HEX | #812E52 |
|---|---|
| RGB | rgb(129, 46, 82) |
| HSL | hsl(334, 47%, 34%) |
| HSV | hsv(334, 64%, 51%) |
| CMYK | cmyk(0%, 64.3%, 36.4%, 49.4%) |
| CIE-LAB | lab(32.33, 39.37, -3.04) |
| CIE-LCH | lch(32.33, 39.49, 355.58°) |
| OKLab | oklab(43.24% 0.1202 -0.0075) |
| OKLCH | oklch(43.24% 0.12 356.4) |
| XYZ | xyz(11.5539, 7.2316, 8.7684) |
| Luminance | 0.0723 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Reddish Purple
#910951
ΔE00 5.10
Mulberry
#920A4E
ΔE00 5.16
Red Purple
#820747
ΔE00 5.23
Dark Magenta
#960056
ΔE00 5.90
Berry
#990F4B
ΔE00 6.17
Wine (survey)
#80013F
ΔE00 6.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#812E52 #2E815D
analogous
#812E7C #812E52 #81342E
triadic
#812E52 #52812E #2E5281
tetradic
#812E52 #7C812E #2E815D #342E81
square
#812E52 #7C812E #2E815D #342E81
split-complementary
#812E52 #2E8134 #2E7C81
monochromatic
#270E19 #541E35 #812E52 #AE3E6F #C7628E
Accessibility & contrast
On white
8.59
#812E52 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.45
#812E52 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #812E52
8.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##812E52 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##812E52 | 1.00 | 8.59 | 2.45 | 8.59 |
| #FFFFFF | 8.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3C4253
Deuteranopia (green-blind)
#525250
Tritanopia (blue-blind)
#8B273C
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #812e52; /* rgb */ color: rgb(129, 46, 82); /* oklch */ color: oklch(43.2% 0.120 356.4);
Tailwind
colors: {
custom: {
50: '#a96c82',
500: '#812e52',
950: '#000000',
},
}SCSS
$custom: #812e52; $custom-light: #a96c82; $custom-dark: #000000;
JSON
{
"hex": "#812e52",
"rgb": {
"r": 129,
"g": 46,
"b": 82
},
"hsl": {
"h": 333.976,
"s": 47.429,
"l": 34.314
},
"oklch": {
"l": 0.43238,
"c": 0.12042,
"h": 356.4
},
"luminance": 0.0723
}Semantic roles & 50–950 ramp
primary
#812E52
secondary
#5DAE8B
accent
#D79D51
background
#FAF6F7
surface
#F4ECEE
border
#CEC7C9
text
#10070A
muted
#7F7A7C