#9A2E79#9A2E79
#9A2E79 is a mid, vivid pink. Relative luminance 0.102; OKLCH L 48.9% C 0.164 H 342.4°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).
Color values
| HEX | #9A2E79 |
|---|---|
| RGB | rgb(154, 46, 121) |
| HSL | hsl(318, 54%, 39%) |
| HSV | hsv(318, 70%, 60%) |
| CMYK | cmyk(0%, 70.1%, 21.4%, 39.6%) |
| CIE-LAB | lab(38.21, 52.16, -18.53) |
| CIE-LCH | lch(38.21, 55.35, 340.44°) |
| OKLab | oklab(48.9% 0.1564 -0.0496) |
| OKLCH | oklch(48.9% 0.164 342.4) |
| XYZ | xyz(17.7552, 10.2062, 19.1204) |
| Luminance | 0.1020 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.95
Warm Purple
#952E8F
ΔE00 5.46
Light Eggplant
#894585
ΔE00 6.17
Bruise
#7E4071
ΔE00 6.44
Deep Magenta
#A0025C
ΔE00 7.26
Barney Purple
#A00498
ΔE00 7.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A2E79 #2E9A4F
analogous
#852E9A #9A2E79 #9A2E43
triadic
#9A2E79 #799A2E #2E799A
tetradic
#9A2E79 #9A852E #2E9A4F #2E439A
square
#9A2E79 #9A852E #2E9A4F #2E439A
split-complementary
#9A2E79 #439A2E #2E9A85
monochromatic
#3C122F #6B2054 #9A2E79 #C63F9D #D46FB5
Accessibility & contrast
On white
6.91
#9A2E79 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.04
#9A2E79 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9A2E79
6.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A2E79 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9A2E79 | 1.00 | 6.91 | 3.04 | 6.91 |
| #FFFFFF | 6.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#374F7B
Deuteranopia (green-blind)
#586076
Tritanopia (blue-blind)
#A42F4F
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #9a2e79; /* rgb */ color: rgb(154, 46, 121); /* oklch */ color: oklch(48.9% 0.164 342.4);
Tailwind
colors: {
custom: {
50: '#bb70a0',
500: '#9a2e79',
950: '#000000',
},
}SCSS
$custom: #9a2e79; $custom-light: #bb70a0; $custom-dark: #000000;
JSON
{
"hex": "#9a2e79",
"rgb": {
"r": 154,
"g": 46,
"b": 121
},
"hsl": {
"h": 318.333,
"s": 54,
"l": 39.216
},
"oklch": {
"l": 0.48898,
"c": 0.16411,
"h": 342.4
},
"luminance": 0.10204
}Semantic roles & 50–950 ramp
primary
#9A2E79
secondary
#69BB82
accent
#DD774A
background
#FBF7F9
surface
#F7EDF2
border
#D0C8CC
text
#12080E
muted
#817B7E