#811248#811248
#811248 is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.2% C 0.150 H 357.8°. Best body text is #FFFFFF at 9.94:1 contrast (WCAG AA passes).
Color values
| HEX | #811248 |
|---|---|
| RGB | rgb(129, 18, 72) |
| HSL | hsl(331, 76%, 29%) |
| HSV | hsv(331, 86%, 51%) |
| CMYK | cmyk(0%, 86%, 44.2%, 49.4%) |
| CIE-LAB | lab(28.30, 48.52, -2.41) |
| CIE-LCH | lch(28.30, 48.58, 357.16°) |
| OKLab | oklab(40.16% 0.1494 -0.0057) |
| OKLCH | oklch(40.16% 0.15 357.8) |
| XYZ | xyz(10.4401, 5.5690, 6.6548) |
| Luminance | 0.0557 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Purple
#820747
ΔE00 0.84
Wine (survey)
#80013F
ΔE00 2.31
Reddish Purple
#910951
ΔE00 3.12
Mulberry
#920A4E
ΔE00 3.23
Merlot
#730039
ΔE00 3.85
Dark Magenta
#960056
ΔE00 4.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#811248 #12814B
analogous
#811280 #811248 #811412
triadic
#811248 #488112 #124881
tetradic
#811248 #808112 #12814B #141281
square
#811248 #808112 #12814B #141281
split-complementary
#811248 #128114 #128081
monochromatic
#1B040F #4B0B2A #811248 #B71966 #E22C84
Accessibility & contrast
On white
9.94
#811248 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.11
#811248 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #811248
9.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##811248 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##811248 | 1.00 | 9.94 | 2.11 | 9.94 |
| #FFFFFF | 9.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D3649
Deuteranopia (green-blind)
#4B4A46
Tritanopia (blue-blind)
#8C002C
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #811248; /* rgb */ color: rgb(129, 18, 72); /* oklch */ color: oklch(40.2% 0.150 357.8);
Tailwind
colors: {
custom: {
50: '#ab5f7a',
500: '#811248',
950: '#000000',
},
}SCSS
$custom: #811248; $custom-light: #ab5f7a; $custom-dark: #000000;
JSON
{
"hex": "#811248",
"rgb": {
"r": 129,
"g": 18,
"b": 72
},
"hsl": {
"h": 330.811,
"s": 75.51,
"l": 28.824
},
"oklch": {
"l": 0.40159,
"c": 0.14953,
"h": 357.8
},
"luminance": 0.05568
}Semantic roles & 50–950 ramp
primary
#811248
secondary
#38B779
accent
#F29636
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110509
muted
#807A7B