#9E254E#9E254E
#9E254E is a mid, vivid pink. Relative luminance 0.091; OKLCH L 47.1% C 0.158 H 5.6°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).
Color values
| HEX | #9E254E |
|---|---|
| RGB | rgb(158, 37, 78) |
| HSL | hsl(340, 62%, 38%) |
| HSV | hsv(340, 77%, 62%) |
| CMYK | cmyk(0%, 76.6%, 50.6%, 38%) |
| CIE-LAB | lab(36.26, 51.61, 5.92) |
| CIE-LCH | lch(36.26, 51.95, 6.54°) |
| OKLab | oklab(47.11% 0.1577 0.0155) |
| OKLCH | oklch(47.11% 0.158 5.6) |
| XYZ | xyz(16.1387, 9.1445, 8.1215) |
| Luminance | 0.0914 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 3.11
Purplish Red
#B0054B
ΔE00 3.64
Purple Red
#990147
ΔE00 3.66
Raspberry (survey)
#B00149
ΔE00 3.88
Violet Red
#A50055
ΔE00 4.09
Cranberry
#9E003A
ΔE00 5.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E254E #259E75
analogous
#9E258A #9E254E #9E3825
triadic
#9E254E #4E9E25 #254E9E
tetradic
#9E254E #8A9E25 #259E75 #38259E
square
#9E254E #8A9E25 #259E75 #38259E
split-complementary
#9E254E #259E38 #258A9E
monochromatic
#3B0E1D #6C1936 #9E254E #CF3167 #DA638B
Accessibility & contrast
On white
7.42
#9E254E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.83
#9E254E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9E254E
7.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E254E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E254E | 1.00 | 7.42 | 2.83 | 7.42 |
| #FFFFFF | 7.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#43464F
Deuteranopia (green-blind)
#635E4B
Tritanopia (blue-blind)
#AC0537
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #9e254e; /* rgb */ color: rgb(158, 37, 78); /* oklch */ color: oklch(47.1% 0.158 5.6);
Tailwind
colors: {
custom: {
50: '#c06b7f',
500: '#9e254e',
950: '#000000',
},
}SCSS
$custom: #9e254e; $custom-light: #c06b7f; $custom-dark: #000000;
JSON
{
"hex": "#9e254e",
"rgb": {
"r": 158,
"g": 37,
"b": 78
},
"hsl": {
"h": 339.669,
"s": 62.051,
"l": 38.235
},
"oklch": {
"l": 0.47107,
"c": 0.15845,
"h": 5.6
},
"luminance": 0.09142
}Semantic roles & 50–950 ramp
primary
#9E254E
secondary
#5FC09F
accent
#E5AE43
background
#FCF6F7
surface
#F8ECEE
border
#D1C7C9
text
#13070A
muted
#827A7C