#9B2A74#9B2A74
#9B2A74 is a mid, vivid pink. Relative luminance 0.099; OKLCH L 48.4% C 0.167 H 345.0°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).
Color values
| HEX | #9B2A74 |
|---|---|
| RGB | rgb(155, 42, 116) |
| HSL | hsl(321, 57%, 39%) |
| HSV | hsv(321, 73%, 61%) |
| CMYK | cmyk(0%, 72.9%, 25.2%, 39.2%) |
| CIE-LAB | lab(37.64, 53.24, -16.27) |
| CIE-LCH | lch(37.64, 55.67, 343.00°) |
| OKLab | oklab(48.45% 0.161 -0.0433) |
| OKLCH | oklch(48.45% 0.167 345) |
| XYZ | xyz(17.4986, 9.8873, 17.5065) |
| Luminance | 0.0988 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 3.89
Deep Magenta
#A0025C
ΔE00 6.05
Dark Fuchsia
#9D0759
ΔE00 6.48
Warm Purple
#952E8F
ΔE00 6.54
Dark Magenta
#960056
ΔE00 6.90
Bruise
#7E4071
ΔE00 6.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B2A74 #2A9B51
analogous
#892A9B #9B2A74 #9B2A3B
triadic
#9B2A74 #749B2A #2A749B
tetradic
#9B2A74 #9B892A #2A9B51 #2A3B9B
square
#9B2A74 #9B892A #2A9B51 #2A3B9B
split-complementary
#9B2A74 #3B9B2A #2A9B89
monochromatic
#3B102C #6B1D50 #9B2A74 #C93997 #D669B1
Accessibility & contrast
On white
7.05
#9B2A74 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.98
#9B2A74 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9B2A74
7.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B2A74 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9B2A74 | 1.00 | 7.05 | 2.98 | 7.05 |
| #FFFFFF | 7.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#374C76
Deuteranopia (green-blind)
#595F71
Tritanopia (blue-blind)
#A5284B
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #9b2a74; /* rgb */ color: rgb(155, 42, 116); /* oklch */ color: oklch(48.4% 0.167 345.0);
Tailwind
colors: {
custom: {
50: '#bc6e9c',
500: '#9b2a74',
950: '#000000',
},
}SCSS
$custom: #9b2a74; $custom-light: #bc6e9c; $custom-dark: #000000;
JSON
{
"hex": "#9b2a74",
"rgb": {
"r": 155,
"g": 42,
"b": 116
},
"hsl": {
"h": 320.708,
"s": 57.36,
"l": 38.627
},
"oklch": {
"l": 0.48446,
"c": 0.1667,
"h": 345
},
"luminance": 0.09885
}Semantic roles & 50–950 ramp
primary
#9B2A74
secondary
#64BD83
accent
#E17C47
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#12080E
muted
#817B7E