#A7254B#A7254B
#A7254B is a mid, vivid pink. Relative luminance 0.100; OKLCH L 48.6% C 0.166 H 9.2°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).
Color values
| HEX | #A7254B |
|---|---|
| RGB | rgb(167, 37, 75) |
| HSL | hsl(342, 64%, 40%) |
| HSV | hsv(342, 78%, 65%) |
| CMYK | cmyk(0%, 77.8%, 55.1%, 34.5%) |
| CIE-LAB | lab(37.93, 53.98, 10.44) |
| CIE-LCH | lch(37.93, 54.98, 10.95°) |
| OKLab | oklab(48.63% 0.164 0.0265) |
| OKLCH | oklch(48.63% 0.166 9.2) |
| XYZ | xyz(17.8696, 10.0492, 7.6540) |
| Luminance | 0.1005 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 2.49
Raspberry (survey)
#B00149
ΔE00 2.52
Cranberry
#9E003A
ΔE00 4.53
Rouge
#AB1239
ΔE00 4.95
Light Burgundy
#A8415B
ΔE00 5.18
Berry
#990F4B
ΔE00 5.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A7254B #25A781
analogous
#A7258C #A7254B #A74025
triadic
#A7254B #4BA725 #254BA7
tetradic
#A7254B #8CA725 #25A781 #4025A7
square
#A7254B #8CA725 #25A781 #4025A7
split-complementary
#A7254B #25A740 #258CA7
monochromatic
#430F1E #751A34 #A7254B #D33764 #DE698B
Accessibility & contrast
On white
6.98
#A7254B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.01
#A7254B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A7254B
6.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A7254B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A7254B | 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)
#48494C
Deuteranopia (green-blind)
#696348
Tritanopia (blue-blind)
#B70035
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #a7254b; /* rgb */ color: rgb(167, 37, 75); /* oklch */ color: oklch(48.6% 0.166 9.2);
Tailwind
colors: {
custom: {
50: '#c76c7d',
500: '#a7254b',
950: '#000000',
},
}SCSS
$custom: #a7254b; $custom-light: #c76c7d; $custom-dark: #000000;
JSON
{
"hex": "#a7254b",
"rgb": {
"r": 167,
"g": 37,
"b": 75
},
"hsl": {
"h": 342.462,
"s": 63.725,
"l": 40
},
"oklch": {
"l": 0.4863,
"c": 0.16616,
"h": 9.2
},
"luminance": 0.10047
}Semantic roles & 50–950 ramp
primary
#A7254B
secondary
#64C4A8
accent
#E7B641
background
#FDF6F7
surface
#FAECEE
border
#D3C7C9
text
#140809
muted
#837A7B