#9D2E7B#9D2E7B
#9D2E7B is a mid, vivid pink. Relative luminance 0.106; OKLCH L 49.5% C 0.168 H 342.5°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).
Color values
| HEX | #9D2E7B |
|---|---|
| RGB | rgb(157, 46, 123) |
| HSL | hsl(318, 55%, 40%) |
| HSV | hsv(318, 71%, 62%) |
| CMYK | cmyk(0%, 70.7%, 21.7%, 38.4%) |
| CIE-LAB | lab(38.82, 53.26, -18.79) |
| CIE-LCH | lch(38.82, 56.47, 340.56°) |
| OKLab | oklab(49.47% 0.1598 -0.0503) |
| OKLCH | oklch(49.47% 0.168 342.5) |
| XYZ | xyz(18.4574, 10.5540, 19.8001) |
| Luminance | 0.1055 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 5.15
Warm Purple
#952E8F
ΔE00 5.42
Light Eggplant
#894585
ΔE00 6.28
Bruise
#7E4071
ΔE00 6.87
Magenta (survey)
#C20078
ΔE00 7.18
Barney Purple
#A00498
ΔE00 7.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D2E7B #2E9D50
analogous
#872E9D #9D2E7B #9D2E44
triadic
#9D2E7B #7B9D2E #2E7B9D
tetradic
#9D2E7B #9D872E #2E9D50 #2E449D
square
#9D2E7B #9D872E #2E9D50 #2E449D
split-complementary
#9D2E7B #449D2E #2E9D87
monochromatic
#3E1231 #6E2056 #9D2E7B #C7419E #D570B6
Accessibility & contrast
On white
6.75
#9D2E7B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.11
#9D2E7B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9D2E7B
6.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D2E7B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9D2E7B | 1.00 | 6.75 | 3.11 | 6.75 |
| #FFFFFF | 6.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#38507D
Deuteranopia (green-blind)
#5A6278
Tritanopia (blue-blind)
#A72F50
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #9d2e7b; /* rgb */ color: rgb(157, 46, 123); /* oklch */ color: oklch(49.5% 0.168 342.5);
Tailwind
colors: {
custom: {
50: '#bd70a1',
500: '#9d2e7b',
950: '#000000',
},
}SCSS
$custom: #9d2e7b; $custom-light: #bd70a1; $custom-dark: #000000;
JSON
{
"hex": "#9d2e7b",
"rgb": {
"r": 157,
"g": 46,
"b": 123
},
"hsl": {
"h": 318.378,
"s": 54.68,
"l": 39.804
},
"oklch": {
"l": 0.4947,
"c": 0.16756,
"h": 342.5
},
"luminance": 0.10552
}Semantic roles & 50–950 ramp
primary
#9D2E7B
secondary
#6ABD83
accent
#DE774A
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080F
muted
#827B7E