#81245F#81245F
#81245F is a dark, vivid pink. Relative luminance 0.068; OKLCH L 42.6% C 0.142 H 345.8°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).
Color values
| HEX | #81245F |
|---|---|
| RGB | rgb(129, 36, 95) |
| HSL | hsl(322, 56%, 32%) |
| HSV | hsv(322, 72%, 51%) |
| CMYK | cmyk(0%, 72.1%, 26.4%, 49.4%) |
| CIE-LAB | lab(31.25, 45.44, -13.11) |
| CIE-LCH | lch(31.25, 47.29, 343.91°) |
| OKLab | oklab(42.6% 0.1375 -0.0348) |
| OKLCH | oklch(42.6% 0.142 345.8) |
| XYZ | xyz(11.7502, 6.7563, 11.5095) |
| Luminance | 0.0675 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Velvet
#750851
ΔE00 4.55
Red Violet
#9E0168
ΔE00 5.50
Dark Magenta
#960056
ΔE00 5.68
Rich Purple
#720058
ΔE00 5.75
Grape
#6C3461
ΔE00 5.79
Reddish Purple
#910951
ΔE00 5.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#81245F #248146
analogous
#742481 #81245F #812431
triadic
#81245F #5F8124 #245F81
tetradic
#81245F #817424 #248146 #243181
square
#81245F #817424 #248146 #243181
split-complementary
#81245F #318124 #248174
monochromatic
#210919 #51173C #81245F #B13182 #CE51A1
Accessibility & contrast
On white
8.93
#81245F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.35
#81245F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #81245F
8.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##81245F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##81245F | 1.00 | 8.93 | 2.35 | 8.93 |
| #FFFFFF | 8.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F3F61
Deuteranopia (green-blind)
#4B4F5D
Tritanopia (blue-blind)
#8A223E
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #81245f; /* rgb */ color: rgb(129, 36, 95); /* oklch */ color: oklch(42.6% 0.142 345.8);
Tailwind
colors: {
custom: {
50: '#a9678c',
500: '#81245f',
950: '#000000',
},
}SCSS
$custom: #81245f; $custom-light: #a9678c; $custom-dark: #000000;
JSON
{
"hex": "#81245f",
"rgb": {
"r": 129,
"g": 36,
"b": 95
},
"hsl": {
"h": 321.935,
"s": 56.364,
"l": 32.353
},
"oklch": {
"l": 0.42602,
"c": 0.14184,
"h": 345.8
},
"luminance": 0.06755
}Semantic roles & 50–950 ramp
primary
#81245F
secondary
#4EB273
accent
#E08048
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D