#A7254E#A7254E
#A7254E is a mid, vivid pink. Relative luminance 0.101; OKLCH L 48.7% C 0.167 H 7.6°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).
Color values
| HEX | #A7254E |
|---|---|
| RGB | rgb(167, 37, 78) |
| HSL | hsl(341, 64%, 40%) |
| HSV | hsv(341, 78%, 65%) |
| CMYK | cmyk(0%, 77.8%, 53.3%, 34.5%) |
| CIE-LAB | lab(38.01, 54.21, 8.63) |
| CIE-LCH | lch(38.01, 54.90, 9.04°) |
| OKLab | oklab(48.71% 0.1652 0.0222) |
| OKLCH | oklch(48.71% 0.167 7.6) |
| XYZ | xyz(17.9747, 10.0912, 8.2076) |
| Luminance | 0.1009 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 2.37
Raspberry (survey)
#B00149
ΔE00 2.58
Berry
#990F4B
ΔE00 4.83
Light Burgundy
#A8415B
ΔE00 5.01
Cranberry
#9E003A
ΔE00 5.01
Purple Red
#990147
ΔE00 5.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A7254E #25A77E
analogous
#A7258F #A7254E #A73D25
triadic
#A7254E #4EA725 #254EA7
tetradic
#A7254E #8FA725 #25A77E #3D25A7
square
#A7254E #8FA725 #25A77E #3D25A7
split-complementary
#A7254E #25A73D #258FA7
monochromatic
#430F1F #751A37 #A7254E #D33768 #DE698E
Accessibility & contrast
On white
6.96
#A7254E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.02
#A7254E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A7254E
6.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A7254E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A7254E | 1.00 | 6.96 | 3.02 | 6.96 |
| #FFFFFF | 6.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#47494F
Deuteranopia (green-blind)
#69634B
Tritanopia (blue-blind)
#B60037
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #a7254e; /* rgb */ color: rgb(167, 37, 78); /* oklch */ color: oklch(48.7% 0.167 7.6);
Tailwind
colors: {
custom: {
50: '#c76c7f',
500: '#a7254e',
950: '#000000',
},
}SCSS
$custom: #a7254e; $custom-light: #c76c7f; $custom-dark: #000000;
JSON
{
"hex": "#a7254e",
"rgb": {
"r": 167,
"g": 37,
"b": 78
},
"hsl": {
"h": 341.077,
"s": 63.725,
"l": 40
},
"oklch": {
"l": 0.48709,
"c": 0.16667,
"h": 7.6
},
"luminance": 0.10089
}Semantic roles & 50–950 ramp
primary
#A7254E
secondary
#64C4A6
accent
#E7B241
background
#FDF6F7
surface
#FAECEE
border
#D3C7C9
text
#14080A
muted
#837A7C