#9F1A42#9F1A42
#9F1A42 is a mid, vivid pink. Relative luminance 0.085; OKLCH L 46.1% C 0.167 H 10.3°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).
Color values
| HEX | #9F1A42 |
|---|---|
| RGB | rgb(159, 26, 66) |
| HSL | hsl(342, 72%, 36%) |
| HSV | hsv(342, 84%, 62%) |
| CMYK | cmyk(0%, 83.6%, 58.5%, 37.6%) |
| CIE-LAB | lab(35.01, 54.18, 11.97) |
| CIE-LCH | lch(35.01, 55.48, 12.46°) |
| OKLab | oklab(46.13% 0.1643 0.03) |
| OKLCH | oklch(46.13% 0.167 10.3) |
| XYZ | xyz(15.6524, 8.5054, 5.9707) |
| Luminance | 0.0850 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Cranberry
#9E003A
ΔE00 2.13
Raspberry (survey)
#B00149
ΔE00 3.26
Purplish Red
#B0054B
ΔE00 3.46
Rouge
#AB1239
ΔE00 4.33
Purple Red
#990147
ΔE00 4.40
Berry
#990F4B
ΔE00 4.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F1A42 #1A9F77
analogous
#9F1A85 #9F1A42 #9F351A
triadic
#9F1A42 #429F1A #1A429F
tetradic
#9F1A42 #859F1A #1A9F77 #351A9F
square
#9F1A42 #859F1A #1A9F77 #351A9F
split-complementary
#9F1A42 #1A9F35 #1A859F
monochromatic
#360916 #6A112C #9F1A42 #D42358 #E3517D
Accessibility & contrast
On white
7.78
#9F1A42 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.70
#9F1A42 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9F1A42
7.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F1A42 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F1A42 | 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)
#414143
Deuteranopia (green-blind)
#635C3F
Tritanopia (blue-blind)
#AE002C
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #9f1a42; /* rgb */ color: rgb(159, 26, 66); /* oklch */ color: oklch(46.1% 0.167 10.3);
Tailwind
colors: {
custom: {
50: '#c26776',
500: '#9f1a42',
950: '#000000',
},
}SCSS
$custom: #9f1a42; $custom-light: #c26776; $custom-dark: #000000;
JSON
{
"hex": "#9f1a42",
"rgb": {
"r": 159,
"g": 26,
"b": 66
},
"hsl": {
"h": 341.955,
"s": 71.892,
"l": 36.275
},
"oklch": {
"l": 0.46125,
"c": 0.16696,
"h": 10.3
},
"luminance": 0.08503
}Semantic roles & 50–950 ramp
primary
#9F1A42
secondary
#50C5A2
accent
#EFB839
background
#FCF6F7
surface
#F9EBED
border
#D2C6C8
text
#140708
muted
#827A7B