#9F2F76#9F2F76
#9F2F76 is a mid, vivid pink. Relative luminance 0.107; OKLCH L 49.7% C 0.165 H 345.8°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).
Color values
| HEX | #9F2F76 |
|---|---|
| RGB | rgb(159, 47, 118) |
| HSL | hsl(322, 54%, 40%) |
| HSV | hsv(322, 70%, 62%) |
| CMYK | cmyk(0%, 70.4%, 25.8%, 37.6%) |
| CIE-LAB | lab(39.09, 52.74, -15.23) |
| CIE-LCH | lch(39.09, 54.89, 343.89°) |
| OKLab | oklab(49.67% 0.1596 -0.0404) |
| OKLCH | oklch(49.67% 0.165 345.8) |
| XYZ | xyz(18.5854, 10.7139, 18.2252) |
| Luminance | 0.1071 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.73
Magenta (survey)
#C20078
ΔE00 6.36
Deep Magenta
#A0025C
ΔE00 6.41
Dark Fuchsia
#9D0759
ΔE00 6.86
Warm Purple
#952E8F
ΔE00 6.95
Mediumvioletred
#C71585
ΔE00 7.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F2F76 #2F9F58
analogous
#902F9F #9F2F76 #9F2F3E
triadic
#9F2F76 #769F2F #2F769F
tetradic
#9F2F76 #9F902F #2F9F58 #2F3E9F
square
#9F2F76 #9F902F #2F9F58 #2F3E9F
split-complementary
#9F2F76 #3E9F2F #2F9F90
monochromatic
#411330 #702153 #9F2F76 #C84497 #D673B1
Accessibility & contrast
On white
6.68
#9F2F76 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.14
#9F2F76 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9F2F76
6.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F2F76 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F2F76 | 1.00 | 6.68 | 3.14 | 6.68 |
| #FFFFFF | 6.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3C5078
Deuteranopia (green-blind)
#5D6373
Tritanopia (blue-blind)
#AA2D4E
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #9f2f76; /* rgb */ color: rgb(159, 47, 118); /* oklch */ color: oklch(49.7% 0.165 345.8);
Tailwind
colors: {
custom: {
50: '#bf719d',
500: '#9f2f76',
950: '#000000',
},
}SCSS
$custom: #9f2f76; $custom-light: #bf719d; $custom-dark: #000000;
JSON
{
"hex": "#9f2f76",
"rgb": {
"r": 159,
"g": 47,
"b": 118
},
"hsl": {
"h": 321.964,
"s": 54.369,
"l": 40.392
},
"oklch": {
"l": 0.49669,
"c": 0.16461,
"h": 345.8
},
"luminance": 0.10712
}Semantic roles & 50–950 ramp
primary
#9F2F76
secondary
#6DBD8A
accent
#DE804A
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E