#9E2F56#9E2F56
#9E2F56 is a mid, vivid pink. Relative luminance 0.100; OKLCH L 48.3% C 0.149 H 3.2°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).
Color values
| HEX | #9E2F56 |
|---|---|
| RGB | rgb(158, 47, 86) |
| HSL | hsl(339, 54%, 40%) |
| HSV | hsv(339, 70%, 62%) |
| CMYK | cmyk(0%, 70.3%, 45.6%, 38%) |
| CIE-LAB | lab(37.80, 48.70, 3.00) |
| CIE-LCH | lch(37.80, 48.79, 3.52°) |
| OKLab | oklab(48.32% 0.149 0.0083) |
| OKLCH | oklch(48.32% 0.149 3.2) |
| XYZ | xyz(16.7981, 9.9761, 9.8433) |
| Luminance | 0.0997 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 4.34
Violet Red
#A50055
ΔE00 4.45
Light Burgundy
#A8415B
ΔE00 4.93
Purplish Red
#B0054B
ΔE00 5.00
Purple Red
#990147
ΔE00 5.20
Raspberry (survey)
#B00149
ΔE00 5.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E2F56 #2F9E77
analogous
#9E2F8D #9E2F56 #9E402F
triadic
#9E2F56 #569E2F #2F569E
tetradic
#9E2F56 #8D9E2F #2F9E77 #402F9E
square
#9E2F56 #8D9E2F #2F9E77 #402F9E
split-complementary
#9E2F56 #2F9E40 #2F8D9E
monochromatic
#401323 #6F213C #9E2F56 #C74371 #D57295
Accessibility & contrast
On white
7.01
#9E2F56 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.99
#9E2F56 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9E2F56
7.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E2F56 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E2F56 | 1.00 | 7.01 | 2.99 | 7.01 |
| #FFFFFF | 7.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#474B57
Deuteranopia (green-blind)
#656153
Tritanopia (blue-blind)
#AC1F3F
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #9e2f56; /* rgb */ color: rgb(158, 47, 86); /* oklch */ color: oklch(48.3% 0.149 3.2);
Tailwind
colors: {
custom: {
50: '#bf7085',
500: '#9e2f56',
950: '#000000',
},
}SCSS
$custom: #9e2f56; $custom-light: #bf7085; $custom-dark: #000000;
JSON
{
"hex": "#9e2f56",
"rgb": {
"r": 158,
"g": 47,
"b": 86
},
"hsl": {
"h": 338.919,
"s": 54.146,
"l": 40.196
},
"oklch": {
"l": 0.48317,
"c": 0.14918,
"h": 3.2
},
"luminance": 0.09974
}Semantic roles & 50–950 ramp
primary
#9E2F56
secondary
#6CBDA0
accent
#DEAA4A
background
#FCF7F8
surface
#F8EDEF
border
#D1C8CA
text
#13080B
muted
#827B7C