#A6254A#A6254A
#A6254A is a mid, vivid pink. Relative luminance 0.099; OKLCH L 48.4% C 0.165 H 9.5°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).
Color values
| HEX | #A6254A |
|---|---|
| RGB | rgb(166, 37, 74) |
| HSL | hsl(343, 64%, 40%) |
| HSV | hsv(343, 78%, 65%) |
| CMYK | cmyk(0%, 77.7%, 55.4%, 34.9%) |
| CIE-LAB | lab(37.71, 53.61, 10.75) |
| CIE-LCH | lch(37.71, 54.68, 11.34°) |
| OKLab | oklab(48.43% 0.1628 0.0272) |
| OKLCH | oklch(48.43% 0.165 9.5) |
| XYZ | xyz(17.6252, 9.9271, 7.4653) |
| Luminance | 0.0993 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Raspberry (survey)
#B00149
ΔE00 2.62
Purplish Red
#B0054B
ΔE00 2.63
Cranberry
#9E003A
ΔE00 4.32
Rouge
#AB1239
ΔE00 4.77
Light Burgundy
#A8415B
ΔE00 5.31
Berry
#990F4B
ΔE00 5.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A6254A #25A681
analogous
#A6258A #A6254A #A64125
triadic
#A6254A #4AA625 #254AA6
tetradic
#A6254A #8AA625 #25A681 #4125A6
square
#A6254A #8AA625 #25A681 #4125A6
split-complementary
#A6254A #25A641 #258AA6
monochromatic
#420F1D #741A34 #A6254A #D23663 #DD688A
Accessibility & contrast
On white
7.04
#A6254A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.99
#A6254A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #A6254A
7.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A6254A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A6254A | 1.00 | 7.04 | 2.99 | 7.04 |
| #FFFFFF | 7.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#47484B
Deuteranopia (green-blind)
#696247
Tritanopia (blue-blind)
#B60035
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #a6254a; /* rgb */ color: rgb(166, 37, 74); /* oklch */ color: oklch(48.4% 0.165 9.5);
Tailwind
colors: {
custom: {
50: '#c76c7c',
500: '#a6254a',
950: '#000000',
},
}SCSS
$custom: #a6254a; $custom-light: #c76c7c; $custom-dark: #000000;
JSON
{
"hex": "#a6254a",
"rgb": {
"r": 166,
"g": 37,
"b": 74
},
"hsl": {
"h": 342.791,
"s": 63.547,
"l": 39.804
},
"oklch": {
"l": 0.48425,
"c": 0.16508,
"h": 9.5
},
"luminance": 0.09925
}Semantic roles & 50–950 ramp
primary
#A6254A
secondary
#64C3A8
accent
#E7B741
background
#FDF6F7
surface
#FAECEE
border
#D3C7C9
text
#140809
muted
#837A7B