#9F1A45#9F1A45
#9F1A45 is a mid, vivid pink. Relative luminance 0.085; OKLCH L 46.2% C 0.167 H 8.8°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).
Color values
| HEX | #9F1A45 |
|---|---|
| RGB | rgb(159, 26, 69) |
| HSL | hsl(341, 72%, 36%) |
| HSV | hsv(341, 84%, 62%) |
| CMYK | cmyk(0%, 83.6%, 56.6%, 37.6%) |
| CIE-LAB | lab(35.09, 54.39, 10.12) |
| CIE-LCH | lch(35.09, 55.33, 10.54°) |
| OKLab | oklab(46.2% 0.1654 0.0256) |
| OKLCH | oklch(46.2% 0.167 8.8) |
| XYZ | xyz(15.7432, 8.5417, 6.4488) |
| Luminance | 0.0854 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Cranberry
#9E003A
ΔE00 2.74
Raspberry (survey)
#B00149
ΔE00 3.02
Purplish Red
#B0054B
ΔE00 3.11
Purple Red
#990147
ΔE00 3.63
Berry
#990F4B
ΔE00 3.78
Red Wine
#8C0034
ΔE00 5.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F1A45 #1A9F74
analogous
#9F1A88 #9F1A45 #9F321A
triadic
#9F1A45 #459F1A #1A459F
tetradic
#9F1A45 #889F1A #1A9F74 #321A9F
square
#9F1A45 #889F1A #1A9F74 #321A9F
split-complementary
#9F1A45 #1A9F32 #1A889F
monochromatic
#360917 #6A112E #9F1A45 #D4235C #E35180
Accessibility & contrast
On white
7.76
#9F1A45 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.71
#9F1A45 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9F1A45
7.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F1A45 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F1A45 | 1.00 | 7.76 | 2.71 | 7.76 |
| #FFFFFF | 7.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#404246
Deuteranopia (green-blind)
#625C42
Tritanopia (blue-blind)
#AE002E
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #9f1a45; /* rgb */ color: rgb(159, 26, 69); /* oklch */ color: oklch(46.2% 0.167 8.8);
Tailwind
colors: {
custom: {
50: '#c26778',
500: '#9f1a45',
950: '#000000',
},
}SCSS
$custom: #9f1a45; $custom-light: #c26778; $custom-dark: #000000;
JSON
{
"hex": "#9f1a45",
"rgb": {
"r": 159,
"g": 26,
"b": 69
},
"hsl": {
"h": 340.602,
"s": 71.892,
"l": 36.275
},
"oklch": {
"l": 0.46202,
"c": 0.1674,
"h": 8.8
},
"luminance": 0.08539
}Semantic roles & 50–950 ramp
primary
#9F1A45
secondary
#50C59F
accent
#EFB439
background
#FCF6F7
surface
#F9EBED
border
#D2C6C8
text
#140708
muted
#827A7B