#9F2F5D#9F2F5D
#9F2F5D is a mid, vivid pink. Relative luminance 0.102; OKLCH L 48.7% C 0.152 H 359.4°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).
Color values
| HEX | #9F2F5D |
|---|---|
| RGB | rgb(159, 47, 93) |
| HSL | hsl(335, 54%, 40%) |
| HSV | hsv(335, 70%, 62%) |
| CMYK | cmyk(0%, 70.4%, 41.5%, 37.6%) |
| CIE-LAB | lab(38.19, 49.73, -0.86) |
| CIE-LCH | lch(38.19, 49.73, 359.01°) |
| OKLab | oklab(48.71% 0.1524 -0.0016) |
| OKLCH | oklch(48.71% 0.152 359.4) |
| XYZ | xyz(17.2916, 10.1964, 11.4113) |
| Luminance | 0.1019 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Violet Red
#A50055
ΔE00 4.15
Dark Fuchsia
#9D0759
ΔE00 4.63
Deep Magenta
#A0025C
ΔE00 4.79
Berry
#990F4B
ΔE00 4.94
Mulberry
#920A4E
ΔE00 5.69
Dark Magenta
#960056
ΔE00 5.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F2F5D #2F9F71
analogous
#9F2F95 #9F2F5D #9F392F
triadic
#9F2F5D #5D9F2F #2F5D9F
tetradic
#9F2F5D #959F2F #2F9F71 #392F9F
square
#9F2F5D #959F2F #2F9F71 #392F9F
split-complementary
#9F2F5D #2F9F39 #2F959F
monochromatic
#411326 #702141 #9F2F5D #C8447A #D6739B
Accessibility & contrast
On white
6.91
#9F2F5D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.04
#9F2F5D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9F2F5D
6.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F2F5D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F2F5D | 1.00 | 6.91 | 3.04 | 6.91 |
| #FFFFFF | 6.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#454C5E
Deuteranopia (green-blind)
#64625A
Tritanopia (blue-blind)
#AC2142
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #9f2f5d; /* rgb */ color: rgb(159, 47, 93); /* oklch */ color: oklch(48.7% 0.152 359.4);
Tailwind
colors: {
custom: {
50: '#c0708a',
500: '#9f2f5d',
950: '#000000',
},
}SCSS
$custom: #9f2f5d; $custom-light: #c0708a; $custom-dark: #000000;
JSON
{
"hex": "#9f2f5d",
"rgb": {
"r": 159,
"g": 47,
"b": 93
},
"hsl": {
"h": 335.357,
"s": 54.369,
"l": 40.392
},
"oklch": {
"l": 0.48711,
"c": 0.15238,
"h": 359.4
},
"luminance": 0.10194
}Semantic roles & 50–950 ramp
primary
#9F2F5D
secondary
#6DBD9C
accent
#DEA14A
background
#FCF7F8
surface
#F8EDF0
border
#D1C8CB
text
#13080B
muted
#827B7C