#9B2A6E#9B2A6E
#9B2A6E is a mid, vivid pink. Relative luminance 0.098; OKLCH L 48.2% C 0.163 H 348.0°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).
Color values
| HEX | #9B2A6E |
|---|---|
| RGB | rgb(155, 42, 110) |
| HSL | hsl(324, 57%, 39%) |
| HSV | hsv(324, 73%, 61%) |
| CMYK | cmyk(0%, 72.9%, 29%, 39.2%) |
| CIE-LAB | lab(37.39, 52.45, -12.88) |
| CIE-LCH | lch(37.39, 54.01, 346.21°) |
| OKLab | oklab(48.19% 0.1596 -0.0339) |
| OKLCH | oklch(48.19% 0.163 348) |
| XYZ | xyz(17.1608, 9.7522, 15.7274) |
| Luminance | 0.0975 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 3.47
Deep Magenta
#A0025C
ΔE00 4.89
Dark Fuchsia
#9D0759
ΔE00 5.26
Dark Magenta
#960056
ΔE00 5.82
Reddish Purple
#910951
ΔE00 6.66
Violet Red
#A50055
ΔE00 6.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B2A6E #2A9B57
analogous
#8F2A9B #9B2A6E #9B2A35
triadic
#9B2A6E #6E9B2A #2A6E9B
tetradic
#9B2A6E #9B8F2A #2A9B57 #2A359B
square
#9B2A6E #9B8F2A #2A9B57 #2A359B
split-complementary
#9B2A6E #359B2A #2A9B8F
monochromatic
#3B102A #6B1D4C #9B2A6E #C93990 #D669AB
Accessibility & contrast
On white
7.12
#9B2A6E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.95
#9B2A6E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9B2A6E
7.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B2A6E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9B2A6E | 1.00 | 7.12 | 2.95 | 7.12 |
| #FFFFFF | 7.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3A4B70
Deuteranopia (green-blind)
#5B5F6B
Tritanopia (blue-blind)
#A62548
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #9b2a6e; /* rgb */ color: rgb(155, 42, 110); /* oklch */ color: oklch(48.2% 0.163 348.0);
Tailwind
colors: {
custom: {
50: '#bc6e97',
500: '#9b2a6e',
950: '#000000',
},
}SCSS
$custom: #9b2a6e; $custom-light: #bc6e97; $custom-dark: #000000;
JSON
{
"hex": "#9b2a6e",
"rgb": {
"r": 155,
"g": 42,
"b": 110
},
"hsl": {
"h": 323.894,
"s": 57.36,
"l": 38.627
},
"oklch": {
"l": 0.48186,
"c": 0.16317,
"h": 348
},
"luminance": 0.0975
}Semantic roles & 50–950 ramp
primary
#9B2A6E
secondary
#64BD87
accent
#E18447
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#12080D
muted
#817B7E