#9D2F79#9D2F79
#9D2F79 is a mid, vivid pink. Relative luminance 0.106; OKLCH L 49.5% C 0.165 H 343.6°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).
Color values
| HEX | #9D2F79 |
|---|---|
| RGB | rgb(157, 47, 121) |
| HSL | hsl(320, 54%, 40%) |
| HSV | hsv(320, 70%, 62%) |
| CMYK | cmyk(0%, 70.1%, 22.9%, 38.4%) |
| CIE-LAB | lab(38.87, 52.59, -17.47) |
| CIE-LCH | lch(38.87, 55.42, 341.62°) |
| OKLab | oklab(49.48% 0.1583 -0.0466) |
| OKLCH | oklch(49.48% 0.165 343.6) |
| XYZ | xyz(18.3730, 10.5834, 19.1607) |
| Luminance | 0.1058 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 5.00
Warm Purple
#952E8F
ΔE00 5.95
Light Eggplant
#894585
ΔE00 6.47
Bruise
#7E4071
ΔE00 6.80
Magenta (survey)
#C20078
ΔE00 6.98
Deep Magenta
#A0025C
ΔE00 7.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D2F79 #2F9D53
analogous
#8A2F9D #9D2F79 #9D2F42
triadic
#9D2F79 #799D2F #2F799D
tetradic
#9D2F79 #9D8A2F #2F9D53 #2F429D
square
#9D2F79 #9D8A2F #2F9D53 #2F429D
split-complementary
#9D2F79 #429D2F #2F9D8A
monochromatic
#3F1330 #6E2155 #9D2F79 #C7439B #D572B4
Accessibility & contrast
On white
6.74
#9D2F79 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.12
#9D2F79 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9D2F79
6.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D2F79 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9D2F79 | 1.00 | 6.74 | 3.12 | 6.74 |
| #FFFFFF | 6.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3A507B
Deuteranopia (green-blind)
#5B6276
Tritanopia (blue-blind)
#A72F50
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #9d2f79; /* rgb */ color: rgb(157, 47, 121); /* oklch */ color: oklch(49.5% 0.165 343.6);
Tailwind
colors: {
custom: {
50: '#bd71a0',
500: '#9d2f79',
950: '#000000',
},
}SCSS
$custom: #9d2f79; $custom-light: #bd71a0; $custom-dark: #000000;
JSON
{
"hex": "#9d2f79",
"rgb": {
"r": 157,
"g": 47,
"b": 121
},
"hsl": {
"h": 319.636,
"s": 53.922,
"l": 40
},
"oklch": {
"l": 0.49479,
"c": 0.16498,
"h": 343.6
},
"luminance": 0.10582
}Semantic roles & 50–950 ramp
primary
#9D2F79
secondary
#6BBC86
accent
#DD7B4B
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E