#9F2F71#9F2F71
#9F2F71 is a mid, vivid pink. Relative luminance 0.106; OKLCH L 49.5% C 0.162 H 348.4°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).
Color values
| HEX | #9F2F71 |
|---|---|
| RGB | rgb(159, 47, 113) |
| HSL | hsl(325, 54%, 40%) |
| HSV | hsv(325, 70%, 62%) |
| CMYK | cmyk(0%, 70.4%, 28.9%, 37.6%) |
| CIE-LAB | lab(38.90, 52.08, -12.41) |
| CIE-LCH | lch(38.90, 53.54, 346.59°) |
| OKLab | oklab(49.46% 0.1584 -0.0326) |
| OKLCH | oklch(49.46% 0.162 348.4) |
| XYZ | xyz(18.2961, 10.5982, 16.7017) |
| Luminance | 0.1060 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.49
Deep Magenta
#A0025C
ΔE00 5.55
Dark Fuchsia
#9D0759
ΔE00 5.95
Magenta (survey)
#C20078
ΔE00 6.15
Dark Magenta
#960056
ΔE00 6.75
Violet Red
#A50055
ΔE00 7.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F2F71 #2F9F5D
analogous
#952F9F #9F2F71 #9F2F39
triadic
#9F2F71 #719F2F #2F719F
tetradic
#9F2F71 #9F952F #2F9F5D #2F399F
square
#9F2F71 #9F952F #2F9F5D #2F399F
split-complementary
#9F2F71 #399F2F #2F9F95
monochromatic
#41132E #70214F #9F2F71 #C84491 #D673AD
Accessibility & contrast
On white
6.73
#9F2F71 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.12
#9F2F71 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9F2F71
6.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F2F71 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F2F71 | 1.00 | 6.73 | 3.12 | 6.73 |
| #FFFFFF | 6.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E4F73
Deuteranopia (green-blind)
#5F636E
Tritanopia (blue-blind)
#AA2A4C
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #9f2f71; /* rgb */ color: rgb(159, 47, 113); /* oklch */ color: oklch(49.5% 0.162 348.4);
Tailwind
colors: {
custom: {
50: '#bf7199',
500: '#9f2f71',
950: '#000000',
},
}SCSS
$custom: #9f2f71; $custom-light: #bf7199; $custom-dark: #000000;
JSON
{
"hex": "#9f2f71",
"rgb": {
"r": 159,
"g": 47,
"b": 113
},
"hsl": {
"h": 324.643,
"s": 54.369,
"l": 40.392
},
"oklch": {
"l": 0.49458,
"c": 0.1617,
"h": 348.4
},
"luminance": 0.10596
}Semantic roles & 50–950 ramp
primary
#9F2F71
secondary
#6DBD8E
accent
#DE874A
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E