#9E2F71#9E2F71
#9E2F71 is a mid, vivid pink. Relative luminance 0.105; OKLCH L 49.3% C 0.161 H 348.0°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).
Color values
| HEX | #9E2F71 |
|---|---|
| RGB | rgb(158, 47, 113) |
| HSL | hsl(324, 54%, 40%) |
| HSV | hsv(324, 70%, 62%) |
| CMYK | cmyk(0%, 70.3%, 28.5%, 38%) |
| CIE-LAB | lab(38.72, 51.80, -12.70) |
| CIE-LCH | lch(38.72, 53.33, 346.23°) |
| OKLab | oklab(49.3% 0.1574 -0.0334) |
| OKLCH | oklch(49.3% 0.161 348) |
| XYZ | xyz(18.0985, 10.4963, 16.6924) |
| Luminance | 0.1049 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.43
Deep Magenta
#A0025C
ΔE00 5.58
Dark Fuchsia
#9D0759
ΔE00 5.97
Magenta (survey)
#C20078
ΔE00 6.34
Dark Magenta
#960056
ΔE00 6.73
Violet Red
#A50055
ΔE00 7.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E2F71 #2F9E5C
analogous
#932F9E #9E2F71 #9E2F3A
triadic
#9E2F71 #719E2F #2F719E
tetradic
#9E2F71 #9E932F #2F9E5C #2F3A9E
square
#9E2F71 #9E932F #2F9E5C #2F3A9E
split-complementary
#9E2F71 #3A9E2F #2F9E93
monochromatic
#40132E #6F214F #9E2F71 #C74392 #D572AD
Accessibility & contrast
On white
6.78
#9E2F71 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.10
#9E2F71 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9E2F71
6.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E2F71 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E2F71 | 1.00 | 6.78 | 3.10 | 6.78 |
| #FFFFFF | 6.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E4F73
Deuteranopia (green-blind)
#5E626E
Tritanopia (blue-blind)
#A92B4C
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #9e2f71; /* rgb */ color: rgb(158, 47, 113); /* oklch */ color: oklch(49.3% 0.161 348.0);
Tailwind
colors: {
custom: {
50: '#be7199',
500: '#9e2f71',
950: '#000000',
},
}SCSS
$custom: #9e2f71; $custom-light: #be7199; $custom-dark: #000000;
JSON
{
"hex": "#9e2f71",
"rgb": {
"r": 158,
"g": 47,
"b": 113
},
"hsl": {
"h": 324.324,
"s": 54.146,
"l": 40.196
},
"oklch": {
"l": 0.49295,
"c": 0.1609,
"h": 348
},
"luminance": 0.10494
}Semantic roles & 50–950 ramp
primary
#9E2F71
secondary
#6CBD8D
accent
#DE864A
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E