#9F0F4D#9F0F4D
#9F0F4D is a mid, vivid pink. Relative luminance 0.082; OKLCH L 45.8% C 0.176 H 3.6°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).
Color values
| HEX | #9F0F4D |
|---|---|
| RGB | rgb(159, 15, 77) |
| HSL | hsl(334, 83%, 34%) |
| HSV | hsv(334, 91%, 62%) |
| CMYK | cmyk(0%, 90.6%, 51.6%, 37.6%) |
| CIE-LAB | lab(34.50, 57.31, 4.08) |
| CIE-LCH | lch(34.50, 57.45, 4.07°) |
| OKLab | oklab(45.84% 0.1759 0.0109) |
| OKLCH | oklch(45.84% 0.176 3.6) |
| XYZ | xyz(15.8099, 8.2507, 7.7798) |
| Luminance | 0.0825 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 1.21
Purple Red
#990147
ΔE00 1.75
Violet Red
#A50055
ΔE00 2.26
Mulberry
#920A4E
ΔE00 3.52
Dark Fuchsia
#9D0759
ΔE00 3.98
Purplish Red
#B0054B
ΔE00 4.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F0F4D #0F9F61
analogous
#9F0F95 #9F0F4D #9F190F
triadic
#9F0F4D #4D9F0F #0F4D9F
tetradic
#9F0F4D #959F0F #0F9F61 #190F9F
square
#9F0F4D #959F0F #0F9F61 #190F9F
split-complementary
#9F0F4D #0F9F19 #0F959F
monochromatic
#2F0417 #670A32 #9F0F4D #D71468 #ED3C88
Accessibility & contrast
On white
7.93
#9F0F4D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.65
#9F0F4D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9F0F4D
7.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F0F4D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F0F4D | 1.00 | 7.93 | 2.65 | 7.93 |
| #FFFFFF | 7.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3A404E
Deuteranopia (green-blind)
#5F5B4A
Tritanopia (blue-blind)
#AE002E
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #9f0f4d; /* rgb */ color: rgb(159, 15, 77); /* oklch */ color: oklch(45.8% 0.176 3.6);
Tailwind
colors: {
custom: {
50: '#c2647e',
500: '#9f0f4d',
950: '#000000',
},
}SCSS
$custom: #9f0f4d; $custom-light: #c2647e; $custom-dark: #000000;
JSON
{
"hex": "#9f0f4d",
"rgb": {
"r": 159,
"g": 15,
"b": 77
},
"hsl": {
"h": 334.167,
"s": 82.759,
"l": 34.118
},
"oklch": {
"l": 0.45842,
"c": 0.17627,
"h": 3.6
},
"luminance": 0.08248
}Semantic roles & 50–950 ramp
primary
#9F0F4D
secondary
#3ECC8F
accent
#F9A22F
background
#FCF6F7
surface
#F9EBEE
border
#D2C6C9
text
#140609
muted
#827A7B