#9A286F#9A286F
#9A286F is a mid, vivid pink. Relative luminance 0.095; OKLCH L 47.9% C 0.165 H 347.0°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).
Color values
| HEX | #9A286F |
|---|---|
| RGB | rgb(154, 40, 111) |
| HSL | hsl(323, 59%, 38%) |
| HSV | hsv(323, 74%, 60%) |
| CMYK | cmyk(0%, 74%, 27.9%, 39.6%) |
| CIE-LAB | lab(37.00, 53.02, -14.13) |
| CIE-LCH | lch(37.00, 54.87, 345.08°) |
| OKLab | oklab(47.88% 0.1611 -0.0373) |
| OKLCH | oklch(47.88% 0.165 347) |
| XYZ | xyz(16.9552, 9.5372, 15.9838) |
| Luminance | 0.0954 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 3.23
Deep Magenta
#A0025C
ΔE00 5.08
Dark Fuchsia
#9D0759
ΔE00 5.47
Dark Magenta
#960056
ΔE00 5.89
Reddish Purple
#910951
ΔE00 6.77
Bruise
#7E4071
ΔE00 7.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A286F #289A53
analogous
#8C289A #9A286F #9A2836
triadic
#9A286F #6F9A28 #286F9A
tetradic
#9A286F #9A8C28 #289A53 #28369A
square
#9A286F #9A8C28 #289A53 #28369A
split-complementary
#9A286F #369A28 #289A8C
monochromatic
#390F29 #691B4C #9A286F #CA3592 #D765AC
Accessibility & contrast
On white
7.22
#9A286F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.91
#9A286F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9A286F
7.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A286F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9A286F | 1.00 | 7.22 | 2.91 | 7.22 |
| #FFFFFF | 7.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#384B71
Deuteranopia (green-blind)
#595E6C
Tritanopia (blue-blind)
#A52448
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #9a286f; /* rgb */ color: rgb(154, 40, 111); /* oklch */ color: oklch(47.9% 0.165 347.0);
Tailwind
colors: {
custom: {
50: '#bc6d98',
500: '#9a286f',
950: '#000000',
},
}SCSS
$custom: #9a286f; $custom-light: #bc6d98; $custom-dark: #000000;
JSON
{
"hex": "#9a286f",
"rgb": {
"r": 154,
"g": 40,
"b": 111
},
"hsl": {
"h": 322.632,
"s": 58.763,
"l": 38.039
},
"oklch": {
"l": 0.47877,
"c": 0.16539,
"h": 347
},
"luminance": 0.09535
}Semantic roles & 50–950 ramp
primary
#9A286F
secondary
#61BD84
accent
#E28146
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#12080D
muted
#817B7E