#811F40#811F40
#811F40 is a dark, vivid pink. Relative luminance 0.060; OKLCH L 40.9% C 0.134 H 5.2°. Best body text is #FFFFFF at 9.53:1 contrast (WCAG AA passes).
Color values
| HEX | #811F40 |
|---|---|
| RGB | rgb(129, 31, 64) |
| HSL | hsl(340, 61%, 31%) |
| HSV | hsv(340, 76%, 51%) |
| CMYK | cmyk(0%, 76%, 50.4%, 49.4%) |
| CIE-LAB | lab(29.46, 43.73, 4.63) |
| CIE-LCH | lch(29.46, 43.98, 6.04°) |
| OKLab | oklab(40.93% 0.1337 0.0122) |
| OKLCH | oklch(40.93% 0.134 5.2) |
| XYZ | xyz(10.4695, 6.0187, 5.4599) |
| Luminance | 0.0602 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Wine (survey)
#80013F
ΔE00 3.64
Red Purple
#820747
ΔE00 4.62
Red Wine
#8C0034
ΔE00 4.62
Purple Red
#990147
ΔE00 4.75
Berry
#990F4B
ΔE00 4.81
Mulberry
#920A4E
ΔE00 4.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#811F40 #1F8160
analogous
#811F71 #811F40 #812F1F
triadic
#811F40 #40811F #1F4081
tetradic
#811F40 #71811F #1F8160 #2F1F81
square
#811F40 #71811F #1F8160 #2F1F81
split-complementary
#811F40 #1F812F #1F7181
monochromatic
#1E070F #501328 #811F40 #B22B58 #D34776
Accessibility & contrast
On white
9.53
#811F40 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.20
#811F40 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #811F40
9.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##811F40 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##811F40 | 1.00 | 9.53 | 2.20 | 9.53 |
| #FFFFFF | 9.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#363941
Deuteranopia (green-blind)
#504C3E
Tritanopia (blue-blind)
#8D0A2D
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #811f40; /* rgb */ color: rgb(129, 31, 64); /* oklch */ color: oklch(40.9% 0.134 5.2);
Tailwind
colors: {
custom: {
50: '#ab6474',
500: '#811f40',
950: '#000000',
},
}SCSS
$custom: #811f40; $custom-light: #ab6474; $custom-dark: #000000;
JSON
{
"hex": "#811f40",
"rgb": {
"r": 129,
"g": 31,
"b": 64
},
"hsl": {
"h": 339.796,
"s": 61.25,
"l": 31.373
},
"oklch": {
"l": 0.40929,
"c": 0.13421,
"h": 5.2
},
"luminance": 0.06017
}Semantic roles & 50–950 ramp
primary
#811F40
secondary
#48B490
accent
#E4AE43
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110608
muted
#807A7B