#9F123F#9F123F
#9F123F is a mid, vivid pink. Relative luminance 0.082; OKLCH L 45.6% C 0.172 H 10.8°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).
Color values
| HEX | #9F123F |
|---|---|
| RGB | rgb(159, 18, 63) |
| HSL | hsl(341, 80%, 35%) |
| HSV | hsv(341, 89%, 62%) |
| CMYK | cmyk(0%, 88.7%, 60.4%, 37.6%) |
| CIE-LAB | lab(34.32, 55.75, 12.99) |
| CIE-LCH | lch(34.32, 57.24, 13.11°) |
| OKLab | oklab(45.6% 0.1688 0.0322) |
| OKLCH | oklch(45.6% 0.172 10.8) |
| XYZ | xyz(15.4132, 8.1648, 5.4660) |
| Luminance | 0.0816 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Cranberry
#9E003A
ΔE00 1.31
Raspberry (survey)
#B00149
ΔE00 3.48
Purplish Red
#B0054B
ΔE00 3.76
Rouge
#AB1239
ΔE00 4.11
Red Wine
#8C0034
ΔE00 4.30
Purple Red
#990147
ΔE00 4.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F123F #129F72
analogous
#9F1286 #9F123F #9F2C12
triadic
#9F123F #3F9F12 #123F9F
tetradic
#9F123F #869F12 #129F72 #2C129F
square
#9F123F #869F12 #129F72 #2C129F
split-complementary
#9F123F #129F2C #12869F
monochromatic
#310613 #680C29 #9F123F #D61855 #EA4277
Accessibility & contrast
On white
7.98
#9F123F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.63
#9F123F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9F123F
7.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F123F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F123F | 1.00 | 7.98 | 2.63 | 7.98 |
| #FFFFFF | 7.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F3F40
Deuteranopia (green-blind)
#625B3B
Tritanopia (blue-blind)
#AE0028
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #9f123f; /* rgb */ color: rgb(159, 18, 63); /* oklch */ color: oklch(45.6% 0.172 10.8);
Tailwind
colors: {
custom: {
50: '#c36473',
500: '#9f123f',
950: '#000000',
},
}SCSS
$custom: #9f123f; $custom-light: #c36473; $custom-dark: #000000;
JSON
{
"hex": "#9f123f",
"rgb": {
"r": 159,
"g": 18,
"b": 63
},
"hsl": {
"h": 340.851,
"s": 79.661,
"l": 34.706
},
"oklch": {
"l": 0.45595,
"c": 0.17187,
"h": 10.8
},
"luminance": 0.08162
}Semantic roles & 50–950 ramp
primary
#9F123F
secondary
#43CA9F
accent
#F6B732
background
#FCF6F6
surface
#F9EBEC
border
#D2C6C7
text
#140608
muted
#827A7B