#81256E#81256E
#81256E is a dark, vivid pink. Relative luminance 0.071; OKLCH L 43.4% C 0.151 H 337.3°. Best body text is #FFFFFF at 8.67:1 contrast (WCAG AA passes).
Color values
| HEX | #81256E |
|---|---|
| RGB | rgb(129, 37, 110) |
| HSL | hsl(312, 55%, 33%) |
| HSV | hsv(312, 71%, 51%) |
| CMYK | cmyk(0%, 71.3%, 14.7%, 49.4%) |
| CIE-LAB | lab(32.07, 47.26, -21.46) |
| CIE-LCH | lch(32.07, 51.91, 335.58°) |
| OKLab | oklab(43.43% 0.1392 -0.0583) |
| OKLCH | oklch(43.43% 0.151 337.3) |
| XYZ | xyz(12.5295, 7.1172, 15.4627) |
| Luminance | 0.0712 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Darkish Purple
#751973
ΔE00 4.49
Grape
#6C3461
ΔE00 5.83
Rich Purple
#720058
ΔE00 5.94
Bruise
#7E4071
ΔE00 6.01
Purple
#800080
ΔE00 6.12
Velvet
#750851
ΔE00 6.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#81256E #258138
analogous
#662581 #81256E #812540
triadic
#81256E #6E8125 #256E81
tetradic
#81256E #816625 #258138 #254081
square
#81256E #816625 #258138 #254081
split-complementary
#81256E #408125 #258166
monochromatic
#220A1D #511745 #81256E #B13397 #CE53B4
Accessibility & contrast
On white
8.67
#81256E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.42
#81256E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #81256E
8.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##81256E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##81256E | 1.00 | 8.67 | 2.42 | 8.67 |
| #FFFFFF | 8.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#284270
Deuteranopia (green-blind)
#46516C
Tritanopia (blue-blind)
#882A46
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #81256e; /* rgb */ color: rgb(129, 37, 110); /* oklch */ color: oklch(43.4% 0.151 337.3);
Tailwind
colors: {
custom: {
50: '#a96898',
500: '#81256e',
950: '#000000',
},
}SCSS
$custom: #81256e; $custom-light: #a96898; $custom-dark: #000000;
JSON
{
"hex": "#81256e",
"rgb": {
"r": 129,
"g": 37,
"b": 110
},
"hsl": {
"h": 312.391,
"s": 55.422,
"l": 32.549
},
"oklch": {
"l": 0.43429,
"c": 0.15086,
"h": 337.3
},
"luminance": 0.07116
}Semantic roles & 50–950 ramp
primary
#81256E
secondary
#50B264
accent
#DF6849
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10070D
muted
#7F7A7E