#9A307A#9A307A
#9A307A is a mid, vivid pink. Relative luminance 0.104; OKLCH L 49.1% C 0.162 H 342.0°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).
Color values
| HEX | #9A307A |
|---|---|
| RGB | rgb(154, 48, 122) |
| HSL | hsl(318, 52%, 40%) |
| HSV | hsv(318, 69%, 60%) |
| CMYK | cmyk(0%, 68.8%, 20.8%, 39.6%) |
| CIE-LAB | lab(38.53, 51.52, -18.65) |
| CIE-LCH | lch(38.53, 54.79, 340.10°) |
| OKLab | oklab(49.15% 0.1542 -0.05) |
| OKLCH | oklch(49.15% 0.162 342) |
| XYZ | xyz(17.8968, 10.3908, 19.4717) |
| Luminance | 0.1039 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 5.29
Warm Purple
#952E8F
ΔE00 5.37
Light Eggplant
#894585
ΔE00 5.89
Bruise
#7E4071
ΔE00 6.31
Deep Magenta
#A0025C
ΔE00 7.54
Barney Purple
#A00498
ΔE00 7.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A307A #309A50
analogous
#85309A #9A307A #9A3045
triadic
#9A307A #7A9A30 #307A9A
tetradic
#9A307A #9A8530 #309A50 #30459A
square
#9A307A #9A8530 #309A50 #30459A
split-complementary
#9A307A #459A30 #309A85
monochromatic
#3D1330 #6B2155 #9A307A #C4439D #D372B5
Accessibility & contrast
On white
6.82
#9A307A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.08
#9A307A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9A307A
6.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A307A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9A307A | 1.00 | 6.82 | 3.08 | 6.82 |
| #FFFFFF | 6.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#39507C
Deuteranopia (green-blind)
#596177
Tritanopia (blue-blind)
#A33150
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #9a307a; /* rgb */ color: rgb(154, 48, 122); /* oklch */ color: oklch(49.1% 0.162 342.0);
Tailwind
colors: {
custom: {
50: '#bb71a0',
500: '#9a307a',
950: '#000000',
},
}SCSS
$custom: #9a307a; $custom-light: #bb71a0; $custom-dark: #000000;
JSON
{
"hex": "#9a307a",
"rgb": {
"r": 154,
"g": 48,
"b": 122
},
"hsl": {
"h": 318.113,
"s": 52.475,
"l": 39.608
},
"oklch": {
"l": 0.4915,
"c": 0.16214,
"h": 342
},
"luminance": 0.10389
}Semantic roles & 50–950 ramp
primary
#9A307A
secondary
#6BBB83
accent
#DC774C
background
#FBF7F9
surface
#F7EDF2
border
#D0C8CC
text
#12080E
muted
#817B7E