#9F2047#9F2047
#9F2047 is a mid, vivid pink. Relative luminance 0.089; OKLCH L 46.7% C 0.163 H 8.7°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).
Color values
| HEX | #9F2047 |
|---|---|
| RGB | rgb(159, 32, 71) |
| HSL | hsl(342, 66%, 37%) |
| HSV | hsv(342, 80%, 62%) |
| CMYK | cmyk(0%, 79.9%, 55.3%, 37.6%) |
| CIE-LAB | lab(35.72, 52.90, 9.70) |
| CIE-LCH | lch(35.72, 53.78, 10.39°) |
| OKLab | oklab(46.68% 0.1609 0.0247) |
| OKLCH | oklch(46.68% 0.163 8.7) |
| XYZ | xyz(15.9534, 8.8612, 6.8303) |
| Luminance | 0.0886 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Raspberry (survey)
#B00149
ΔE00 3.11
Purplish Red
#B0054B
ΔE00 3.13
Cranberry
#9E003A
ΔE00 3.31
Berry
#990F4B
ΔE00 3.97
Purple Red
#990147
ΔE00 4.00
Rouge
#AB1239
ΔE00 5.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F2047 #209F78
analogous
#9F2086 #9F2047 #9F3920
triadic
#9F2047 #479F20 #20479F
tetradic
#9F2047 #869F20 #209F78 #39209F
square
#9F2047 #869F20 #209F78 #39209F
split-complementary
#9F2047 #209F39 #20869F
monochromatic
#390B1A #6C1630 #9F2047 #D22A5E #DE5B83
Accessibility & contrast
On white
7.58
#9F2047 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.77
#9F2047 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9F2047
7.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F2047 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F2047 | 1.00 | 7.58 | 2.77 | 7.58 |
| #FFFFFF | 7.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#424448
Deuteranopia (green-blind)
#635D44
Tritanopia (blue-blind)
#AE0031
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #9f2047; /* rgb */ color: rgb(159, 32, 71); /* oklch */ color: oklch(46.7% 0.163 8.7);
Tailwind
colors: {
custom: {
50: '#c26979',
500: '#9f2047',
950: '#000000',
},
}SCSS
$custom: #9f2047; $custom-light: #c26979; $custom-dark: #000000;
JSON
{
"hex": "#9f2047",
"rgb": {
"r": 159,
"g": 32,
"b": 71
},
"hsl": {
"h": 341.575,
"s": 66.492,
"l": 37.451
},
"oklch": {
"l": 0.46681,
"c": 0.16277,
"h": 8.7
},
"luminance": 0.08859
}Semantic roles & 50–950 ramp
primary
#9F2047
secondary
#59C2A2
accent
#E9B53E
background
#FCF6F7
surface
#F9ECED
border
#D2C7C8
text
#140709
muted
#827A7B