#9A2E7D#9A2E7D
#9A2E7D is a mid, vivid pink. Relative luminance 0.103; OKLCH L 49.1% C 0.167 H 340.4°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).
Color values
| HEX | #9A2E7D |
|---|---|
| RGB | rgb(154, 46, 125) |
| HSL | hsl(316, 54%, 39%) |
| HSV | hsv(316, 70%, 60%) |
| CMYK | cmyk(0%, 70.1%, 18.8%, 39.6%) |
| CIE-LAB | lab(38.39, 52.74, -20.75) |
| CIE-LCH | lch(38.39, 56.67, 338.53°) |
| OKLab | oklab(49.09% 0.1572 -0.0559) |
| OKLCH | oklch(49.09% 0.167 340.4) |
| XYZ | xyz(18.0056, 10.3064, 20.4391) |
| Luminance | 0.1031 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 4.54
Red Violet
#9E0168
ΔE00 5.55
Light Eggplant
#894585
ΔE00 5.73
Bruise
#7E4071
ΔE00 6.55
Barney Purple
#A00498
ΔE00 6.69
Ugly Purple
#A442A0
ΔE00 7.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A2E7D #2E9A4B
analogous
#812E9A #9A2E7D #9A2E47
triadic
#9A2E7D #7D9A2E #2E7D9A
tetradic
#9A2E7D #9A812E #2E9A4B #2E479A
square
#9A2E7D #9A812E #2E9A4B #2E479A
split-complementary
#9A2E7D #479A2E #2E9A81
monochromatic
#3C1231 #6B2057 #9A2E7D #C63FA2 #D46FB9
Accessibility & contrast
On white
6.86
#9A2E7D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.06
#9A2E7D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9A2E7D
6.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A2E7D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9A2E7D | 1.00 | 6.86 | 3.06 | 6.86 |
| #FFFFFF | 6.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#354F7F
Deuteranopia (green-blind)
#57617A
Tritanopia (blue-blind)
#A33151
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #9a2e7d; /* rgb */ color: rgb(154, 46, 125); /* oklch */ color: oklch(49.1% 0.167 340.4);
Tailwind
colors: {
custom: {
50: '#bb70a3',
500: '#9a2e7d',
950: '#000000',
},
}SCSS
$custom: #9a2e7d; $custom-light: #bb70a3; $custom-dark: #000000;
JSON
{
"hex": "#9a2e7d",
"rgb": {
"r": 154,
"g": 46,
"b": 125
},
"hsl": {
"h": 316.111,
"s": 54,
"l": 39.216
},
"oklch": {
"l": 0.49085,
"c": 0.1668,
"h": 340.4
},
"luminance": 0.10305
}Semantic roles & 50–950 ramp
primary
#9A2E7D
secondary
#69BB7F
accent
#DD724A
background
#FBF7FA
surface
#F7EDF3
border
#D0C8CD
text
#12080F
muted
#817B7F