#9F1848#9F1848
#9F1848 is a mid, vivid pink. Relative luminance 0.085; OKLCH L 46.2% C 0.169 H 7.0°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).
Color values
| HEX | #9F1848 |
|---|---|
| RGB | rgb(159, 24, 72) |
| HSL | hsl(339, 74%, 36%) |
| HSV | hsv(339, 85%, 62%) |
| CMYK | cmyk(0%, 84.9%, 54.7%, 37.6%) |
| CIE-LAB | lab(34.99, 55.11, 8.04) |
| CIE-LCH | lch(34.99, 55.69, 8.30°) |
| OKLab | oklab(46.16% 0.1682 0.0207) |
| OKLCH | oklch(46.16% 0.169 7) |
| XYZ | xyz(15.7959, 8.4944, 6.9375) |
| Luminance | 0.0849 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 2.76
Purple Red
#990147
ΔE00 2.77
Purplish Red
#B0054B
ΔE00 3.06
Raspberry (survey)
#B00149
ΔE00 3.13
Cranberry
#9E003A
ΔE00 3.54
Violet Red
#A50055
ΔE00 4.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F1848 #189F6F
analogous
#9F188B #9F1848 #9F2C18
triadic
#9F1848 #489F18 #18489F
tetradic
#9F1848 #8B9F18 #189F6F #2C189F
square
#9F1848 #8B9F18 #189F6F #2C189F
split-complementary
#9F1848 #189F2C #188B9F
monochromatic
#350818 #6A1030 #9F1848 #D42060 #E44D83
Accessibility & contrast
On white
7.78
#9F1848 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.70
#9F1848 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9F1848
7.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F1848 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F1848 | 1.00 | 7.78 | 2.70 | 7.78 |
| #FFFFFF | 7.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F4149
Deuteranopia (green-blind)
#615C45
Tritanopia (blue-blind)
#AE002E
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #9f1848; /* rgb */ color: rgb(159, 24, 72); /* oklch */ color: oklch(46.2% 0.169 7.0);
Tailwind
colors: {
custom: {
50: '#c2667a',
500: '#9f1848',
950: '#000000',
},
}SCSS
$custom: #9f1848; $custom-light: #c2667a; $custom-dark: #000000;
JSON
{
"hex": "#9f1848",
"rgb": {
"r": 159,
"g": 24,
"b": 72
},
"hsl": {
"h": 338.667,
"s": 73.77,
"l": 35.882
},
"oklch": {
"l": 0.46157,
"c": 0.16944,
"h": 7
},
"luminance": 0.08492
}Semantic roles & 50–950 ramp
primary
#9F1848
secondary
#4DC69B
accent
#F0AF37
background
#FCF6F7
surface
#F9EBED
border
#D2C6C8
text
#140709
muted
#827A7B