#8D1F48#8D1F48
#8D1F48 is a dark, vivid pink. Relative luminance 0.071; OKLCH L 43.4% C 0.148 H 3.5°. Best body text is #FFFFFF at 8.67:1 contrast (WCAG AA passes).
Color values
| HEX | #8D1F48 |
|---|---|
| RGB | rgb(141, 31, 72) |
| HSL | hsl(338, 64%, 34%) |
| HSV | hsv(338, 78%, 55%) |
| CMYK | cmyk(0%, 78%, 48.9%, 44.7%) |
| CIE-LAB | lab(32.06, 48.09, 3.37) |
| CIE-LCH | lch(32.06, 48.21, 4.01°) |
| OKLab | oklab(43.36% 0.1473 0.0091) |
| OKLCH | oklch(43.36% 0.148 3.5) |
| XYZ | xyz(12.6453, 7.1123, 6.8366) |
| Luminance | 0.0711 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 2.44
Purple Red
#990147
ΔE00 2.80
Mulberry
#920A4E
ΔE00 3.15
Reddish Purple
#910951
ΔE00 4.03
Wine (survey)
#80013F
ΔE00 4.38
Red Purple
#820747
ΔE00 4.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D1F48 #1F8D64
analogous
#8D1F7F #8D1F48 #8D2D1F
triadic
#8D1F48 #488D1F #1F488D
tetradic
#8D1F48 #7F8D1F #1F8D64 #2D1F8D
square
#8D1F48 #7F8D1F #1F8D64 #2D1F8D
split-complementary
#8D1F48 #1F8D2D #1F7F8D
monochromatic
#290915 #5B142E #8D1F48 #BF2A62 #D84E82
Accessibility & contrast
On white
8.67
#8D1F48 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.42
#8D1F48 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8D1F48
8.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D1F48 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8D1F48 | 1.00 | 8.67 | 2.42 | 8.67 |
| #FFFFFF | 8.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3A3E49
Deuteranopia (green-blind)
#575345
Tritanopia (blue-blind)
#9A0531
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #8d1f48; /* rgb */ color: rgb(141, 31, 72); /* oklch */ color: oklch(43.4% 0.148 3.5);
Tailwind
colors: {
custom: {
50: '#b4667a',
500: '#8d1f48',
950: '#000000',
},
}SCSS
$custom: #8d1f48; $custom-light: #b4667a; $custom-dark: #000000;
JSON
{
"hex": "#8d1f48",
"rgb": {
"r": 141,
"g": 31,
"b": 72
},
"hsl": {
"h": 337.636,
"s": 63.953,
"l": 33.725
},
"oklch": {
"l": 0.43355,
"c": 0.14758,
"h": 3.5
},
"luminance": 0.07111
}Semantic roles & 50–950 ramp
primary
#8D1F48
secondary
#4DBB92
accent
#E7A941
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120609
muted
#817A7B