#9F1F4E#9F1F4E
#9F1F4E is a mid, vivid pink. Relative luminance 0.089; OKLCH L 46.8% C 0.165 H 4.8°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).
Color values
| HEX | #9F1F4E |
|---|---|
| RGB | rgb(159, 31, 78) |
| HSL | hsl(338, 67%, 37%) |
| HSV | hsv(338, 81%, 62%) |
| CMYK | cmyk(0%, 80.5%, 50.9%, 37.6%) |
| CIE-LAB | lab(35.80, 53.76, 5.28) |
| CIE-LCH | lch(35.80, 54.02, 5.61°) |
| OKLab | oklab(46.8% 0.1645 0.014) |
| OKLCH | oklch(46.8% 0.165 4.8) |
| XYZ | xyz(16.1647, 8.9032, 8.0736) |
| Luminance | 0.0890 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 2.42
Purple Red
#990147
ΔE00 2.99
Violet Red
#A50055
ΔE00 3.33
Purplish Red
#B0054B
ΔE00 3.50
Raspberry (survey)
#B00149
ΔE00 3.77
Mulberry
#920A4E
ΔE00 4.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F1F4E #1F9F70
analogous
#9F1F8E #9F1F4E #9F301F
triadic
#9F1F4E #4E9F1F #1F4E9F
tetradic
#9F1F4E #8E9F1F #1F9F70 #301F9F
square
#9F1F4E #8E9F1F #1F9F70 #301F9F
split-complementary
#9F1F4E #1F9F30 #1F8E9F
monochromatic
#390B1C #6C1535 #9F1F4E #D22967 #DF5A8B
Accessibility & contrast
On white
7.55
#9F1F4E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.78
#9F1F4E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9F1F4E
7.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F1F4E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F1F4E | 1.00 | 7.55 | 2.78 | 7.55 |
| #FFFFFF | 7.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#40444F
Deuteranopia (green-blind)
#625D4B
Tritanopia (blue-blind)
#AE0034
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #9f1f4e; /* rgb */ color: rgb(159, 31, 78); /* oklch */ color: oklch(46.8% 0.165 4.8);
Tailwind
colors: {
custom: {
50: '#c1697f',
500: '#9f1f4e',
950: '#000000',
},
}SCSS
$custom: #9f1f4e; $custom-light: #c1697f; $custom-dark: #000000;
JSON
{
"hex": "#9f1f4e",
"rgb": {
"r": 159,
"g": 31,
"b": 78
},
"hsl": {
"h": 337.969,
"s": 67.368,
"l": 37.255
},
"oklch": {
"l": 0.46801,
"c": 0.16511,
"h": 4.8
},
"luminance": 0.08901
}Semantic roles & 50–950 ramp
primary
#9F1F4E
secondary
#57C39B
accent
#EAAB3E
background
#FCF6F7
surface
#F8ECEE
border
#D1C7C9
text
#13070A
muted
#827A7C