#A7254A#A7254A
#A7254A is a mid, vivid pink. Relative luminance 0.100; OKLCH L 48.6% C 0.166 H 9.7°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).
Color values
| HEX | #A7254A |
|---|---|
| RGB | rgb(167, 37, 74) |
| HSL | hsl(343, 64%, 40%) |
| HSV | hsv(343, 78%, 65%) |
| CMYK | cmyk(0%, 77.8%, 55.7%, 34.5%) |
| CIE-LAB | lab(37.91, 53.90, 11.05) |
| CIE-LCH | lch(37.91, 55.02, 11.58°) |
| OKLab | oklab(48.6% 0.1636 0.028) |
| OKLCH | oklch(48.6% 0.166 9.7) |
| XYZ | xyz(17.8357, 10.0356, 7.4751) |
| Luminance | 0.1003 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Raspberry (survey)
#B00149
ΔE00 2.58
Purplish Red
#B0054B
ΔE00 2.60
Cranberry
#9E003A
ΔE00 4.40
Rouge
#AB1239
ΔE00 4.66
Light Burgundy
#A8415B
ΔE00 5.27
Berry
#990F4B
ΔE00 5.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A7254A #25A782
analogous
#A7258B #A7254A #A74125
triadic
#A7254A #4AA725 #254AA7
tetradic
#A7254A #8BA725 #25A782 #4125A7
square
#A7254A #8BA725 #25A782 #4125A7
split-complementary
#A7254A #25A741 #258BA7
monochromatic
#430F1E #751A34 #A7254A #D33763 #DE698A
Accessibility & contrast
On white
6.98
#A7254A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.01
#A7254A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A7254A
6.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A7254A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A7254A | 1.00 | 6.98 | 3.01 | 6.98 |
| #FFFFFF | 6.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#48484B
Deuteranopia (green-blind)
#696347
Tritanopia (blue-blind)
#B70035
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #a7254a; /* rgb */ color: rgb(167, 37, 74); /* oklch */ color: oklch(48.6% 0.166 9.7);
Tailwind
colors: {
custom: {
50: '#c86c7c',
500: '#a7254a',
950: '#000000',
},
}SCSS
$custom: #a7254a; $custom-light: #c86c7c; $custom-dark: #000000;
JSON
{
"hex": "#a7254a",
"rgb": {
"r": 167,
"g": 37,
"b": 74
},
"hsl": {
"h": 342.923,
"s": 63.725,
"l": 40
},
"oklch": {
"l": 0.48604,
"c": 0.16601,
"h": 9.7
},
"luminance": 0.10033
}Semantic roles & 50–950 ramp
primary
#A7254A
secondary
#64C4A8
accent
#E7B841
background
#FDF6F7
surface
#FAECEE
border
#D3C7C9
text
#140809
muted
#837A7B