#A6255A#A6255A
#A6255A is a mid, vivid pink. Relative luminance 0.102; OKLCH L 48.9% C 0.169 H 1.2°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).
Color values
| HEX | #A6255A |
|---|---|
| RGB | rgb(166, 37, 90) |
| HSL | hsl(335, 64%, 40%) |
| HSV | hsv(335, 78%, 65%) |
| CMYK | cmyk(0%, 77.7%, 45.8%, 34.9%) |
| CIE-LAB | lab(38.15, 54.98, 1.14) |
| CIE-LCH | lch(38.15, 54.99, 1.19°) |
| OKLab | oklab(48.89% 0.1688 0.0035) |
| OKLCH | oklch(48.89% 0.169 1.2) |
| XYZ | xyz(18.2344, 10.1707, 10.6738) |
| Luminance | 0.1017 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Violet Red
#A50055
ΔE00 3.00
Berry
#990F4B
ΔE00 4.25
Dark Fuchsia
#9D0759
ΔE00 4.39
Deep Magenta
#A0025C
ΔE00 4.51
Purplish Red
#B0054B
ΔE00 4.62
Raspberry (survey)
#B00149
ΔE00 5.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A6255A #25A671
analogous
#A6259B #A6255A #A63125
triadic
#A6255A #5AA625 #255AA6
tetradic
#A6255A #9BA625 #25A671 #3125A6
square
#A6255A #9BA625 #25A671 #3125A6
split-complementary
#A6255A #25A631 #259BA6
monochromatic
#420F24 #741A3F #A6255A #D23676 #DD6898
Accessibility & contrast
On white
6.92
#A6255A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.03
#A6255A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A6255A
6.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A6255A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A6255A | 1.00 | 6.92 | 3.03 | 6.92 |
| #FFFFFF | 6.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#434A5B
Deuteranopia (green-blind)
#666357
Tritanopia (blue-blind)
#B4083C
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #a6255a; /* rgb */ color: rgb(166, 37, 90); /* oklch */ color: oklch(48.9% 0.169 1.2);
Tailwind
colors: {
custom: {
50: '#c66d88',
500: '#a6255a',
950: '#000000',
},
}SCSS
$custom: #a6255a; $custom-light: #c66d88; $custom-dark: #000000;
JSON
{
"hex": "#a6255a",
"rgb": {
"r": 166,
"g": 37,
"b": 90
},
"hsl": {
"h": 335.349,
"s": 63.547,
"l": 39.804
},
"oklch": {
"l": 0.48888,
"c": 0.16881,
"h": 1.2
},
"luminance": 0.10168
}Semantic roles & 50–950 ramp
primary
#A6255A
secondary
#64C39C
accent
#E7A341
background
#FCF6F8
surface
#F9ECEF
border
#D2C7CA
text
#14080B
muted
#827A7C