#A6255B#A6255B
#A6255B is a mid, vivid pink. Relative luminance 0.102; OKLCH L 48.9% C 0.169 H 0.7°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).
Color values
| HEX | #A6255B |
|---|---|
| RGB | rgb(166, 37, 91) |
| HSL | hsl(335, 64%, 40%) |
| HSV | hsv(335, 78%, 65%) |
| CMYK | cmyk(0%, 77.7%, 45.2%, 34.9%) |
| CIE-LAB | lab(38.18, 55.07, 0.55) |
| CIE-LCH | lch(38.18, 55.08, 0.57°) |
| OKLab | oklab(48.92% 0.1691 0.002) |
| OKLCH | oklch(48.92% 0.169 0.7) |
| XYZ | xyz(18.2772, 10.1879, 10.8995) |
| Luminance | 0.1018 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Violet Red
#A50055
ΔE00 2.98
Dark Fuchsia
#9D0759
ΔE00 4.25
Deep Magenta
#A0025C
ΔE00 4.34
Berry
#990F4B
ΔE00 4.36
Purplish Red
#B0054B
ΔE00 4.87
Purple Red
#990147
ΔE00 5.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A6255B #25A670
analogous
#A6259B #A6255B #A63025
triadic
#A6255B #5BA625 #255BA6
tetradic
#A6255B #9BA625 #25A670 #3025A6
square
#A6255B #9BA625 #25A670 #3025A6
split-complementary
#A6255B #25A630 #259BA6
monochromatic
#420F24 #741A40 #A6255B #D23677 #DD6899
Accessibility & contrast
On white
6.91
#A6255B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.04
#A6255B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A6255B
6.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A6255B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A6255B | 1.00 | 6.91 | 3.04 | 6.91 |
| #FFFFFF | 6.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#434A5C
Deuteranopia (green-blind)
#666358
Tritanopia (blue-blind)
#B4093D
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #a6255b; /* rgb */ color: rgb(166, 37, 91); /* oklch */ color: oklch(48.9% 0.169 0.7);
Tailwind
colors: {
custom: {
50: '#c66d89',
500: '#a6255b',
950: '#000000',
},
}SCSS
$custom: #a6255b; $custom-light: #c66d89; $custom-dark: #000000;
JSON
{
"hex": "#a6255b",
"rgb": {
"r": 166,
"g": 37,
"b": 91
},
"hsl": {
"h": 334.884,
"s": 63.547,
"l": 39.804
},
"oklch": {
"l": 0.4892,
"c": 0.16912,
"h": 0.7
},
"luminance": 0.10185
}Semantic roles & 50–950 ramp
primary
#A6255B
secondary
#64C39B
accent
#E7A141
background
#FCF6F8
surface
#F9ECF0
border
#D2C7CB
text
#14080B
muted
#827A7C