#9E256D#9E256D
#9E256D is a mid, vivid pink. Relative luminance 0.097; OKLCH L 48.2% C 0.171 H 349.1°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).
Color values
| HEX | #9E256D |
|---|---|
| RGB | rgb(158, 37, 109) |
| HSL | hsl(324, 62%, 38%) |
| HSV | hsv(324, 77%, 62%) |
| CMYK | cmyk(0%, 76.6%, 31%, 38%) |
| CIE-LAB | lab(37.30, 54.85, -12.35) |
| CIE-LCH | lch(37.30, 56.22, 347.31°) |
| OKLab | oklab(48.2% 0.1675 -0.0323) |
| OKLCH | oklch(48.2% 0.171 349.1) |
| XYZ | xyz(17.5234, 9.6984, 15.4142) |
| Luminance | 0.0970 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 2.91
Deep Magenta
#A0025C
ΔE00 4.26
Dark Fuchsia
#9D0759
ΔE00 4.71
Dark Magenta
#960056
ΔE00 5.37
Violet Red
#A50055
ΔE00 6.28
Reddish Purple
#910951
ΔE00 6.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E256D #259E56
analogous
#92259E #9E256D #9E2530
triadic
#9E256D #6D9E25 #256D9E
tetradic
#9E256D #9E9225 #259E56 #25309E
square
#9E256D #9E9225 #259E56 #25309E
split-complementary
#9E256D #309E25 #259E92
monochromatic
#3B0E29 #6C194B #9E256D #CF318F #DA63AA
Accessibility & contrast
On white
7.14
#9E256D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.94
#9E256D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9E256D
7.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E256D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E256D | 1.00 | 7.14 | 2.94 | 7.14 |
| #FFFFFF | 7.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#384A6F
Deuteranopia (green-blind)
#5C5F6A
Tritanopia (blue-blind)
#AA1E46
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #9e256d; /* rgb */ color: rgb(158, 37, 109); /* oklch */ color: oklch(48.2% 0.171 349.1);
Tailwind
colors: {
custom: {
50: '#bf6c97',
500: '#9e256d',
950: '#000000',
},
}SCSS
$custom: #9e256d; $custom-light: #bf6c97; $custom-dark: #000000;
JSON
{
"hex": "#9e256d",
"rgb": {
"r": 158,
"g": 37,
"b": 109
},
"hsl": {
"h": 324.298,
"s": 62.051,
"l": 38.235
},
"oklch": {
"l": 0.48204,
"c": 0.17061,
"h": 349.1
},
"luminance": 0.09696
}Semantic roles & 50–950 ramp
primary
#9E256D
secondary
#5FC086
accent
#E58443
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13080D
muted
#827A7E