#812152#812152
#812152 is a dark, vivid pink. Relative luminance 0.064; OKLCH L 41.8% C 0.138 H 353.6°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).
Color values
| HEX | #812152 |
|---|---|
| RGB | rgb(129, 33, 82) |
| HSL | hsl(329, 59%, 32%) |
| HSV | hsv(329, 74%, 51%) |
| CMYK | cmyk(0%, 74.4%, 36.4%, 49.4%) |
| CIE-LAB | lab(30.32, 44.91, -6.04) |
| CIE-LCH | lch(30.32, 45.32, 352.35°) |
| OKLab | oklab(41.75% 0.1376 -0.0154) |
| OKLCH | oklch(41.75% 0.138 353.6) |
| XYZ | xyz(11.1208, 6.3654, 8.6240) |
| Luminance | 0.0636 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Purple
#820747
ΔE00 3.32
Reddish Purple
#910951
ΔE00 3.60
Mulberry
#920A4E
ΔE00 4.14
Dark Magenta
#960056
ΔE00 4.28
Wine (survey)
#80013F
ΔE00 5.02
Velvet
#750851
ΔE00 5.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#812152 #218150
analogous
#802181 #812152 #812122
triadic
#812152 #528121 #215281
tetradic
#812152 #818021 #218150 #212281
square
#812152 #818021 #218150 #212281
split-complementary
#812152 #228121 #218180
monochromatic
#200814 #501533 #812152 #B22D71 #D14B90
Accessibility & contrast
On white
9.24
#812152 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.27
#812152 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #812152
9.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##812152 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##812152 | 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)
#323C53
Deuteranopia (green-blind)
#4D4E50
Tritanopia (blue-blind)
#8B1836
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #812152; /* rgb */ color: rgb(129, 33, 82); /* oklch */ color: oklch(41.8% 0.138 353.6);
Tailwind
colors: {
custom: {
50: '#aa6582',
500: '#812152',
950: '#000000',
},
}SCSS
$custom: #812152; $custom-light: #aa6582; $custom-dark: #000000;
JSON
{
"hex": "#812152",
"rgb": {
"r": 129,
"g": 33,
"b": 82
},
"hsl": {
"h": 329.375,
"s": 59.259,
"l": 31.765
},
"oklch": {
"l": 0.41753,
"c": 0.13846,
"h": 353.6
},
"luminance": 0.06364
}Semantic roles & 50–950 ramp
primary
#812152
secondary
#4AB47E
accent
#E29245
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C