#9E306A#9E306A
#9E306A is a mid, vivid pink. Relative luminance 0.104; OKLCH L 49.1% C 0.156 H 351.9°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).
Color values
| HEX | #9E306A |
|---|---|
| RGB | rgb(158, 48, 106) |
| HSL | hsl(328, 53%, 40%) |
| HSV | hsv(328, 70%, 62%) |
| CMYK | cmyk(0%, 69.6%, 32.9%, 38%) |
| CIE-LAB | lab(38.60, 50.52, -8.49) |
| CIE-LCH | lch(38.60, 51.23, 350.46°) |
| OKLab | oklab(49.12% 0.1543 -0.0219) |
| OKLCH | oklch(49.12% 0.156 351.9) |
| XYZ | xyz(17.7600, 10.4256, 14.7099) |
| Luminance | 0.1042 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Deep Magenta
#A0025C
ΔE00 4.75
Red Violet
#9E0168
ΔE00 4.85
Dark Fuchsia
#9D0759
ΔE00 5.00
Violet Red
#A50055
ΔE00 5.93
Dark Magenta
#960056
ΔE00 5.99
Magenta (survey)
#C20078
ΔE00 6.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E306A #309E64
analogous
#9B309E #9E306A #9E3033
triadic
#9E306A #6A9E30 #306A9E
tetradic
#9E306A #9E9B30 #309E64 #30339E
square
#9E306A #9E9B30 #309E64 #30339E
split-complementary
#9E306A #339E30 #309E9B
monochromatic
#40132B #6F224B #9E306A #C64589 #D574A7
Accessibility & contrast
On white
6.81
#9E306A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.08
#9E306A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9E306A
6.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E306A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E306A | 1.00 | 6.81 | 3.08 | 6.81 |
| #FFFFFF | 6.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#414E6C
Deuteranopia (green-blind)
#606267
Tritanopia (blue-blind)
#AA2949
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #9e306a; /* rgb */ color: rgb(158, 48, 106); /* oklch */ color: oklch(49.1% 0.156 351.9);
Tailwind
colors: {
custom: {
50: '#bf7194',
500: '#9e306a',
950: '#000000',
},
}SCSS
$custom: #9e306a; $custom-light: #bf7194; $custom-dark: #000000;
JSON
{
"hex": "#9e306a",
"rgb": {
"r": 158,
"g": 48,
"b": 106
},
"hsl": {
"h": 328.364,
"s": 53.398,
"l": 40.392
},
"oklch": {
"l": 0.49118,
"c": 0.15585,
"h": 351.9
},
"luminance": 0.10424
}Semantic roles & 50–950 ramp
primary
#9E306A
secondary
#6DBD93
accent
#DD904B
background
#FCF7F9
surface
#F8EDF1
border
#D1C8CB
text
#13080D
muted
#827B7E