#9A2F79#9A2F79
#9A2F79 is a mid, vivid pink. Relative luminance 0.103; OKLCH L 49.0% C 0.163 H 342.5°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).
Color values
| HEX | #9A2F79 |
|---|---|
| RGB | rgb(154, 47, 121) |
| HSL | hsl(319, 53%, 39%) |
| HSV | hsv(319, 69%, 60%) |
| CMYK | cmyk(0%, 69.5%, 21.4%, 39.6%) |
| CIE-LAB | lab(38.35, 51.77, -18.32) |
| CIE-LCH | lch(38.35, 54.92, 340.52°) |
| OKLab | oklab(49% 0.1552 -0.0491) |
| OKLCH | oklch(49% 0.163 342.5) |
| XYZ | xyz(17.7947, 10.2853, 19.1336) |
| Luminance | 0.1028 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 5.05
Warm Purple
#952E8F
ΔE00 5.52
Light Eggplant
#894585
ΔE00 6.09
Bruise
#7E4071
ΔE00 6.37
Deep Magenta
#A0025C
ΔE00 7.30
Magenta (survey)
#C20078
ΔE00 7.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A2F79 #2F9A50
analogous
#862F9A #9A2F79 #9A2F43
triadic
#9A2F79 #799A2F #2F799A
tetradic
#9A2F79 #9A862F #2F9A50 #2F439A
square
#9A2F79 #9A862F #2F9A50 #2F439A
split-complementary
#9A2F79 #439A2F #2F9A86
monochromatic
#3C122F #6B2154 #9A2F79 #C5419C #D370B5
Accessibility & contrast
On white
6.87
#9A2F79 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.06
#9A2F79 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9A2F79
6.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A2F79 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9A2F79 | 1.00 | 6.87 | 3.06 | 6.87 |
| #FFFFFF | 6.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#384F7B
Deuteranopia (green-blind)
#596176
Tritanopia (blue-blind)
#A43050
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #9a2f79; /* rgb */ color: rgb(154, 47, 121); /* oklch */ color: oklch(49.0% 0.163 342.5);
Tailwind
colors: {
custom: {
50: '#bb70a0',
500: '#9a2f79',
950: '#000000',
},
}SCSS
$custom: #9a2f79; $custom-light: #bb70a0; $custom-dark: #000000;
JSON
{
"hex": "#9a2f79",
"rgb": {
"r": 154,
"g": 47,
"b": 121
},
"hsl": {
"h": 318.505,
"s": 53.234,
"l": 39.412
},
"oklch": {
"l": 0.49,
"c": 0.1628,
"h": 342.5
},
"luminance": 0.10284
}Semantic roles & 50–950 ramp
primary
#9A2F79
secondary
#6ABB83
accent
#DD784B
background
#FBF7F9
surface
#F7EDF2
border
#D0C8CC
text
#12080E
muted
#817B7E