#9E256A#9E256A
#9E256A is a mid, vivid pink. Relative luminance 0.096; OKLCH L 48.1% C 0.169 H 350.6°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).
Color values
| HEX | #9E256A |
|---|---|
| RGB | rgb(158, 37, 106) |
| HSL | hsl(326, 62%, 38%) |
| HSV | hsv(326, 77%, 62%) |
| CMYK | cmyk(0%, 76.6%, 32.9%, 38%) |
| CIE-LAB | lab(37.18, 54.49, -10.63) |
| CIE-LCH | lch(37.18, 55.52, 348.96°) |
| OKLab | oklab(48.08% 0.1668 -0.0276) |
| OKLCH | oklch(48.08% 0.169 350.6) |
| XYZ | xyz(17.3646, 9.6349, 14.5781) |
| Luminance | 0.0963 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 3.00
Deep Magenta
#A0025C
ΔE00 3.72
Dark Fuchsia
#9D0759
ΔE00 4.12
Dark Magenta
#960056
ΔE00 4.90
Violet Red
#A50055
ΔE00 5.61
Reddish Purple
#910951
ΔE00 5.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E256A #259E59
analogous
#95259E #9E256A #9E252E
triadic
#9E256A #6A9E25 #256A9E
tetradic
#9E256A #9E9525 #259E59 #252E9E
square
#9E256A #9E9525 #259E59 #252E9E
split-complementary
#9E256A #2E9E25 #259E95
monochromatic
#3B0E27 #6C1949 #9E256A #CF318B #DA63A7
Accessibility & contrast
On white
7.18
#9E256A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.93
#9E256A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9E256A
7.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E256A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E256A | 1.00 | 7.18 | 2.93 | 7.18 |
| #FFFFFF | 7.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3A4A6C
Deuteranopia (green-blind)
#5D5F67
Tritanopia (blue-blind)
#AA1C44
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #9e256a; /* rgb */ color: rgb(158, 37, 106); /* oklch */ color: oklch(48.1% 0.169 350.6);
Tailwind
colors: {
custom: {
50: '#bf6c94',
500: '#9e256a',
950: '#000000',
},
}SCSS
$custom: #9e256a; $custom-light: #bf6c94; $custom-dark: #000000;
JSON
{
"hex": "#9e256a",
"rgb": {
"r": 158,
"g": 37,
"b": 106
},
"hsl": {
"h": 325.785,
"s": 62.051,
"l": 38.235
},
"oklch": {
"l": 0.48081,
"c": 0.16904,
"h": 350.6
},
"luminance": 0.09633
}Semantic roles & 50–950 ramp
primary
#9E256A
secondary
#5FC089
accent
#E58843
background
#FCF6F9
surface
#F8ECF1
border
#D1C7CB
text
#13080D
muted
#827A7E