#A7285B#A7285B
#A7285B is a mid, vivid pink. Relative luminance 0.105; OKLCH L 49.3% C 0.167 H 1.4°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).
Color values
| HEX | #A7285B |
|---|---|
| RGB | rgb(167, 40, 91) |
| HSL | hsl(336, 61%, 41%) |
| HSV | hsv(336, 76%, 65%) |
| CMYK | cmyk(0%, 76%, 45.5%, 34.5%) |
| CIE-LAB | lab(38.71, 54.39, 1.34) |
| CIE-LCH | lch(38.71, 54.41, 1.41°) |
| OKLab | oklab(49.35% 0.1669 0.0041) |
| OKLCH | oklch(49.35% 0.167 1.4) |
| XYZ | xyz(18.5849, 10.4909, 10.9418) |
| Luminance | 0.1049 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Violet Red
#A50055
ΔE00 3.51
Purplish Red
#B0054B
ΔE00 4.69
Berry
#990F4B
ΔE00 4.71
Dark Fuchsia
#9D0759
ΔE00 4.88
Deep Magenta
#A0025C
ΔE00 4.97
Raspberry (survey)
#B00149
ΔE00 5.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A7285B #28A774
analogous
#A7289A #A7285B #A73528
triadic
#A7285B #5BA728 #285BA7
tetradic
#A7285B #9AA728 #28A774 #3528A7
square
#A7285B #9AA728 #28A774 #3528A7
split-complementary
#A7285B #28A735 #289AA7
monochromatic
#441025 #761C40 #A7285B #D03C77 #DC6D9A
Accessibility & contrast
On white
6.78
#A7285B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.10
#A7285B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A7285B
6.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A7285B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A7285B | 1.00 | 6.78 | 3.10 | 6.78 |
| #FFFFFF | 6.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#454B5C
Deuteranopia (green-blind)
#676458
Tritanopia (blue-blind)
#B50F3E
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #a7285b; /* rgb */ color: rgb(167, 40, 91); /* oklch */ color: oklch(49.3% 0.167 1.4);
Tailwind
colors: {
custom: {
50: '#c66e89',
500: '#a7285b',
950: '#000000',
},
}SCSS
$custom: #a7285b; $custom-light: #c66e89; $custom-dark: #000000;
JSON
{
"hex": "#a7285b",
"rgb": {
"r": 167,
"g": 40,
"b": 91
},
"hsl": {
"h": 335.906,
"s": 61.353,
"l": 40.588
},
"oklch": {
"l": 0.49345,
"c": 0.16692,
"h": 1.4
},
"luminance": 0.10488
}Semantic roles & 50–950 ramp
primary
#A7285B
secondary
#68C39E
accent
#E4A443
background
#FCF7F8
surface
#F9EDF0
border
#D2C8CB
text
#14080B
muted
#827B7C