#8A1F47#8A1F47
#8A1F47 is a dark, vivid pink. Relative luminance 0.068; OKLCH L 42.8% C 0.145 H 3.3°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).
Color values
| HEX | #8A1F47 |
|---|---|
| RGB | rgb(138, 31, 71) |
| HSL | hsl(338, 63%, 33%) |
| HSV | hsv(338, 78%, 54%) |
| CMYK | cmyk(0%, 77.5%, 48.6%, 45.9%) |
| CIE-LAB | lab(31.44, 47.11, 3.06) |
| CIE-LCH | lch(31.44, 47.21, 3.72°) |
| OKLab | oklab(42.78% 0.1443 0.0083) |
| OKLCH | oklch(42.78% 0.145 3.3) |
| XYZ | xyz(12.1096, 6.8398, 6.6426) |
| Luminance | 0.0684 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 2.93
Purple Red
#990147
ΔE00 3.21
Mulberry
#920A4E
ΔE00 3.23
Wine (survey)
#80013F
ΔE00 3.96
Reddish Purple
#910951
ΔE00 4.04
Red Purple
#820747
ΔE00 4.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A1F47 #1F8A62
analogous
#8A1F7C #8A1F47 #8A2C1F
triadic
#8A1F47 #478A1F #1F478A
tetradic
#8A1F47 #7C8A1F #1F8A62 #2C1F8A
square
#8A1F47 #7C8A1F #1F8A62 #2C1F8A
split-complementary
#8A1F47 #1F8A2C #1F7C8A
monochromatic
#260914 #58142D #8A1F47 #BC2A61 #D74C80
Accessibility & contrast
On white
8.87
#8A1F47 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.37
#8A1F47 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A1F47
8.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A1F47 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A1F47 | 1.00 | 8.87 | 2.37 | 8.87 |
| #FFFFFF | 8.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#383D48
Deuteranopia (green-blind)
#555244
Tritanopia (blue-blind)
#960730
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #8a1f47; /* rgb */ color: rgb(138, 31, 71); /* oklch */ color: oklch(42.8% 0.145 3.3);
Tailwind
colors: {
custom: {
50: '#b1657a',
500: '#8a1f47',
950: '#000000',
},
}SCSS
$custom: #8a1f47; $custom-light: #b1657a; $custom-dark: #000000;
JSON
{
"hex": "#8a1f47",
"rgb": {
"r": 138,
"g": 31,
"b": 71
},
"hsl": {
"h": 337.57,
"s": 63.314,
"l": 33.137
},
"oklch": {
"l": 0.4278,
"c": 0.14457,
"h": 3.3
},
"luminance": 0.06838
}Semantic roles & 50–950 ramp
primary
#8A1F47
secondary
#4BBA90
accent
#E6A941
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120609
muted
#817A7B