#A0254A#A0254A
#A0254A is a mid, vivid pink. Relative luminance 0.093; OKLCH L 47.4% C 0.160 H 8.3°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).
Color values
| HEX | #A0254A |
|---|---|
| RGB | rgb(160, 37, 74) |
| HSL | hsl(342, 62%, 39%) |
| HSV | hsv(342, 77%, 63%) |
| CMYK | cmyk(0%, 76.9%, 53.7%, 37.3%) |
| CIE-LAB | lab(36.54, 51.86, 8.95) |
| CIE-LCH | lch(36.54, 52.62, 9.79°) |
| OKLab | oklab(47.35% 0.1578 0.0229) |
| OKLCH | oklch(47.35% 0.16 8.3) |
| XYZ | xyz(16.3963, 9.2934, 7.4077) |
| Luminance | 0.0929 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 3.13
Raspberry (survey)
#B00149
ΔE00 3.20
Cranberry
#9E003A
ΔE00 4.10
Berry
#990F4B
ΔE00 4.20
Purple Red
#990147
ΔE00 4.41
Violet Red
#A50055
ΔE00 5.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A0254A #25A07B
analogous
#A02587 #A0254A #A03D25
triadic
#A0254A #4AA025 #254AA0
tetradic
#A0254A #87A025 #25A07B #3D25A0
square
#A0254A #87A025 #25A07B #3D25A0
split-complementary
#A0254A #25A03D #2587A0
monochromatic
#3D0E1C #6E1A33 #A0254A #D03262 #DB6488
Accessibility & contrast
On white
7.35
#A0254A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.86
#A0254A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #A0254A
7.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A0254A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A0254A | 1.00 | 7.35 | 2.86 | 7.35 |
| #FFFFFF | 7.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#45464B
Deuteranopia (green-blind)
#655F47
Tritanopia (blue-blind)
#AF0035
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #a0254a; /* rgb */ color: rgb(160, 37, 74); /* oklch */ color: oklch(47.4% 0.160 8.3);
Tailwind
colors: {
custom: {
50: '#c26b7c',
500: '#a0254a',
950: '#000000',
},
}SCSS
$custom: #a0254a; $custom-light: #c26b7c; $custom-dark: #000000;
JSON
{
"hex": "#a0254a",
"rgb": {
"r": 160,
"g": 37,
"b": 74
},
"hsl": {
"h": 341.951,
"s": 62.437,
"l": 38.627
},
"oklch": {
"l": 0.47351,
"c": 0.1595,
"h": 8.3
},
"luminance": 0.09291
}Semantic roles & 50–950 ramp
primary
#A0254A
secondary
#60C1A4
accent
#E6B442
background
#FCF6F7
surface
#F9ECEE
border
#D2C7C9
text
#140709
muted
#827A7B