#A1254B#A1254B
#A1254B is a mid, vivid pink. Relative luminance 0.094; OKLCH L 47.6% C 0.161 H 7.9°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).
Color values
| HEX | #A1254B |
|---|---|
| RGB | rgb(161, 37, 75) |
| HSL | hsl(342, 63%, 39%) |
| HSV | hsv(342, 77%, 63%) |
| CMYK | cmyk(0%, 77%, 53.4%, 36.9%) |
| CIE-LAB | lab(36.76, 52.23, 8.64) |
| CIE-LCH | lch(36.76, 52.94, 9.39°) |
| OKLab | oklab(47.56% 0.1591 0.0222) |
| OKLCH | oklch(47.56% 0.161 7.9) |
| XYZ | xyz(16.6310, 9.4105, 7.5959) |
| Luminance | 0.0941 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 2.98
Raspberry (survey)
#B00149
ΔE00 3.09
Berry
#990F4B
ΔE00 4.17
Cranberry
#9E003A
ΔE00 4.30
Purple Red
#990147
ΔE00 4.43
Violet Red
#A50055
ΔE00 5.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A1254B #25A17B
analogous
#A12589 #A1254B #A13D25
triadic
#A1254B #4BA125 #254BA1
tetradic
#A1254B #89A125 #25A17B #3D25A1
square
#A1254B #89A125 #25A17B #3D25A1
split-complementary
#A1254B #25A13D #2589A1
monochromatic
#3D0E1D #6F1A34 #A1254B #D03363 #DC6589
Accessibility & contrast
On white
7.29
#A1254B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.88
#A1254B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #A1254B
7.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A1254B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A1254B | 1.00 | 7.29 | 2.88 | 7.29 |
| #FFFFFF | 7.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#45474C
Deuteranopia (green-blind)
#655F48
Tritanopia (blue-blind)
#B00035
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #a1254b; /* rgb */ color: rgb(161, 37, 75); /* oklch */ color: oklch(47.6% 0.161 7.9);
Tailwind
colors: {
custom: {
50: '#c36b7d',
500: '#a1254b',
950: '#000000',
},
}SCSS
$custom: #a1254b; $custom-light: #c36b7d; $custom-dark: #000000;
JSON
{
"hex": "#a1254b",
"rgb": {
"r": 161,
"g": 37,
"b": 75
},
"hsl": {
"h": 341.613,
"s": 62.626,
"l": 38.824
},
"oklch": {
"l": 0.47557,
"c": 0.1606,
"h": 7.9
},
"luminance": 0.09408
}Semantic roles & 50–950 ramp
primary
#A1254B
secondary
#61C1A4
accent
#E6B442
background
#FCF6F7
surface
#F9ECEE
border
#D2C7C9
text
#140709
muted
#827A7B