#9E306E#9E306E
#9E306E is a mid, vivid pink. Relative luminance 0.105; OKLCH L 49.3% C 0.158 H 349.7°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).
Color values
| HEX | #9E306E |
|---|---|
| RGB | rgb(158, 48, 110) |
| HSL | hsl(326, 53%, 40%) |
| HSV | hsv(326, 70%, 62%) |
| CMYK | cmyk(0%, 69.6%, 30.4%, 38%) |
| CIE-LAB | lab(38.74, 51.02, -10.78) |
| CIE-LCH | lch(38.74, 52.15, 348.07°) |
| OKLab | oklab(49.28% 0.1554 -0.0281) |
| OKLCH | oklch(49.28% 0.158 349.7) |
| XYZ | xyz(17.9729, 10.5108, 15.8311) |
| Luminance | 0.1051 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.61
Deep Magenta
#A0025C
ΔE00 5.22
Dark Fuchsia
#9D0759
ΔE00 5.55
Magenta (survey)
#C20078
ΔE00 6.34
Dark Magenta
#960056
ΔE00 6.42
Violet Red
#A50055
ΔE00 6.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E306E #309E60
analogous
#97309E #9E306E #9E3037
triadic
#9E306E #6E9E30 #306E9E
tetradic
#9E306E #9E9730 #309E60 #30379E
square
#9E306E #9E9730 #309E60 #30379E
split-complementary
#9E306E #379E30 #309E97
monochromatic
#40132D #6F224D #9E306E #C6458E #D574AA
Accessibility & contrast
On white
6.77
#9E306E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.10
#9E306E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9E306E
6.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E306E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E306E | 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)
#404F70
Deuteranopia (green-blind)
#5F626B
Tritanopia (blue-blind)
#A92B4B
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #9e306e; /* rgb */ color: rgb(158, 48, 110); /* oklch */ color: oklch(49.3% 0.158 349.7);
Tailwind
colors: {
custom: {
50: '#be7197',
500: '#9e306e',
950: '#000000',
},
}SCSS
$custom: #9e306e; $custom-light: #be7197; $custom-dark: #000000;
JSON
{
"hex": "#9e306e",
"rgb": {
"r": 158,
"g": 48,
"b": 110
},
"hsl": {
"h": 326.182,
"s": 53.398,
"l": 40.392
},
"oklch": {
"l": 0.49276,
"c": 0.15794,
"h": 349.7
},
"luminance": 0.10509
}Semantic roles & 50–950 ramp
primary
#9E306E
secondary
#6DBD90
accent
#DD8B4B
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080D
muted
#827B7E