#A6256C#A6256C
#A6256C is a mid, vivid pink. Relative luminance 0.105; OKLCH L 49.5% C 0.176 H 352.1°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).
Color values
| HEX | #A6256C |
|---|---|
| RGB | rgb(166, 37, 108) |
| HSL | hsl(327, 64%, 40%) |
| HSV | hsv(327, 78%, 65%) |
| CMYK | cmyk(0%, 77.7%, 34.9%, 34.9%) |
| CIE-LAB | lab(38.75, 56.84, -9.37) |
| CIE-LCH | lch(38.75, 57.61, 350.64°) |
| OKLab | oklab(49.53% 0.1743 -0.0242) |
| OKLCH | oklch(49.53% 0.176 352.1) |
| XYZ | xyz(19.0954, 10.5152, 15.2085) |
| Luminance | 0.1051 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.00
Deep Magenta
#A0025C
ΔE00 4.08
Dark Fuchsia
#9D0759
ΔE00 4.57
Magenta (survey)
#C20078
ΔE00 4.92
Violet Red
#A50055
ΔE00 5.40
Dark Magenta
#960056
ΔE00 5.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A6256C #25A65F
analogous
#A025A6 #A6256C #A6252B
triadic
#A6256C #6CA625 #256CA6
tetradic
#A6256C #A6A025 #25A65F #252BA6
square
#A6256C #A6A025 #25A65F #252BA6
split-complementary
#A6256C #2BA625 #25A6A0
monochromatic
#420F2B #741A4B #A6256C #D2368C #DD68A9
Accessibility & contrast
On white
6.77
#A6256C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.10
#A6256C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A6256C
6.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A6256C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A6256C | 1.00 | 6.77 | 3.10 | 6.77 |
| #FFFFFF | 6.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3D4C6E
Deuteranopia (green-blind)
#626469
Tritanopia (blue-blind)
#B31945
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #a6256c; /* rgb */ color: rgb(166, 37, 108); /* oklch */ color: oklch(49.5% 0.176 352.1);
Tailwind
colors: {
custom: {
50: '#c56d96',
500: '#a6256c',
950: '#000000',
},
}SCSS
$custom: #a6256c; $custom-light: #c56d96; $custom-dark: #000000;
JSON
{
"hex": "#a6256c",
"rgb": {
"r": 166,
"g": 37,
"b": 108
},
"hsl": {
"h": 326.977,
"s": 63.547,
"l": 39.804
},
"oklch": {
"l": 0.49528,
"c": 0.17601,
"h": 352.1
},
"luminance": 0.10513
}Semantic roles & 50–950 ramp
primary
#A6256C
secondary
#64C38F
accent
#E78C41
background
#FCF7F9
surface
#F9EDF1
border
#D2C8CB
text
#14080D
muted
#827B7E