#9F2147#9F2147
#9F2147 is a mid, vivid pink. Relative luminance 0.089; OKLCH L 46.8% C 0.162 H 8.9°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).
Color values
| HEX | #9F2147 |
|---|---|
| RGB | rgb(159, 33, 71) |
| HSL | hsl(342, 66%, 38%) |
| HSV | hsv(342, 79%, 62%) |
| CMYK | cmyk(0%, 79.2%, 55.3%, 37.6%) |
| CIE-LAB | lab(35.82, 52.60, 9.84) |
| CIE-LCH | lch(35.82, 53.51, 10.60°) |
| OKLab | oklab(46.76% 0.1599 0.025) |
| OKLCH | oklch(46.76% 0.162 8.9) |
| XYZ | xyz(15.9808, 8.9159, 6.8395) |
| Luminance | 0.0891 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Raspberry (survey)
#B00149
ΔE00 3.15
Purplish Red
#B0054B
ΔE00 3.18
Cranberry
#9E003A
ΔE00 3.35
Berry
#990F4B
ΔE00 4.11
Purple Red
#990147
ΔE00 4.15
Rouge
#AB1239
ΔE00 5.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F2147 #219F79
analogous
#9F2186 #9F2147 #9F3A21
triadic
#9F2147 #479F21 #21479F
tetradic
#9F2147 #869F21 #219F79 #3A219F
square
#9F2147 #869F21 #219F79 #3A219F
split-complementary
#9F2147 #219F3A #21869F
monochromatic
#3A0C1A #6C1630 #9F2147 #D22C5E #DD5D84
Accessibility & contrast
On white
7.55
#9F2147 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.78
#9F2147 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9F2147
7.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F2147 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F2147 | 1.00 | 7.55 | 2.78 | 7.55 |
| #FFFFFF | 7.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#434448
Deuteranopia (green-blind)
#635D44
Tritanopia (blue-blind)
#AE0032
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #9f2147; /* rgb */ color: rgb(159, 33, 71); /* oklch */ color: oklch(46.8% 0.162 8.9);
Tailwind
colors: {
custom: {
50: '#c26979',
500: '#9f2147',
950: '#000000',
},
}SCSS
$custom: #9f2147; $custom-light: #c26979; $custom-dark: #000000;
JSON
{
"hex": "#9f2147",
"rgb": {
"r": 159,
"g": 33,
"b": 71
},
"hsl": {
"h": 341.905,
"s": 65.625,
"l": 37.647
},
"oklch": {
"l": 0.46759,
"c": 0.16187,
"h": 8.9
},
"luminance": 0.08914
}Semantic roles & 50–950 ramp
primary
#9F2147
secondary
#5AC2A3
accent
#E9B63F
background
#FCF6F7
surface
#F9ECED
border
#D2C7C8
text
#140709
muted
#827A7B