#9B2F79#9B2F79
#9B2F79 is a mid, vivid pink. Relative luminance 0.104; OKLCH L 49.2% C 0.164 H 342.8°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).
Color values
| HEX | #9B2F79 |
|---|---|
| RGB | rgb(155, 47, 121) |
| HSL | hsl(319, 53%, 40%) |
| HSV | hsv(319, 70%, 61%) |
| CMYK | cmyk(0%, 69.7%, 21.9%, 39.2%) |
| CIE-LAB | lab(38.52, 52.05, -18.04) |
| CIE-LCH | lch(38.52, 55.08, 340.89°) |
| OKLab | oklab(49.16% 0.1563 -0.0482) |
| OKLCH | oklch(49.16% 0.164 342.8) |
| XYZ | xyz(17.9859, 10.3838, 19.1425) |
| Luminance | 0.1038 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 5.02
Warm Purple
#952E8F
ΔE00 5.66
Light Eggplant
#894585
ΔE00 6.21
Bruise
#7E4071
ΔE00 6.51
Deep Magenta
#A0025C
ΔE00 7.22
Magenta (survey)
#C20078
ΔE00 7.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B2F79 #2F9B51
analogous
#872F9B #9B2F79 #9B2F43
triadic
#9B2F79 #799B2F #2F799B
tetradic
#9B2F79 #9B872F #2F9B51 #2F439B
square
#9B2F79 #9B872F #2F9B51 #2F439B
split-complementary
#9B2F79 #439B2F #2F9B87
monochromatic
#3D1330 #6C2154 #9B2F79 #C6429C #D471B5
Accessibility & contrast
On white
6.83
#9B2F79 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.08
#9B2F79 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9B2F79
6.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B2F79 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9B2F79 | 1.00 | 6.83 | 3.08 | 6.83 |
| #FFFFFF | 6.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#394F7B
Deuteranopia (green-blind)
#5A6176
Tritanopia (blue-blind)
#A52F50
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #9b2f79; /* rgb */ color: rgb(155, 47, 121); /* oklch */ color: oklch(49.2% 0.164 342.8);
Tailwind
colors: {
custom: {
50: '#bc70a0',
500: '#9b2f79',
950: '#000000',
},
}SCSS
$custom: #9b2f79; $custom-light: #bc70a0; $custom-dark: #000000;
JSON
{
"hex": "#9b2f79",
"rgb": {
"r": 155,
"g": 47,
"b": 121
},
"hsl": {
"h": 318.889,
"s": 53.465,
"l": 39.608
},
"oklch": {
"l": 0.4916,
"c": 0.16353,
"h": 342.8
},
"luminance": 0.10382
}Semantic roles & 50–950 ramp
primary
#9B2F79
secondary
#6ABB84
accent
#DD794B
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#12080E
muted
#817B7E