#812151#812151
#812151 is a dark, vivid pink. Relative luminance 0.063; OKLCH L 41.7% C 0.138 H 354.3°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).
Color values
| HEX | #812151 |
|---|---|
| RGB | rgb(129, 33, 81) |
| HSL | hsl(330, 59%, 32%) |
| HSV | hsv(330, 74%, 51%) |
| CMYK | cmyk(0%, 74.4%, 37.2%, 49.4%) |
| CIE-LAB | lab(30.28, 44.79, -5.43) |
| CIE-LCH | lch(30.28, 45.12, 353.08°) |
| OKLab | oklab(41.71% 0.1373 -0.0138) |
| OKLCH | oklch(41.71% 0.138 354.3) |
| XYZ | xyz(11.0830, 6.3502, 8.4251) |
| Luminance | 0.0635 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Purple
#820747
ΔE00 3.17
Reddish Purple
#910951
ΔE00 3.52
Mulberry
#920A4E
ΔE00 3.99
Dark Magenta
#960056
ΔE00 4.29
Wine (survey)
#80013F
ΔE00 4.80
Velvet
#750851
ΔE00 5.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#812151 #218151
analogous
#812181 #812151 #812121
triadic
#812151 #518121 #215181
tetradic
#812151 #818121 #218151 #212181
square
#812151 #818121 #218151 #212181
split-complementary
#812151 #218121 #218181
monochromatic
#200814 #501532 #812151 #B22D70 #D14B8E
Accessibility & contrast
On white
9.25
#812151 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.27
#812151 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #812151
9.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##812151 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##812151 | 1.00 | 9.25 | 2.27 | 9.25 |
| #FFFFFF | 9.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#333C52
Deuteranopia (green-blind)
#4D4E4F
Tritanopia (blue-blind)
#8B1836
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #812151; /* rgb */ color: rgb(129, 33, 81); /* oklch */ color: oklch(41.7% 0.138 354.3);
Tailwind
colors: {
custom: {
50: '#aa6581',
500: '#812151',
950: '#000000',
},
}SCSS
$custom: #812151; $custom-light: #aa6581; $custom-dark: #000000;
JSON
{
"hex": "#812151",
"rgb": {
"r": 129,
"g": 33,
"b": 81
},
"hsl": {
"h": 330,
"s": 59.259,
"l": 31.765
},
"oklch": {
"l": 0.41714,
"c": 0.13798,
"h": 354.3
},
"luminance": 0.06349
}Semantic roles & 50–950 ramp
primary
#812151
secondary
#4AB47F
accent
#E29445
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C