#9D2E7C#9D2E7C
#9D2E7C is a mid, vivid pink. Relative luminance 0.106; OKLCH L 49.5% C 0.168 H 342.0°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).
Color values
| HEX | #9D2E7C |
|---|---|
| RGB | rgb(157, 46, 124) |
| HSL | hsl(318, 55%, 40%) |
| HSV | hsv(318, 71%, 62%) |
| CMYK | cmyk(0%, 70.7%, 21%, 38.4%) |
| CIE-LAB | lab(38.86, 53.40, -19.35) |
| CIE-LCH | lch(38.86, 56.79, 340.08°) |
| OKLab | oklab(49.52% 0.16 -0.0519) |
| OKLCH | oklch(49.52% 0.168 342) |
| XYZ | xyz(18.5203, 10.5791, 20.1315) |
| Luminance | 0.1058 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 5.20
Red Violet
#9E0168
ΔE00 5.29
Light Eggplant
#894585
ΔE00 6.17
Bruise
#7E4071
ΔE00 6.89
Barney Purple
#A00498
ΔE00 7.19
Magenta (survey)
#C20078
ΔE00 7.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D2E7C #2E9D4F
analogous
#872E9D #9D2E7C #9D2E44
triadic
#9D2E7C #7C9D2E #2E7C9D
tetradic
#9D2E7C #9D872E #2E9D4F #2E449D
square
#9D2E7C #9D872E #2E9D4F #2E449D
split-complementary
#9D2E7C #449D2E #2E9D87
monochromatic
#3E1231 #6E2057 #9D2E7C #C7419F #D570B7
Accessibility & contrast
On white
6.74
#9D2E7C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.12
#9D2E7C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9D2E7C
6.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D2E7C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9D2E7C | 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)
#37507E
Deuteranopia (green-blind)
#5A6279
Tritanopia (blue-blind)
#A72F51
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #9d2e7c; /* rgb */ color: rgb(157, 46, 124); /* oklch */ color: oklch(49.5% 0.168 342.0);
Tailwind
colors: {
custom: {
50: '#bd70a2',
500: '#9d2e7c',
950: '#000000',
},
}SCSS
$custom: #9d2e7c; $custom-light: #bd70a2; $custom-dark: #000000;
JSON
{
"hex": "#9d2e7c",
"rgb": {
"r": 157,
"g": 46,
"b": 124
},
"hsl": {
"h": 317.838,
"s": 54.68,
"l": 39.804
},
"oklch": {
"l": 0.49516,
"c": 0.16822,
"h": 342
},
"luminance": 0.10577
}Semantic roles & 50–950 ramp
primary
#9D2E7C
secondary
#6ABD83
accent
#DE764A
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080F
muted
#827B7E