#A5245B#A5245B
#A5245B is a mid, vivid pink. Relative luminance 0.100; OKLCH L 48.7% C 0.169 H 0.3°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).
Color values
| HEX | #A5245B |
|---|---|
| RGB | rgb(165, 36, 91) |
| HSL | hsl(334, 64%, 39%) |
| HSV | hsv(334, 78%, 65%) |
| CMYK | cmyk(0%, 78.2%, 44.8%, 35.3%) |
| CIE-LAB | lab(37.88, 55.11, 0.08) |
| CIE-LCH | lch(37.88, 55.11, 0.09°) |
| OKLab | oklab(48.66% 0.1693 0.0008) |
| OKLCH | oklch(48.66% 0.169 0.3) |
| XYZ | xyz(18.0377, 10.0188, 10.8795) |
| Luminance | 0.1002 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Violet Red
#A50055
ΔE00 2.76
Dark Fuchsia
#9D0759
ΔE00 3.92
Deep Magenta
#A0025C
ΔE00 4.02
Berry
#990F4B
ΔE00 4.19
Purplish Red
#B0054B
ΔE00 5.05
Purple Red
#990147
ΔE00 5.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5245B #24A56E
analogous
#A5249B #A5245B #A52E24
triadic
#A5245B #5BA524 #245BA5
tetradic
#A5245B #9BA524 #24A56E #2E24A5
square
#A5245B #9BA524 #24A56E #2E24A5
split-complementary
#A5245B #24A52E #249BA5
monochromatic
#410E24 #73193F #A5245B #D33477 #DE6699
Accessibility & contrast
On white
6.99
#A5245B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.00
#A5245B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A5245B
6.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5245B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A5245B | 1.00 | 6.99 | 3.00 | 6.99 |
| #FFFFFF | 6.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#42495C
Deuteranopia (green-blind)
#656258
Tritanopia (blue-blind)
#B3083C
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #a5245b; /* rgb */ color: rgb(165, 36, 91); /* oklch */ color: oklch(48.7% 0.169 0.3);
Tailwind
colors: {
custom: {
50: '#c56c89',
500: '#a5245b',
950: '#000000',
},
}SCSS
$custom: #a5245b; $custom-light: #c56c89; $custom-dark: #000000;
JSON
{
"hex": "#a5245b",
"rgb": {
"r": 165,
"g": 36,
"b": 91
},
"hsl": {
"h": 334.419,
"s": 64.179,
"l": 39.412
},
"oklch": {
"l": 0.48664,
"c": 0.16927,
"h": 0.3
},
"luminance": 0.10016
}Semantic roles & 50–950 ramp
primary
#A5245B
secondary
#62C39A
accent
#E7A041
background
#FCF6F8
surface
#F9ECF0
border
#D2C7CB
text
#14080B
muted
#827A7C