#9F124D#9F124D
#9F124D is a mid, vivid pink. Relative luminance 0.083; OKLCH L 46.0% C 0.175 H 3.8°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).
Color values
| HEX | #9F124D |
|---|---|
| RGB | rgb(159, 18, 77) |
| HSL | hsl(335, 80%, 35%) |
| HSV | hsv(335, 89%, 62%) |
| CMYK | cmyk(0%, 88.7%, 51.6%, 37.6%) |
| CIE-LAB | lab(34.68, 56.77, 4.34) |
| CIE-LCH | lch(34.68, 56.94, 4.37°) |
| OKLab | oklab(45.98% 0.1742 0.0116) |
| OKLCH | oklch(45.98% 0.175 3.8) |
| XYZ | xyz(15.8554, 8.3417, 7.7950) |
| Luminance | 0.0834 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 1.34
Purple Red
#990147
ΔE00 1.89
Violet Red
#A50055
ΔE00 2.41
Mulberry
#920A4E
ΔE00 3.70
Purplish Red
#B0054B
ΔE00 3.87
Raspberry (survey)
#B00149
ΔE00 4.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F124D #129F64
analogous
#9F1293 #9F124D #9F1E12
triadic
#9F124D #4D9F12 #124D9F
tetradic
#9F124D #939F12 #129F64 #1E129F
square
#9F124D #939F12 #129F64 #1E129F
split-complementary
#9F124D #129F1E #12939F
monochromatic
#310618 #680C32 #9F124D #D61868 #EA4288
Accessibility & contrast
On white
7.87
#9F124D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.67
#9F124D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9F124D
7.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F124D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F124D | 1.00 | 7.87 | 2.67 | 7.87 |
| #FFFFFF | 7.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3B404E
Deuteranopia (green-blind)
#5F5B4A
Tritanopia (blue-blind)
#AE002F
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #9f124d; /* rgb */ color: rgb(159, 18, 77); /* oklch */ color: oklch(46.0% 0.175 3.8);
Tailwind
colors: {
custom: {
50: '#c2657e',
500: '#9f124d',
950: '#000000',
},
}SCSS
$custom: #9f124d; $custom-light: #c2657e; $custom-dark: #000000;
JSON
{
"hex": "#9f124d",
"rgb": {
"r": 159,
"g": 18,
"b": 77
},
"hsl": {
"h": 334.894,
"s": 79.661,
"l": 34.706
},
"oklch": {
"l": 0.45977,
"c": 0.17458,
"h": 3.8
},
"luminance": 0.08339
}Semantic roles & 50–950 ramp
primary
#9F124D
secondary
#43CA91
accent
#F6A432
background
#FCF6F7
surface
#F9EBEE
border
#D2C6C9
text
#140709
muted
#827A7B