#9F2146#9F2146
#9F2146 is a mid, vivid pink. Relative luminance 0.089; OKLCH L 46.7% C 0.162 H 9.4°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).
Color values
| HEX | #9F2146 |
|---|---|
| RGB | rgb(159, 33, 70) |
| HSL | hsl(342, 66%, 38%) |
| HSV | hsv(342, 79%, 62%) |
| CMYK | cmyk(0%, 79.2%, 56%, 37.6%) |
| CIE-LAB | lab(35.80, 52.52, 10.46) |
| CIE-LCH | lch(35.80, 53.55, 11.26°) |
| OKLab | oklab(46.73% 0.1595 0.0265) |
| OKLCH | oklch(46.73% 0.162 9.4) |
| XYZ | xyz(15.9490, 8.9031, 6.6718) |
| Luminance | 0.0890 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Cranberry
#9E003A
ΔE00 3.16
Raspberry (survey)
#B00149
ΔE00 3.20
Purplish Red
#B0054B
ΔE00 3.27
Purple Red
#990147
ΔE00 4.36
Berry
#990F4B
ΔE00 4.38
Rouge
#AB1239
ΔE00 4.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F2146 #219F7A
analogous
#9F2185 #9F2146 #9F3B21
triadic
#9F2146 #469F21 #21469F
tetradic
#9F2146 #859F21 #219F7A #3B219F
square
#9F2146 #859F21 #219F7A #3B219F
split-complementary
#9F2146 #219F3B #21859F
monochromatic
#3A0C19 #6C1630 #9F2146 #D22C5C #DD5D83
Accessibility & contrast
On white
7.55
#9F2146 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.78
#9F2146 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9F2146
7.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F2146 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F2146 | 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)
#434447
Deuteranopia (green-blind)
#645D43
Tritanopia (blue-blind)
#AE0031
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #9f2146; /* rgb */ color: rgb(159, 33, 70); /* oklch */ color: oklch(46.7% 0.162 9.4);
Tailwind
colors: {
custom: {
50: '#c26979',
500: '#9f2146',
950: '#000000',
},
}SCSS
$custom: #9f2146; $custom-light: #c26979; $custom-dark: #000000;
JSON
{
"hex": "#9f2146",
"rgb": {
"r": 159,
"g": 33,
"b": 70
},
"hsl": {
"h": 342.381,
"s": 65.625,
"l": 37.647
},
"oklch": {
"l": 0.46733,
"c": 0.16171,
"h": 9.4
},
"luminance": 0.08901
}Semantic roles & 50–950 ramp
primary
#9F2146
secondary
#5AC2A3
accent
#E9B73F
background
#FCF6F7
surface
#F9ECED
border
#D2C7C8
text
#140709
muted
#827A7B