#9E204F#9E204F
#9E204F is a mid, vivid pink. Relative luminance 0.089; OKLCH L 46.7% C 0.164 H 4.2°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).
Color values
| HEX | #9E204F |
|---|---|
| RGB | rgb(158, 32, 79) |
| HSL | hsl(338, 66%, 37%) |
| HSV | hsv(338, 80%, 62%) |
| CMYK | cmyk(0%, 79.7%, 50%, 38%) |
| CIE-LAB | lab(35.73, 53.27, 4.51) |
| CIE-LCH | lch(35.73, 53.46, 4.84°) |
| OKLab | oklab(46.73% 0.1631 0.012) |
| OKLCH | oklch(46.73% 0.164 4.2) |
| XYZ | xyz(16.0298, 8.8689, 8.2634) |
| Luminance | 0.0887 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 2.28
Purple Red
#990147
ΔE00 2.97
Violet Red
#A50055
ΔE00 3.15
Purplish Red
#B0054B
ΔE00 3.84
Raspberry (survey)
#B00149
ΔE00 4.13
Mulberry
#920A4E
ΔE00 4.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E204F #209E6F
analogous
#9E208E #9E204F #9E3020
triadic
#9E204F #4F9E20 #204F9E
tetradic
#9E204F #8E9E20 #209E6F #30209E
square
#9E204F #8E9E20 #209E6F #30209E
split-complementary
#9E204F #209E30 #208E9E
monochromatic
#380B1C #6B1636 #9E204F #D12A68 #DE5B8C
Accessibility & contrast
On white
7.57
#9E204F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.77
#9E204F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9E204F
7.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E204F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E204F | 1.00 | 7.57 | 2.77 | 7.57 |
| #FFFFFF | 7.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#404450
Deuteranopia (green-blind)
#615D4C
Tritanopia (blue-blind)
#AC0035
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #9e204f; /* rgb */ color: rgb(158, 32, 79); /* oklch */ color: oklch(46.7% 0.164 4.2);
Tailwind
colors: {
custom: {
50: '#c06980',
500: '#9e204f',
950: '#000000',
},
}SCSS
$custom: #9e204f; $custom-light: #c06980; $custom-dark: #000000;
JSON
{
"hex": "#9e204f",
"rgb": {
"r": 158,
"g": 32,
"b": 79
},
"hsl": {
"h": 337.619,
"s": 66.316,
"l": 37.255
},
"oklch": {
"l": 0.46726,
"c": 0.16358,
"h": 4.2
},
"luminance": 0.08867
}Semantic roles & 50–950 ramp
primary
#9E204F
secondary
#58C29A
accent
#E9AA3F
background
#FCF6F7
surface
#F8ECEE
border
#D1C7C9
text
#13070A
muted
#827A7C