#9F215D#9F215D
#9F215D is a mid, vivid pink. Relative luminance 0.092; OKLCH L 47.4% C 0.168 H 357.2°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).
Color values
| HEX | #9F215D |
|---|---|
| RGB | rgb(159, 33, 93) |
| HSL | hsl(331, 66%, 38%) |
| HSV | hsv(331, 79%, 62%) |
| CMYK | cmyk(0%, 79.2%, 41.5%, 37.6%) |
| CIE-LAB | lab(36.46, 54.57, -3.41) |
| CIE-LCH | lch(36.46, 54.68, 356.43°) |
| OKLab | oklab(47.44% 0.1678 -0.0083) |
| OKLCH | oklch(47.44% 0.168 357.2) |
| XYZ | xyz(16.8190, 9.2511, 11.2538) |
| Luminance | 0.0925 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dark Fuchsia
#9D0759
ΔE00 2.36
Deep Magenta
#A0025C
ΔE00 2.44
Violet Red
#A50055
ΔE00 2.73
Dark Magenta
#960056
ΔE00 3.74
Reddish Purple
#910951
ΔE00 4.13
Mulberry
#920A4E
ΔE00 4.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F215D #219F63
analogous
#9F219C #9F215D #9F2421
triadic
#9F215D #5D9F21 #215D9F
tetradic
#9F215D #9C9F21 #219F63 #24219F
square
#9F215D #9C9F21 #219F63 #24219F
split-complementary
#9F215D #219F24 #219C9F
monochromatic
#3A0C22 #6C163F #9F215D #D22C7B #DD5D9A
Accessibility & contrast
On white
7.37
#9F215D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.85
#9F215D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9F215D
7.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F215D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F215D | 1.00 | 7.37 | 2.85 | 7.37 |
| #FFFFFF | 7.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3D475E
Deuteranopia (green-blind)
#5F5E5A
Tritanopia (blue-blind)
#AC0A3C
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #9f215d; /* rgb */ color: rgb(159, 33, 93); /* oklch */ color: oklch(47.4% 0.168 357.2);
Tailwind
colors: {
custom: {
50: '#c06a8a',
500: '#9f215d',
950: '#000000',
},
}SCSS
$custom: #9f215d; $custom-light: #c06a8a; $custom-dark: #000000;
JSON
{
"hex": "#9f215d",
"rgb": {
"r": 159,
"g": 33,
"b": 93
},
"hsl": {
"h": 331.429,
"s": 65.625,
"l": 37.647
},
"oklch": {
"l": 0.4744,
"c": 0.16803,
"h": 357.2
},
"luminance": 0.09249
}Semantic roles & 50–950 ramp
primary
#9F215D
secondary
#5AC290
accent
#E9983F
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13070B
muted
#827A7C