#9E2F4F#9E2F4F
#9E2F4F is a mid, vivid pink. Relative luminance 0.099; OKLCH L 48.1% C 0.147 H 7.3°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).
Color values
| HEX | #9E2F4F |
|---|---|
| RGB | rgb(158, 47, 79) |
| HSL | hsl(343, 54%, 40%) |
| HSV | hsv(343, 70%, 62%) |
| CMYK | cmyk(0%, 70.3%, 50%, 38%) |
| CIE-LAB | lab(37.61, 48.03, 7.18) |
| CIE-LCH | lch(37.61, 48.56, 8.50°) |
| OKLab | oklab(48.11% 0.1463 0.0187) |
| OKLCH | oklch(48.11% 0.148 7.3) |
| XYZ | xyz(16.5297, 9.8688, 8.4301) |
| Luminance | 0.0987 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 4.25
Raspberry (survey)
#B00149
ΔE00 4.43
Light Burgundy
#A8415B
ΔE00 4.50
Berry
#990F4B
ΔE00 4.85
Purple Red
#990147
ΔE00 5.35
Cranberry
#9E003A
ΔE00 5.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E2F4F #2F9E7E
analogous
#9E2F86 #9E2F4F #9E472F
triadic
#9E2F4F #4F9E2F #2F4F9E
tetradic
#9E2F4F #869E2F #2F9E7E #472F9E
square
#9E2F4F #869E2F #2F9E7E #472F9E
split-complementary
#9E2F4F #2F9E47 #2F869E
monochromatic
#401320 #6F2137 #9E2F4F #C74369 #D5728F
Accessibility & contrast
On white
7.06
#9E2F4F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.97
#9E2F4F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9E2F4F
7.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E2F4F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E2F4F | 1.00 | 7.06 | 2.97 | 7.06 |
| #FFFFFF | 7.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#494A50
Deuteranopia (green-blind)
#66614C
Tritanopia (blue-blind)
#AC1B3C
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #9e2f4f; /* rgb */ color: rgb(158, 47, 79); /* oklch */ color: oklch(48.1% 0.147 7.3);
Tailwind
colors: {
custom: {
50: '#c07080',
500: '#9e2f4f',
950: '#000000',
},
}SCSS
$custom: #9e2f4f; $custom-light: #c07080; $custom-dark: #000000;
JSON
{
"hex": "#9e2f4f",
"rgb": {
"r": 158,
"g": 47,
"b": 79
},
"hsl": {
"h": 342.703,
"s": 54.146,
"l": 40.196
},
"oklch": {
"l": 0.4811,
"c": 0.1475,
"h": 7.3
},
"luminance": 0.09867
}Semantic roles & 50–950 ramp
primary
#9E2F4F
secondary
#6CBDA6
accent
#DEB34A
background
#FCF7F7
surface
#F8EDEE
border
#D1C8C9
text
#13080A
muted
#827B7C