#9F2148#9F2148
#9F2148 is a mid, vivid pink. Relative luminance 0.089; OKLCH L 46.8% C 0.162 H 8.4°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).
Color values
| HEX | #9F2148 |
|---|---|
| RGB | rgb(159, 33, 72) |
| HSL | hsl(341, 66%, 38%) |
| HSV | hsv(341, 79%, 62%) |
| CMYK | cmyk(0%, 79.2%, 54.7%, 37.6%) |
| CIE-LAB | lab(35.85, 52.67, 9.23) |
| CIE-LCH | lch(35.85, 53.48, 9.94°) |
| OKLab | oklab(46.79% 0.1603 0.0236) |
| OKLCH | oklch(46.79% 0.162 8.4) |
| XYZ | xyz(16.0131, 8.9288, 7.0099) |
| Luminance | 0.0893 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 3.13
Raspberry (survey)
#B00149
ΔE00 3.15
Cranberry
#9E003A
ΔE00 3.56
Berry
#990F4B
ΔE00 3.86
Purple Red
#990147
ΔE00 3.95
Violet Red
#A50055
ΔE00 5.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F2148 #219F78
analogous
#9F2187 #9F2148 #9F3921
triadic
#9F2148 #489F21 #21489F
tetradic
#9F2148 #879F21 #219F78 #39219F
square
#9F2148 #879F21 #219F78 #39219F
split-complementary
#9F2148 #219F39 #21879F
monochromatic
#3A0C1A #6C1631 #9F2148 #D22C5F #DD5D85
Accessibility & contrast
On white
7.54
#9F2148 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.79
#9F2148 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9F2148
7.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F2148 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F2148 | 1.00 | 7.54 | 2.79 | 7.54 |
| #FFFFFF | 7.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#434449
Deuteranopia (green-blind)
#635D45
Tritanopia (blue-blind)
#AE0032
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #9f2148; /* rgb */ color: rgb(159, 33, 72); /* oklch */ color: oklch(46.8% 0.162 8.4);
Tailwind
colors: {
custom: {
50: '#c2697a',
500: '#9f2148',
950: '#000000',
},
}SCSS
$custom: #9f2148; $custom-light: #c2697a; $custom-dark: #000000;
JSON
{
"hex": "#9f2148",
"rgb": {
"r": 159,
"g": 33,
"b": 72
},
"hsl": {
"h": 341.429,
"s": 65.625,
"l": 37.647
},
"oklch": {
"l": 0.46786,
"c": 0.16203,
"h": 8.4
},
"luminance": 0.08927
}Semantic roles & 50–950 ramp
primary
#9F2148
secondary
#5AC2A2
accent
#E9B43F
background
#FCF6F7
surface
#F9ECED
border
#D2C7C8
text
#140709
muted
#827A7B