#9F1A4B#9F1A4B
#9F1A4B is a mid, vivid pink. Relative luminance 0.086; OKLCH L 46.4% C 0.169 H 5.7°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).
Color values
| HEX | #9F1A4B |
|---|---|
| RGB | rgb(159, 26, 75) |
| HSL | hsl(338, 72%, 36%) |
| HSV | hsv(338, 84%, 62%) |
| CMYK | cmyk(0%, 83.6%, 52.8%, 37.6%) |
| CIE-LAB | lab(35.24, 54.85, 6.44) |
| CIE-LCH | lch(35.24, 55.23, 6.69°) |
| OKLab | oklab(46.37% 0.1678 0.0168) |
| OKLCH | oklch(46.37% 0.169 5.7) |
| XYZ | xyz(15.9390, 8.6200, 7.4798) |
| Luminance | 0.0862 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 2.29
Purple Red
#990147
ΔE00 2.59
Purplish Red
#B0054B
ΔE00 3.24
Raspberry (survey)
#B00149
ΔE00 3.43
Violet Red
#A50055
ΔE00 3.57
Cranberry
#9E003A
ΔE00 4.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F1A4B #1A9F6E
analogous
#9F1A8E #9F1A4B #9F2C1A
triadic
#9F1A4B #4B9F1A #1A4B9F
tetradic
#9F1A4B #8E9F1A #1A9F6E #2C1A9F
square
#9F1A4B #8E9F1A #1A9F6E #2C1A9F
split-complementary
#9F1A4B #1A9F2C #1A8E9F
monochromatic
#360919 #6A1132 #9F1A4B #D42364 #E35187
Accessibility & contrast
On white
7.71
#9F1A4B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.72
#9F1A4B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9F1A4B
7.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F1A4B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F1A4B | 1.00 | 7.71 | 2.72 | 7.71 |
| #FFFFFF | 7.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F424C
Deuteranopia (green-blind)
#615C48
Tritanopia (blue-blind)
#AE0031
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #9f1a4b; /* rgb */ color: rgb(159, 26, 75); /* oklch */ color: oklch(46.4% 0.169 5.7);
Tailwind
colors: {
custom: {
50: '#c2677d',
500: '#9f1a4b',
950: '#000000',
},
}SCSS
$custom: #9f1a4b; $custom-light: #c2677d; $custom-dark: #000000;
JSON
{
"hex": "#9f1a4b",
"rgb": {
"r": 159,
"g": 26,
"b": 75
},
"hsl": {
"h": 337.895,
"s": 71.892,
"l": 36.275
},
"oklch": {
"l": 0.46367,
"c": 0.16859,
"h": 5.7
},
"luminance": 0.08618
}Semantic roles & 50–950 ramp
primary
#9F1A4B
secondary
#50C59A
accent
#EFAC39
background
#FCF6F7
surface
#F9EBEE
border
#D2C6C9
text
#140709
muted
#827A7B