#9F1A48#9F1A48
#9F1A48 is a mid, vivid pink. Relative luminance 0.086; OKLCH L 46.3% C 0.168 H 7.3°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).
Color values
| HEX | #9F1A48 |
|---|---|
| RGB | rgb(159, 26, 72) |
| HSL | hsl(339, 72%, 36%) |
| HSV | hsv(339, 84%, 62%) |
| CMYK | cmyk(0%, 83.6%, 54.7%, 37.6%) |
| CIE-LAB | lab(35.16, 54.62, 8.28) |
| CIE-LCH | lch(35.16, 55.24, 8.62°) |
| OKLab | oklab(46.28% 0.1666 0.0212) |
| OKLCH | oklch(46.28% 0.168 7.3) |
| XYZ | xyz(15.8387, 8.5799, 6.9517) |
| Luminance | 0.0858 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 2.97
Purple Red
#990147
ΔE00 3.00
Purplish Red
#B0054B
ΔE00 3.03
Raspberry (survey)
#B00149
ΔE00 3.09
Cranberry
#9E003A
ΔE00 3.51
Violet Red
#A50055
ΔE00 4.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F1A48 #1A9F71
analogous
#9F1A8B #9F1A48 #9F2F1A
triadic
#9F1A48 #489F1A #1A489F
tetradic
#9F1A48 #8B9F1A #1A9F71 #2F1A9F
square
#9F1A48 #8B9F1A #1A9F71 #2F1A9F
split-complementary
#9F1A48 #1A9F2F #1A8B9F
monochromatic
#360918 #6A1130 #9F1A48 #D42360 #E35183
Accessibility & contrast
On white
7.73
#9F1A48 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.72
#9F1A48 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9F1A48
7.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F1A48 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F1A48 | 1.00 | 7.73 | 2.72 | 7.73 |
| #FFFFFF | 7.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F4249
Deuteranopia (green-blind)
#625C45
Tritanopia (blue-blind)
#AE002F
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #9f1a48; /* rgb */ color: rgb(159, 26, 72); /* oklch */ color: oklch(46.3% 0.168 7.3);
Tailwind
colors: {
custom: {
50: '#c2677a',
500: '#9f1a48',
950: '#000000',
},
}SCSS
$custom: #9f1a48; $custom-light: #c2677a; $custom-dark: #000000;
JSON
{
"hex": "#9f1a48",
"rgb": {
"r": 159,
"g": 26,
"b": 72
},
"hsl": {
"h": 339.248,
"s": 71.892,
"l": 36.275
},
"oklch": {
"l": 0.46283,
"c": 0.16795,
"h": 7.3
},
"luminance": 0.08578
}Semantic roles & 50–950 ramp
primary
#9F1A48
secondary
#50C59C
accent
#EFB039
background
#FCF6F7
surface
#F9EBED
border
#D2C6C8
text
#140709
muted
#827A7B