#9E1F65#9E1F65
#9E1F65 is a mid, vivid pink. Relative luminance 0.092; OKLCH L 47.4% C 0.173 H 352.5°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).
Color values
| HEX | #9E1F65 |
|---|---|
| RGB | rgb(158, 31, 101) |
| HSL | hsl(327, 67%, 37%) |
| HSV | hsv(327, 80%, 62%) |
| CMYK | cmyk(0%, 80.4%, 36.1%, 38%) |
| CIE-LAB | lab(36.35, 55.74, -8.71) |
| CIE-LCH | lch(36.35, 56.42, 351.12°) |
| OKLab | oklab(47.41% 0.1712 -0.0224) |
| OKLCH | oklch(47.41% 0.173 352.5) |
| XYZ | xyz(16.9406, 9.1908, 13.1913) |
| Luminance | 0.0919 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Deep Magenta
#A0025C
ΔE00 2.54
Red Violet
#9E0168
ΔE00 2.75
Dark Fuchsia
#9D0759
ΔE00 2.91
Dark Magenta
#960056
ΔE00 3.80
Violet Red
#A50055
ΔE00 4.49
Reddish Purple
#910951
ΔE00 4.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E1F65 #1F9E58
analogous
#981F9E #9E1F65 #9E1F26
triadic
#9E1F65 #659E1F #1F659E
tetradic
#9E1F65 #9E981F #1F9E58 #1F269E
square
#9E1F65 #9E981F #1F9E58 #1F269E
split-complementary
#9E1F65 #269E1F #1F9E98
monochromatic
#380B24 #6B1544 #9E1F65 #D12986 #DE59A3
Accessibility & contrast
On white
7.40
#9E1F65 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.84
#9E1F65 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9E1F65
7.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E1F65 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E1F65 | 1.00 | 7.40 | 2.84 | 7.40 |
| #FFFFFF | 7.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#384767
Deuteranopia (green-blind)
#5C5E62
Tritanopia (blue-blind)
#AB1040
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #9e1f65; /* rgb */ color: rgb(158, 31, 101); /* oklch */ color: oklch(47.4% 0.173 352.5);
Tailwind
colors: {
custom: {
50: '#bf6990',
500: '#9e1f65',
950: '#000000',
},
}SCSS
$custom: #9e1f65; $custom-light: #bf6990; $custom-dark: #000000;
JSON
{
"hex": "#9e1f65",
"rgb": {
"r": 158,
"g": 31,
"b": 101
},
"hsl": {
"h": 326.929,
"s": 67.196,
"l": 37.059
},
"oklch": {
"l": 0.47414,
"c": 0.17265,
"h": 352.5
},
"luminance": 0.09189
}Semantic roles & 50–950 ramp
primary
#9E1F65
secondary
#56C287
accent
#EA8B3E
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13070C
muted
#827A7D