#81174F#81174F
#81174F is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.8% C 0.148 H 354.1°. Best body text is #FFFFFF at 9.68:1 contrast (WCAG AA passes).
Color values
| HEX | #81174F |
|---|---|
| RGB | rgb(129, 23, 79) |
| HSL | hsl(328, 70%, 30%) |
| HSV | hsv(328, 82%, 51%) |
| CMYK | cmyk(0%, 82.2%, 38.8%, 49.4%) |
| CIE-LAB | lab(29.02, 47.91, -5.99) |
| CIE-LCH | lch(29.02, 48.29, 352.87°) |
| OKLab | oklab(40.77% 0.1473 -0.0152) |
| OKLCH | oklch(40.77% 0.148 354.1) |
| XYZ | xyz(10.7717, 5.8458, 7.9567) |
| Luminance | 0.0584 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Purple
#820747
ΔE00 2.21
Reddish Purple
#910951
ΔE00 3.17
Mulberry
#920A4E
ΔE00 3.78
Dark Magenta
#960056
ΔE00 3.91
Wine (survey)
#80013F
ΔE00 4.14
Velvet
#750851
ΔE00 4.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#81174F #178149
analogous
#7E1781 #81174F #81171A
triadic
#81174F #4F8117 #174F81
tetradic
#81174F #817E17 #178149 #171A81
square
#81174F #817E17 #178149 #171A81
split-complementary
#81174F #1A8117 #17817E
monochromatic
#1A0510 #4D0E2F #81174F #B5206F #DB378E
Accessibility & contrast
On white
9.68
#81174F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.17
#81174F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #81174F
9.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##81174F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##81174F | 1.00 | 9.68 | 2.17 | 9.68 |
| #FFFFFF | 9.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D3850
Deuteranopia (green-blind)
#4B4B4D
Tritanopia (blue-blind)
#8C0831
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #81174f; /* rgb */ color: rgb(129, 23, 79); /* oklch */ color: oklch(40.8% 0.148 354.1);
Tailwind
colors: {
custom: {
50: '#aa6180',
500: '#81174f',
950: '#000000',
},
}SCSS
$custom: #81174f; $custom-light: #aa6180; $custom-dark: #000000;
JSON
{
"hex": "#81174f",
"rgb": {
"r": 129,
"g": 23,
"b": 79
},
"hsl": {
"h": 328.302,
"s": 69.737,
"l": 29.804
},
"oklch": {
"l": 0.40768,
"c": 0.1481,
"h": 354.1
},
"luminance": 0.05844
}Semantic roles & 50–950 ramp
primary
#81174F
secondary
#3EB577
accent
#ED8F3B
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#11060A
muted
#807A7C