#A5266B#A5266B
#A5266B is a mid, vivid pink. Relative luminance 0.104; OKLCH L 49.4% C 0.174 H 352.4°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).
Color values
| HEX | #A5266B |
|---|---|
| RGB | rgb(165, 38, 107) |
| HSL | hsl(327, 63%, 40%) |
| HSV | hsv(327, 77%, 65%) |
| CMYK | cmyk(0%, 77%, 35.2%, 35.3%) |
| CIE-LAB | lab(38.64, 56.16, -8.93) |
| CIE-LCH | lch(38.64, 56.86, 350.96°) |
| OKLab | oklab(49.4% 0.1722 -0.023) |
| OKLCH | oklch(49.4% 0.174 352.4) |
| XYZ | xyz(18.8652, 10.4494, 14.9305) |
| Luminance | 0.1045 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Deep Magenta
#A0025C
ΔE00 3.98
Red Violet
#9E0168
ΔE00 4.04
Dark Fuchsia
#9D0759
ΔE00 4.44
Magenta (survey)
#C20078
ΔE00 5.13
Violet Red
#A50055
ΔE00 5.26
Dark Magenta
#960056
ΔE00 5.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5266B #26A560
analogous
#A026A5 #A5266B #A5262B
triadic
#A5266B #6BA526 #266BA5
tetradic
#A5266B #A5A026 #26A560 #262BA5
square
#A5266B #A5A026 #26A560 #262BA5
split-complementary
#A5266B #2BA526 #26A5A0
monochromatic
#420F2A #731B4B #A5266B #D1378B #DC69A8
Accessibility & contrast
On white
6.80
#A5266B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.09
#A5266B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A5266B
6.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5266B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A5266B | 1.00 | 6.80 | 3.09 | 6.80 |
| #FFFFFF | 6.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E4C6D
Deuteranopia (green-blind)
#626368
Tritanopia (blue-blind)
#B21A45
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #a5266b; /* rgb */ color: rgb(165, 38, 107); /* oklch */ color: oklch(49.4% 0.174 352.4);
Tailwind
colors: {
custom: {
50: '#c46d95',
500: '#a5266b',
950: '#000000',
},
}SCSS
$custom: #a5266b; $custom-light: #c46d95; $custom-dark: #000000;
JSON
{
"hex": "#a5266b",
"rgb": {
"r": 165,
"g": 38,
"b": 107
},
"hsl": {
"h": 327.402,
"s": 62.562,
"l": 39.804
},
"oklch": {
"l": 0.49398,
"c": 0.17375,
"h": 352.4
},
"luminance": 0.10447
}Semantic roles & 50–950 ramp
primary
#A5266B
secondary
#64C38F
accent
#E68D42
background
#FCF7F9
surface
#F9EDF1
border
#D2C8CB
text
#13080D
muted
#827B7E