#9E2F79#9E2F79
#9E2F79 is a mid, vivid pink. Relative luminance 0.107; OKLCH L 49.6% C 0.166 H 343.9°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).
Color values
| HEX | #9E2F79 |
|---|---|
| RGB | rgb(158, 47, 121) |
| HSL | hsl(320, 54%, 40%) |
| HSV | hsv(320, 70%, 62%) |
| CMYK | cmyk(0%, 70.3%, 23.4%, 38%) |
| CIE-LAB | lab(39.04, 52.87, -17.19) |
| CIE-LCH | lch(39.04, 55.59, 341.99°) |
| OKLab | oklab(49.64% 0.1593 -0.0458) |
| OKLCH | oklch(49.64% 0.166 343.9) |
| XYZ | xyz(18.5689, 10.6845, 19.1698) |
| Luminance | 0.1068 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 5.00
Warm Purple
#952E8F
ΔE00 6.10
Light Eggplant
#894585
ΔE00 6.60
Magenta (survey)
#C20078
ΔE00 6.78
Bruise
#7E4071
ΔE00 6.95
Deep Magenta
#A0025C
ΔE00 7.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E2F79 #2F9E54
analogous
#8B2F9E #9E2F79 #9E2F42
triadic
#9E2F79 #799E2F #2F799E
tetradic
#9E2F79 #9E8B2F #2F9E54 #2F429E
square
#9E2F79 #9E8B2F #2F9E54 #2F429E
split-complementary
#9E2F79 #429E2F #2F9E8B
monochromatic
#401331 #6F2155 #9E2F79 #C7439B #D572B4
Accessibility & contrast
On white
6.70
#9E2F79 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.14
#9E2F79 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9E2F79
6.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E2F79 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E2F79 | 1.00 | 6.70 | 3.14 | 6.70 |
| #FFFFFF | 6.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3A507B
Deuteranopia (green-blind)
#5C6376
Tritanopia (blue-blind)
#A82F50
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #9e2f79; /* rgb */ color: rgb(158, 47, 121); /* oklch */ color: oklch(49.6% 0.166 343.9);
Tailwind
colors: {
custom: {
50: '#be719f',
500: '#9e2f79',
950: '#000000',
},
}SCSS
$custom: #9e2f79; $custom-light: #be719f; $custom-dark: #000000;
JSON
{
"hex": "#9e2f79",
"rgb": {
"r": 158,
"g": 47,
"b": 121
},
"hsl": {
"h": 320,
"s": 54.146,
"l": 40.196
},
"oklch": {
"l": 0.49639,
"c": 0.16572,
"h": 343.9
},
"luminance": 0.10683
}Semantic roles & 50–950 ramp
primary
#9E2F79
secondary
#6CBD87
accent
#DE7B4A
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E