#81246E#81246E
#81246E is a dark, vivid pink. Relative luminance 0.071; OKLCH L 43.3% C 0.152 H 337.2°. Best body text is #FFFFFF at 8.71:1 contrast (WCAG AA passes).
Color values
| HEX | #81246E |
|---|---|
| RGB | rgb(129, 36, 110) |
| HSL | hsl(312, 56%, 32%) |
| HSV | hsv(312, 72%, 51%) |
| CMYK | cmyk(0%, 72.1%, 14.7%, 49.4%) |
| CIE-LAB | lab(31.93, 47.65, -21.68) |
| CIE-LCH | lch(31.93, 52.35, 335.54°) |
| OKLab | oklab(43.33% 0.1403 -0.0589) |
| OKLCH | oklch(43.33% 0.152 337.2) |
| XYZ | xyz(12.4988, 7.0558, 15.4525) |
| Luminance | 0.0706 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Darkish Purple
#751973
ΔE00 4.37
Rich Purple
#720058
ΔE00 5.83
Grape
#6C3461
ΔE00 5.94
Purple
#800080
ΔE00 5.99
Bruise
#7E4071
ΔE00 6.18
Velvet
#750851
ΔE00 6.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#81246E #248137
analogous
#662481 #81246E #812440
triadic
#81246E #6E8124 #246E81
tetradic
#81246E #816624 #248137 #244081
square
#81246E #816624 #248137 #244081
split-complementary
#81246E #408124 #248166
monochromatic
#21091C #511745 #81246E #B13197 #CE51B5
Accessibility & contrast
On white
8.71
#81246E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.41
#81246E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #81246E
8.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##81246E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##81246E | 1.00 | 8.71 | 2.41 | 8.71 |
| #FFFFFF | 8.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#274270
Deuteranopia (green-blind)
#45506C
Tritanopia (blue-blind)
#882946
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #81246e; /* rgb */ color: rgb(129, 36, 110); /* oklch */ color: oklch(43.3% 0.152 337.2);
Tailwind
colors: {
custom: {
50: '#a96898',
500: '#81246e',
950: '#000000',
},
}SCSS
$custom: #81246e; $custom-light: #a96898; $custom-dark: #000000;
JSON
{
"hex": "#81246e",
"rgb": {
"r": 129,
"g": 36,
"b": 110
},
"hsl": {
"h": 312.258,
"s": 56.364,
"l": 32.353
},
"oklch": {
"l": 0.43328,
"c": 0.15216,
"h": 337.2
},
"luminance": 0.07055
}Semantic roles & 50–950 ramp
primary
#81246E
secondary
#4EB263
accent
#E06748
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10070D
muted
#7F7A7E