#9B2279#9B2279
#9B2279 is a mid, vivid pink. Relative luminance 0.095; OKLCH L 48.0% C 0.179 H 342.0°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).
Color values
| HEX | #9B2279 |
|---|---|
| RGB | rgb(155, 34, 121) |
| HSL | hsl(317, 64%, 37%) |
| HSV | hsv(317, 78%, 61%) |
| CMYK | cmyk(0%, 78.1%, 21.9%, 39.2%) |
| CIE-LAB | lab(36.92, 56.57, -20.51) |
| CIE-LCH | lch(36.92, 60.17, 340.07°) |
| OKLab | oklab(48% 0.1701 -0.0551) |
| OKLCH | oklch(48% 0.179 342) |
| XYZ | xyz(17.5414, 9.4949, 18.9944) |
| Luminance | 0.0949 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.12
Warm Purple
#952E8F
ΔE00 5.19
Barney Purple
#A00498
ΔE00 6.51
Deep Magenta
#A0025C
ΔE00 6.99
Light Eggplant
#894585
ΔE00 7.23
Bruise
#7E4071
ΔE00 7.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B2279 #229B44
analogous
#81229B #9B2279 #9B223C
triadic
#9B2279 #799B22 #22799B
tetradic
#9B2279 #9B8122 #229B44 #223C9B
square
#9B2279 #9B8122 #229B44 #223C9B
split-complementary
#9B2279 #3C9B22 #229B81
monochromatic
#370C2B #691752 #9B2279 #CD2DA0 #DB5CB8
Accessibility & contrast
On white
7.24
#9B2279 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.90
#9B2279 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9B2279
7.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B2279 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9B2279 | 1.00 | 7.24 | 2.90 | 7.24 |
| #FFFFFF | 7.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E4A7B
Deuteranopia (green-blind)
#555E76
Tritanopia (blue-blind)
#A5244B
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #9b2279; /* rgb */ color: rgb(155, 34, 121); /* oklch */ color: oklch(48.0% 0.179 342.0);
Tailwind
colors: {
custom: {
50: '#bc6ba0',
500: '#9b2279',
950: '#000000',
},
}SCSS
$custom: #9b2279; $custom-light: #bc6ba0; $custom-dark: #000000;
JSON
{
"hex": "#9b2279",
"rgb": {
"r": 155,
"g": 34,
"b": 121
},
"hsl": {
"h": 316.86,
"s": 64.021,
"l": 37.059
},
"oklch": {
"l": 0.47995,
"c": 0.17878,
"h": 342
},
"luminance": 0.09493
}Semantic roles & 50–950 ramp
primary
#9B2279
secondary
#59C076
accent
#E76F41
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070E
muted
#827A7E