#9B2E7D#9B2E7D
#9B2E7D is a mid, vivid pink. Relative luminance 0.104; OKLCH L 49.2% C 0.167 H 340.8°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).
Color values
| HEX | #9B2E7D |
|---|---|
| RGB | rgb(155, 46, 125) |
| HSL | hsl(317, 54%, 39%) |
| HSV | hsv(317, 70%, 61%) |
| CMYK | cmyk(0%, 70.3%, 19.4%, 39.2%) |
| CIE-LAB | lab(38.56, 53.00, -20.46) |
| CIE-LCH | lch(38.56, 56.82, 338.89°) |
| OKLab | oklab(49.24% 0.1582 -0.0551) |
| OKLCH | oklch(49.24% 0.167 340.8) |
| XYZ | xyz(18.1967, 10.4050, 20.4481) |
| Luminance | 0.1040 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 4.68
Red Violet
#9E0168
ΔE00 5.50
Light Eggplant
#894585
ΔE00 5.84
Bruise
#7E4071
ΔE00 6.67
Barney Purple
#A00498
ΔE00 6.78
Ugly Purple
#A442A0
ΔE00 7.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B2E7D #2E9B4C
analogous
#832E9B #9B2E7D #9B2E46
triadic
#9B2E7D #7D9B2E #2E7D9B
tetradic
#9B2E7D #9B832E #2E9B4C #2E469B
square
#9B2E7D #9B832E #2E9B4C #2E469B
split-complementary
#9B2E7D #469B2E #2E9B83
monochromatic
#3D1231 #6C2057 #9B2E7D #C640A1 #D46FB8
Accessibility & contrast
On white
6.82
#9B2E7D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.08
#9B2E7D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9B2E7D
6.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B2E7D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9B2E7D | 1.00 | 6.82 | 3.08 | 6.82 |
| #FFFFFF | 6.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#36507F
Deuteranopia (green-blind)
#58617A
Tritanopia (blue-blind)
#A43051
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #9b2e7d; /* rgb */ color: rgb(155, 46, 125); /* oklch */ color: oklch(49.2% 0.167 340.8);
Tailwind
colors: {
custom: {
50: '#bc70a3',
500: '#9b2e7d',
950: '#000000',
},
}SCSS
$custom: #9b2e7d; $custom-light: #bc70a3; $custom-dark: #000000;
JSON
{
"hex": "#9b2e7d",
"rgb": {
"r": 155,
"g": 46,
"b": 125
},
"hsl": {
"h": 316.514,
"s": 54.229,
"l": 39.412
},
"oklch": {
"l": 0.49244,
"c": 0.16749,
"h": 340.8
},
"luminance": 0.10403
}Semantic roles & 50–950 ramp
primary
#9B2E7D
secondary
#69BC80
accent
#DE734A
background
#FCF7FA
surface
#F8EDF3
border
#D1C8CD
text
#12080F
muted
#817B7F