#9E2F72#9E2F72
#9E2F72 is a mid, vivid pink. Relative luminance 0.105; OKLCH L 49.3% C 0.161 H 347.5°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).
Color values
| HEX | #9E2F72 |
|---|---|
| RGB | rgb(158, 47, 114) |
| HSL | hsl(324, 54%, 40%) |
| HSV | hsv(324, 70%, 62%) |
| CMYK | cmyk(0%, 70.3%, 27.8%, 38%) |
| CIE-LAB | lab(38.76, 51.93, -13.26) |
| CIE-LCH | lch(38.76, 53.59, 345.67°) |
| OKLab | oklab(49.34% 0.1577 -0.0349) |
| OKLCH | oklch(49.34% 0.161 347.5) |
| XYZ | xyz(18.1551, 10.5190, 16.9906) |
| Luminance | 0.1052 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.46
Deep Magenta
#A0025C
ΔE00 5.75
Dark Fuchsia
#9D0759
ΔE00 6.15
Magenta (survey)
#C20078
ΔE00 6.37
Dark Magenta
#960056
ΔE00 6.88
Bruise
#7E4071
ΔE00 7.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E2F72 #2F9E5B
analogous
#922F9E #9E2F72 #9E2F3A
triadic
#9E2F72 #729E2F #2F729E
tetradic
#9E2F72 #9E922F #2F9E5B #2F3A9E
square
#9E2F72 #9E922F #2F9E5B #2F3A9E
split-complementary
#9E2F72 #3A9E2F #2F9E92
monochromatic
#40132E #6F2150 #9E2F72 #C74393 #D572AE
Accessibility & contrast
On white
6.77
#9E2F72 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.10
#9E2F72 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9E2F72
6.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E2F72 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E2F72 | 1.00 | 6.77 | 3.10 | 6.77 |
| #FFFFFF | 6.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E4F74
Deuteranopia (green-blind)
#5E626F
Tritanopia (blue-blind)
#A92B4C
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #9e2f72; /* rgb */ color: rgb(158, 47, 114); /* oklch */ color: oklch(49.3% 0.161 347.5);
Tailwind
colors: {
custom: {
50: '#be719a',
500: '#9e2f72',
950: '#000000',
},
}SCSS
$custom: #9e2f72; $custom-light: #be719a; $custom-dark: #000000;
JSON
{
"hex": "#9e2f72",
"rgb": {
"r": 158,
"g": 47,
"b": 114
},
"hsl": {
"h": 323.784,
"s": 54.146,
"l": 40.196
},
"oklch": {
"l": 0.49337,
"c": 0.16148,
"h": 347.5
},
"luminance": 0.10517
}Semantic roles & 50–950 ramp
primary
#9E2F72
secondary
#6CBD8C
accent
#DE854A
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E