#9D2D7C#9D2D7C
#9D2D7C is a mid, vivid pink. Relative luminance 0.105; OKLCH L 49.4% C 0.169 H 342.0°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).
Color values
| HEX | #9D2D7C |
|---|---|
| RGB | rgb(157, 45, 124) |
| HSL | hsl(318, 55%, 40%) |
| HSV | hsv(318, 71%, 62%) |
| CMYK | cmyk(0%, 71.3%, 21%, 38.4%) |
| CIE-LAB | lab(38.73, 53.77, -19.55) |
| CIE-LCH | lch(38.73, 57.22, 340.02°) |
| OKLab | oklab(49.42% 0.1611 -0.0525) |
| OKLCH | oklch(49.42% 0.169 342) |
| XYZ | xyz(18.4817, 10.5019, 20.1186) |
| Luminance | 0.1050 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 5.14
Red Violet
#9E0168
ΔE00 5.20
Light Eggplant
#894585
ΔE00 6.25
Bruise
#7E4071
ΔE00 6.95
Barney Purple
#A00498
ΔE00 7.07
Magenta (survey)
#C20078
ΔE00 7.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D2D7C #2D9D4E
analogous
#862D9D #9D2D7C #9D2D44
triadic
#9D2D7C #7C9D2D #2D7C9D
tetradic
#9D2D7C #9D862D #2D9D4E #2D449D
square
#9D2D7C #9D862D #2D9D4E #2D449D
split-complementary
#9D2D7C #449D2D #2D9D86
monochromatic
#3E1231 #6D1F56 #9D2D7C #C83FA0 #D66FB7
Accessibility & contrast
On white
6.77
#9D2D7C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.10
#9D2D7C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9D2D7C
6.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D2D7C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9D2D7C | 1.00 | 6.77 | 3.10 | 6.77 |
| #FFFFFF | 6.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#37507E
Deuteranopia (green-blind)
#596279
Tritanopia (blue-blind)
#A72E50
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #9d2d7c; /* rgb */ color: rgb(157, 45, 124); /* oklch */ color: oklch(49.4% 0.169 342.0);
Tailwind
colors: {
custom: {
50: '#bd70a2',
500: '#9d2d7c',
950: '#000000',
},
}SCSS
$custom: #9d2d7c; $custom-light: #bd70a2; $custom-dark: #000000;
JSON
{
"hex": "#9d2d7c",
"rgb": {
"r": 157,
"g": 45,
"b": 124
},
"hsl": {
"h": 317.679,
"s": 55.446,
"l": 39.608
},
"oklch": {
"l": 0.49419,
"c": 0.16948,
"h": 342
},
"luminance": 0.105
}Semantic roles & 50–950 ramp
primary
#9D2D7C
secondary
#69BD82
accent
#DF7549
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080F
muted
#827B7E