#9D2D79#9D2D79
#9D2D79 is a mid, vivid pink. Relative luminance 0.104; OKLCH L 49.3% C 0.168 H 343.4°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).
Color values
| HEX | #9D2D79 |
|---|---|
| RGB | rgb(157, 45, 121) |
| HSL | hsl(319, 55%, 40%) |
| HSV | hsv(319, 71%, 62%) |
| CMYK | cmyk(0%, 71.3%, 22.9%, 38.4%) |
| CIE-LAB | lab(38.60, 53.35, -17.89) |
| CIE-LCH | lch(38.60, 56.27, 341.46°) |
| OKLab | oklab(49.28% 0.1606 -0.0478) |
| OKLCH | oklch(49.28% 0.168 343.4) |
| XYZ | xyz(18.2948, 10.4272, 19.1346) |
| Luminance | 0.1042 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.78
Warm Purple
#952E8F
ΔE00 5.81
Light Eggplant
#894585
ΔE00 6.59
Bruise
#7E4071
ΔE00 6.92
Deep Magenta
#A0025C
ΔE00 6.99
Magenta (survey)
#C20078
ΔE00 7.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D2D79 #2D9D51
analogous
#892D9D #9D2D79 #9D2D41
triadic
#9D2D79 #799D2D #2D799D
tetradic
#9D2D79 #9D892D #2D9D51 #2D419D
square
#9D2D79 #9D892D #2D9D51 #2D419D
split-complementary
#9D2D79 #419D2D #2D9D89
monochromatic
#3E1230 #6D1F54 #9D2D79 #C83F9C #D66FB5
Accessibility & contrast
On white
6.81
#9D2D79 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.09
#9D2D79 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9D2D79
6.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D2D79 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9D2D79 | 1.00 | 6.81 | 3.09 | 6.81 |
| #FFFFFF | 6.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#384F7B
Deuteranopia (green-blind)
#5A6276
Tritanopia (blue-blind)
#A72D4F
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #9d2d79; /* rgb */ color: rgb(157, 45, 121); /* oklch */ color: oklch(49.3% 0.168 343.4);
Tailwind
colors: {
custom: {
50: '#be70a0',
500: '#9d2d79',
950: '#000000',
},
}SCSS
$custom: #9d2d79; $custom-light: #be70a0; $custom-dark: #000000;
JSON
{
"hex": "#9d2d79",
"rgb": {
"r": 157,
"g": 45,
"b": 121
},
"hsl": {
"h": 319.286,
"s": 55.446,
"l": 39.608
},
"oklch": {
"l": 0.49281,
"c": 0.16754,
"h": 343.4
},
"luminance": 0.10425
}Semantic roles & 50–950 ramp
primary
#9D2D79
secondary
#69BD84
accent
#DF7949
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E