#9E234D#9E234D
#9E234D is a mid, vivid pink. Relative luminance 0.090; OKLCH L 46.9% C 0.160 H 5.8°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).
Color values
| HEX | #9E234D |
|---|---|
| RGB | rgb(158, 35, 77) |
| HSL | hsl(340, 64%, 38%) |
| HSV | hsv(340, 78%, 62%) |
| CMYK | cmyk(0%, 77.8%, 51.3%, 38%) |
| CIE-LAB | lab(36.00, 52.18, 6.19) |
| CIE-LCH | lch(36.00, 52.54, 6.77°) |
| OKLab | oklab(46.91% 0.1594 0.0162) |
| OKLCH | oklch(46.91% 0.16 5.8) |
| XYZ | xyz(16.0426, 9.0092, 7.9139) |
| Luminance | 0.0901 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 2.94
Purple Red
#990147
ΔE00 3.42
Purplish Red
#B0054B
ΔE00 3.53
Raspberry (survey)
#B00149
ΔE00 3.74
Violet Red
#A50055
ΔE00 4.04
Cranberry
#9E003A
ΔE00 4.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E234D #239E74
analogous
#9E238B #9E234D #9E3623
triadic
#9E234D #4D9E23 #234D9E
tetradic
#9E234D #8B9E23 #239E74 #36239E
square
#9E234D #8B9E23 #239E74 #36239E
split-complementary
#9E234D #239E36 #238B9E
monochromatic
#3A0D1C #6C1835 #9E234D #D02E65 #DC608A
Accessibility & contrast
On white
7.50
#9E234D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.80
#9E234D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9E234D
7.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E234D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E234D | 1.00 | 7.50 | 2.80 | 7.50 |
| #FFFFFF | 7.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#42454E
Deuteranopia (green-blind)
#625D4A
Tritanopia (blue-blind)
#AC0035
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #9e234d; /* rgb */ color: rgb(158, 35, 77); /* oklch */ color: oklch(46.9% 0.160 5.8);
Tailwind
colors: {
custom: {
50: '#c06a7e',
500: '#9e234d',
950: '#000000',
},
}SCSS
$custom: #9e234d; $custom-light: #c06a7e; $custom-dark: #000000;
JSON
{
"hex": "#9e234d",
"rgb": {
"r": 158,
"g": 35,
"b": 77
},
"hsl": {
"h": 339.512,
"s": 63.731,
"l": 37.843
},
"oklch": {
"l": 0.46908,
"c": 0.16023,
"h": 5.8
},
"luminance": 0.09007
}Semantic roles & 50–950 ramp
primary
#9E234D
secondary
#5CC19E
accent
#E7AE41
background
#FCF6F7
surface
#F8ECEE
border
#D1C7C9
text
#130709
muted
#827A7B