#9D2479#9D2479
#9D2479 is a mid, vivid pink. Relative luminance 0.098; OKLCH L 48.5% C 0.178 H 342.9°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).
Color values
| HEX | #9D2479 |
|---|---|
| RGB | rgb(157, 36, 121) |
| HSL | hsl(318, 63%, 38%) |
| HSV | hsv(318, 77%, 62%) |
| CMYK | cmyk(0%, 77.1%, 22.9%, 38.4%) |
| CIE-LAB | lab(37.50, 56.45, -19.58) |
| CIE-LCH | lch(37.50, 59.75, 340.87°) |
| OKLab | oklab(48.49% 0.1701 -0.0525) |
| OKLCH | oklch(48.49% 0.178 342.9) |
| XYZ | xyz(17.9874, 9.8122, 19.0321) |
| Luminance | 0.0981 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.09
Warm Purple
#952E8F
ΔE00 5.45
Deep Magenta
#A0025C
ΔE00 6.80
Barney Purple
#A00498
ΔE00 6.85
Light Eggplant
#894585
ΔE00 7.23
Magenta (survey)
#C20078
ΔE00 7.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D2479 #249D48
analogous
#84249D #9D2479 #9D243D
triadic
#9D2479 #799D24 #24799D
tetradic
#9D2479 #9D8424 #249D48 #243D9D
square
#9D2479 #9D8424 #249D48 #243D9D
split-complementary
#9D2479 #3D9D24 #249D84
monochromatic
#390D2C #6B1953 #9D2479 #CF2F9F #DB61B6
Accessibility & contrast
On white
7.09
#9D2479 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.96
#9D2479 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9D2479
7.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D2479 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9D2479 | 1.00 | 7.09 | 2.96 | 7.09 |
| #FFFFFF | 7.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#314C7B
Deuteranopia (green-blind)
#575F76
Tritanopia (blue-blind)
#A7254C
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #9d2479; /* rgb */ color: rgb(157, 36, 121); /* oklch */ color: oklch(48.5% 0.178 342.9);
Tailwind
colors: {
custom: {
50: '#be6ca0',
500: '#9d2479',
950: '#000000',
},
}SCSS
$custom: #9d2479; $custom-light: #be6ca0; $custom-dark: #000000;
JSON
{
"hex": "#9d2479",
"rgb": {
"r": 157,
"g": 36,
"b": 121
},
"hsl": {
"h": 317.851,
"s": 62.694,
"l": 37.843
},
"oklch": {
"l": 0.48485,
"c": 0.17798,
"h": 342.9
},
"luminance": 0.0981
}Semantic roles & 50–950 ramp
primary
#9D2479
secondary
#5DC07A
accent
#E67342
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13080E
muted
#827A7E