#9E2F4E#9E2F4E
#9E2F4E is a mid, vivid pink. Relative luminance 0.099; OKLCH L 48.1% C 0.147 H 7.9°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).
Color values
| HEX | #9E2F4E |
|---|---|
| RGB | rgb(158, 47, 78) |
| HSL | hsl(343, 54%, 40%) |
| HSV | hsv(343, 70%, 62%) |
| CMYK | cmyk(0%, 70.3%, 50.6%, 38%) |
| CIE-LAB | lab(37.58, 47.94, 7.78) |
| CIE-LCH | lch(37.58, 48.57, 9.22°) |
| OKLab | oklab(48.08% 0.1459 0.0202) |
| OKLCH | oklch(48.08% 0.147 7.9) |
| XYZ | xyz(16.4936, 9.8544, 8.2398) |
| Luminance | 0.0985 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 4.23
Raspberry (survey)
#B00149
ΔE00 4.38
Light Burgundy
#A8415B
ΔE00 4.52
Berry
#990F4B
ΔE00 5.00
Purple Red
#990147
ΔE00 5.45
Cranberry
#9E003A
ΔE00 5.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E2F4E #2F9E7F
analogous
#9E2F85 #9E2F4E #9E472F
triadic
#9E2F4E #4E9E2F #2F4E9E
tetradic
#9E2F4E #859E2F #2F9E7F #472F9E
square
#9E2F4E #859E2F #2F9E7F #472F9E
split-complementary
#9E2F4E #2F9E47 #2F859E
monochromatic
#40131F #6F2137 #9E2F4E #C74368 #D5728E
Accessibility & contrast
On white
7.07
#9E2F4E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.97
#9E2F4E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9E2F4E
7.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E2F4E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E2F4E | 1.00 | 7.07 | 2.97 | 7.07 |
| #FFFFFF | 7.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#494A4F
Deuteranopia (green-blind)
#66614B
Tritanopia (blue-blind)
#AC1B3B
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #9e2f4e; /* rgb */ color: rgb(158, 47, 78); /* oklch */ color: oklch(48.1% 0.147 7.9);
Tailwind
colors: {
custom: {
50: '#c0707f',
500: '#9e2f4e',
950: '#000000',
},
}SCSS
$custom: #9e2f4e; $custom-light: #c0707f; $custom-dark: #000000;
JSON
{
"hex": "#9e2f4e",
"rgb": {
"r": 158,
"g": 47,
"b": 78
},
"hsl": {
"h": 343.243,
"s": 54.146,
"l": 40.196
},
"oklch": {
"l": 0.48083,
"c": 0.14731,
"h": 7.9
},
"luminance": 0.09852
}Semantic roles & 50–950 ramp
primary
#9E2F4E
secondary
#6CBDA6
accent
#DEB44A
background
#FCF7F7
surface
#F8EDEE
border
#D1C8C9
text
#13080A
muted
#827B7C