#81225E#81225E
#81225E is a dark, vivid pink. Relative luminance 0.066; OKLCH L 42.4% C 0.144 H 346.2°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).
Color values
| HEX | #81225E |
|---|---|
| RGB | rgb(129, 34, 94) |
| HSL | hsl(322, 58%, 32%) |
| HSV | hsv(322, 74%, 51%) |
| CMYK | cmyk(0%, 73.6%, 27.1%, 49.4%) |
| CIE-LAB | lab(30.93, 46.07, -12.95) |
| CIE-LCH | lch(30.93, 47.86, 344.31°) |
| OKLab | oklab(42.36% 0.1397 -0.0343) |
| OKLCH | oklch(42.36% 0.144 346.2) |
| XYZ | xyz(11.6462, 6.6206, 11.2521) |
| Luminance | 0.0662 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Velvet
#750851
ΔE00 4.25
Red Violet
#9E0168
ΔE00 5.43
Dark Magenta
#960056
ΔE00 5.49
Rich Purple
#720058
ΔE00 5.54
Reddish Purple
#910951
ΔE00 5.62
Red Purple
#820747
ΔE00 5.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#81225E #228145
analogous
#752281 #81225E #81222F
triadic
#81225E #5E8122 #225E81
tetradic
#81225E #817522 #228145 #222F81
square
#81225E #817522 #228145 #222F81
split-complementary
#81225E #2F8122 #228175
monochromatic
#200817 #51153B #81225E #B12F81 #D04DA0
Accessibility & contrast
On white
9.04
#81225E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.32
#81225E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #81225E
9.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##81225E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##81225E | 1.00 | 9.04 | 2.32 | 9.04 |
| #FFFFFF | 9.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E3E60
Deuteranopia (green-blind)
#4A4F5C
Tritanopia (blue-blind)
#8A203D
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #81225e; /* rgb */ color: rgb(129, 34, 94); /* oklch */ color: oklch(42.4% 0.144 346.2);
Tailwind
colors: {
custom: {
50: '#a9668b',
500: '#81225e',
950: '#000000',
},
}SCSS
$custom: #81225e; $custom-light: #a9668b; $custom-dark: #000000;
JSON
{
"hex": "#81225e",
"rgb": {
"r": 129,
"g": 34,
"b": 94
},
"hsl": {
"h": 322.105,
"s": 58.282,
"l": 31.961
},
"oklch": {
"l": 0.42356,
"c": 0.14382,
"h": 346.2
},
"luminance": 0.06619
}Semantic roles & 50–950 ramp
primary
#81225E
secondary
#4BB372
accent
#E17F46
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D