#9F1F6B#9F1F6B
#9F1F6B is a mid, vivid pink. Relative luminance 0.094; OKLCH L 47.8% C 0.176 H 349.9°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).
Color values
| HEX | #9F1F6B |
|---|---|
| RGB | rgb(159, 31, 107) |
| HSL | hsl(324, 67%, 37%) |
| HSV | hsv(324, 81%, 62%) |
| CMYK | cmyk(0%, 80.5%, 32.7%, 37.6%) |
| CIE-LAB | lab(36.77, 56.68, -11.86) |
| CIE-LCH | lch(36.77, 57.91, 348.18°) |
| OKLab | oklab(47.83% 0.1736 -0.031) |
| OKLCH | oklch(47.83% 0.176 349.9) |
| XYZ | xyz(17.4429, 9.4145, 14.8057) |
| Luminance | 0.0941 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 2.27
Deep Magenta
#A0025C
ΔE00 3.61
Dark Fuchsia
#9D0759
ΔE00 4.10
Dark Magenta
#960056
ΔE00 4.76
Violet Red
#A50055
ΔE00 5.75
Reddish Purple
#910951
ΔE00 5.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F1F6B #1F9F53
analogous
#931F9F #9F1F6B #9F1F2B
triadic
#9F1F6B #6B9F1F #1F6B9F
tetradic
#9F1F6B #9F931F #1F9F53 #1F2B9F
square
#9F1F6B #9F931F #1F9F53 #1F2B9F
split-complementary
#9F1F6B #2B9F1F #1F9F93
monochromatic
#390B26 #6C1549 #9F1F6B #D2298D #DF5AA9
Accessibility & contrast
On white
7.29
#9F1F6B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.88
#9F1F6B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9F1F6B
7.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F1F6B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F1F6B | 1.00 | 7.29 | 2.88 | 7.29 |
| #FFFFFF | 7.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#36486D
Deuteranopia (green-blind)
#5B5F68
Tritanopia (blue-blind)
#AB1543
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #9f1f6b; /* rgb */ color: rgb(159, 31, 107); /* oklch */ color: oklch(47.8% 0.176 349.9);
Tailwind
colors: {
custom: {
50: '#c06a95',
500: '#9f1f6b',
950: '#000000',
},
}SCSS
$custom: #9f1f6b; $custom-light: #c06a95; $custom-dark: #000000;
JSON
{
"hex": "#9f1f6b",
"rgb": {
"r": 159,
"g": 31,
"b": 107
},
"hsl": {
"h": 324.375,
"s": 67.368,
"l": 37.255
},
"oklch": {
"l": 0.47831,
"c": 0.17633,
"h": 349.9
},
"luminance": 0.09412
}Semantic roles & 50–950 ramp
primary
#9F1F6B
secondary
#57C383
accent
#EA843E
background
#FCF6F9
surface
#F8ECF1
border
#D1C7CB
text
#13070D
muted
#827A7E