#9F2D79#9F2D79
#9F2D79 is a mid, vivid pink. Relative luminance 0.106; OKLCH L 49.6% C 0.169 H 344.1°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).
Color values
| HEX | #9F2D79 |
|---|---|
| RGB | rgb(159, 45, 121) |
| HSL | hsl(320, 56%, 40%) |
| HSV | hsv(320, 72%, 62%) |
| CMYK | cmyk(0%, 71.7%, 23.9%, 37.6%) |
| CIE-LAB | lab(38.95, 53.89, -17.32) |
| CIE-LCH | lch(38.95, 56.61, 342.18°) |
| OKLab | oklab(49.6% 0.1625 -0.0462) |
| OKLCH | oklch(49.6% 0.169 344.1) |
| XYZ | xyz(18.6883, 10.6301, 19.1531) |
| Luminance | 0.1063 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.79
Warm Purple
#952E8F
ΔE00 6.12
Magenta (survey)
#C20078
ΔE00 6.60
Light Eggplant
#894585
ΔE00 6.84
Deep Magenta
#A0025C
ΔE00 6.86
Mediumvioletred
#C71585
ΔE00 7.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F2D79 #2D9F53
analogous
#8C2D9F #9F2D79 #9F2D40
triadic
#9F2D79 #799F2D #2D799F
tetradic
#9F2D79 #9F8C2D #2D9F53 #2D409F
square
#9F2D79 #9F8C2D #2D9F53 #2D409F
split-complementary
#9F2D79 #409F2D #2D9F8C
monochromatic
#401230 #6F2055 #9F2D79 #C9409B #D670B4
Accessibility & contrast
On white
6.72
#9F2D79 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.13
#9F2D79 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9F2D79
6.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F2D79 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F2D79 | 1.00 | 6.72 | 3.13 | 6.72 |
| #FFFFFF | 6.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#39507B
Deuteranopia (green-blind)
#5C6376
Tritanopia (blue-blind)
#A92C4F
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #9f2d79; /* rgb */ color: rgb(159, 45, 121); /* oklch */ color: oklch(49.6% 0.169 344.1);
Tailwind
colors: {
custom: {
50: '#bf709f',
500: '#9f2d79',
950: '#000000',
},
}SCSS
$custom: #9f2d79; $custom-light: #bf709f; $custom-dark: #000000;
JSON
{
"hex": "#9f2d79",
"rgb": {
"r": 159,
"g": 45,
"b": 121
},
"hsl": {
"h": 320,
"s": 55.882,
"l": 40
},
"oklch": {
"l": 0.49604,
"c": 0.16897,
"h": 344.1
},
"luminance": 0.10628
}Semantic roles & 50–950 ramp
primary
#9F2D79
secondary
#6ABE86
accent
#DF7B49
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E