#9E1F6A#9E1F6A
#9E1F6A is a mid, vivid pink. Relative luminance 0.093; OKLCH L 47.6% C 0.175 H 350.0°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).
Color values
| HEX | #9E1F6A |
|---|---|
| RGB | rgb(158, 31, 106) |
| HSL | hsl(325, 67%, 37%) |
| HSV | hsv(325, 80%, 62%) |
| CMYK | cmyk(0%, 80.4%, 32.9%, 38%) |
| CIE-LAB | lab(36.54, 56.31, -11.60) |
| CIE-LCH | lch(36.54, 57.49, 348.36°) |
| OKLab | oklab(47.62% 0.1725 -0.0303) |
| OKLCH | oklch(47.62% 0.175 350) |
| XYZ | xyz(17.1931, 9.2917, 14.5210) |
| Luminance | 0.0929 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 2.20
Deep Magenta
#A0025C
ΔE00 3.47
Dark Fuchsia
#9D0759
ΔE00 3.94
Dark Magenta
#960056
ΔE00 4.56
Reddish Purple
#910951
ΔE00 5.56
Violet Red
#A50055
ΔE00 5.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E1F6A #1F9E53
analogous
#931F9E #9E1F6A #9E1F2A
triadic
#9E1F6A #6A9E1F #1F6A9E
tetradic
#9E1F6A #9E931F #1F9E53 #1F2A9E
square
#9E1F6A #9E931F #1F9E53 #1F2A9E
split-complementary
#9E1F6A #2A9E1F #1F9E93
monochromatic
#380B25 #6B1548 #9E1F6A #D1298C #DE59A8
Accessibility & contrast
On white
7.35
#9E1F6A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.86
#9E1F6A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9E1F6A
7.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E1F6A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E1F6A | 1.00 | 7.35 | 2.86 | 7.35 |
| #FFFFFF | 7.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#36486C
Deuteranopia (green-blind)
#5B5E67
Tritanopia (blue-blind)
#AA1442
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #9e1f6a; /* rgb */ color: rgb(158, 31, 106); /* oklch */ color: oklch(47.6% 0.175 350.0);
Tailwind
colors: {
custom: {
50: '#bf6a94',
500: '#9e1f6a',
950: '#000000',
},
}SCSS
$custom: #9e1f6a; $custom-light: #bf6a94; $custom-dark: #000000;
JSON
{
"hex": "#9e1f6a",
"rgb": {
"r": 158,
"g": 31,
"b": 106
},
"hsl": {
"h": 324.567,
"s": 67.196,
"l": 37.059
},
"oklch": {
"l": 0.47615,
"c": 0.17511,
"h": 350
},
"luminance": 0.0929
}Semantic roles & 50–950 ramp
primary
#9E1F6A
secondary
#56C283
accent
#EA843E
background
#FCF6F9
surface
#F8ECF1
border
#D1C7CB
text
#13070D
muted
#827A7E