#9F2F74#9F2F74
#9F2F74 is a mid, vivid pink. Relative luminance 0.107; OKLCH L 49.6% C 0.163 H 346.8°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).
Color values
| HEX | #9F2F74 |
|---|---|
| RGB | rgb(159, 47, 116) |
| HSL | hsl(323, 54%, 40%) |
| HSV | hsv(323, 70%, 62%) |
| CMYK | cmyk(0%, 70.4%, 27%, 37.6%) |
| CIE-LAB | lab(39.01, 52.47, -14.11) |
| CIE-LCH | lch(39.01, 54.33, 344.95°) |
| OKLab | oklab(49.58% 0.1591 -0.0373) |
| OKLCH | oklch(49.58% 0.163 346.8) |
| XYZ | xyz(18.4678, 10.6669, 17.6059) |
| Luminance | 0.1066 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.60
Deep Magenta
#A0025C
ΔE00 6.05
Magenta (survey)
#C20078
ΔE00 6.25
Dark Fuchsia
#9D0759
ΔE00 6.49
Mediumvioletred
#C71585
ΔE00 7.17
Dark Magenta
#960056
ΔE00 7.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F2F74 #2F9F5A
analogous
#922F9F #9F2F74 #9F2F3C
triadic
#9F2F74 #749F2F #2F749F
tetradic
#9F2F74 #9F922F #2F9F5A #2F3C9F
square
#9F2F74 #9F922F #2F9F5A #2F3C9F
split-complementary
#9F2F74 #3C9F2F #2F9F92
monochromatic
#41132F #702152 #9F2F74 #C84495 #D673B0
Accessibility & contrast
On white
6.70
#9F2F74 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.13
#9F2F74 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9F2F74
6.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F2F74 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F2F74 | 1.00 | 6.70 | 3.13 | 6.70 |
| #FFFFFF | 6.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3D5076
Deuteranopia (green-blind)
#5E6371
Tritanopia (blue-blind)
#AA2C4D
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #9f2f74; /* rgb */ color: rgb(159, 47, 116); /* oklch */ color: oklch(49.6% 0.163 346.8);
Tailwind
colors: {
custom: {
50: '#bf719c',
500: '#9f2f74',
950: '#000000',
},
}SCSS
$custom: #9f2f74; $custom-light: #bf719c; $custom-dark: #000000;
JSON
{
"hex": "#9f2f74",
"rgb": {
"r": 159,
"g": 47,
"b": 116
},
"hsl": {
"h": 323.036,
"s": 54.369,
"l": 40.392
},
"oklch": {
"l": 0.49583,
"c": 0.16342,
"h": 346.8
},
"luminance": 0.10665
}Semantic roles & 50–950 ramp
primary
#9F2F74
secondary
#6DBD8C
accent
#DE834A
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E