#A5256F#A5256F
#A5256F is a mid, vivid pink. Relative luminance 0.105; OKLCH L 49.5% C 0.177 H 350.3°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).
Color values
| HEX | #A5256F |
|---|---|
| RGB | rgb(165, 37, 111) |
| HSL | hsl(325, 63%, 40%) |
| HSV | hsv(325, 78%, 65%) |
| CMYK | cmyk(0%, 77.6%, 32.7%, 35.3%) |
| CIE-LAB | lab(38.68, 56.93, -11.39) |
| CIE-LCH | lch(38.68, 58.05, 348.69°) |
| OKLab | oklab(49.48% 0.1742 -0.0297) |
| OKLCH | oklch(49.48% 0.177 350.3) |
| XYZ | xyz(19.0489, 10.4724, 16.0541) |
| Luminance | 0.1047 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 3.70
Deep Magenta
#A0025C
ΔE00 4.49
Dark Fuchsia
#9D0759
ΔE00 5.02
Magenta (survey)
#C20078
ΔE00 5.03
Dark Magenta
#960056
ΔE00 6.02
Violet Red
#A50055
ΔE00 6.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5256F #25A55B
analogous
#9B25A5 #A5256F #A5252F
triadic
#A5256F #6FA525 #256FA5
tetradic
#A5256F #A59B25 #25A55B #252FA5
square
#A5256F #A59B25 #25A55B #252FA5
split-complementary
#A5256F #2FA525 #25A59B
monochromatic
#410F2C #731A4D #A5256F #D23590 #DD67AB
Accessibility & contrast
On white
6.79
#A5256F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.09
#A5256F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A5256F
6.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5256F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A5256F | 1.00 | 6.79 | 3.09 | 6.79 |
| #FFFFFF | 6.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3B4D71
Deuteranopia (green-blind)
#60636C
Tritanopia (blue-blind)
#B21B47
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #a5256f; /* rgb */ color: rgb(165, 37, 111); /* oklch */ color: oklch(49.5% 0.177 350.3);
Tailwind
colors: {
custom: {
50: '#c46d98',
500: '#a5256f',
950: '#000000',
},
}SCSS
$custom: #a5256f; $custom-light: #c46d98; $custom-dark: #000000;
JSON
{
"hex": "#a5256f",
"rgb": {
"r": 165,
"g": 37,
"b": 111
},
"hsl": {
"h": 325.313,
"s": 63.366,
"l": 39.608
},
"oklch": {
"l": 0.49476,
"c": 0.17676,
"h": 350.3
},
"luminance": 0.1047
}Semantic roles & 50–950 ramp
primary
#A5256F
secondary
#63C38B
accent
#E68741
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#13080D
muted
#827B7E