#A12848#A12848
#A12848 is a mid, vivid pink. Relative luminance 0.096; OKLCH L 47.7% C 0.157 H 10.2°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).
Color values
| HEX | #A12848 |
|---|---|
| RGB | rgb(161, 40, 72) |
| HSL | hsl(344, 60%, 39%) |
| HSV | hsv(344, 75%, 63%) |
| CMYK | cmyk(0%, 75.2%, 55.3%, 36.9%) |
| CIE-LAB | lab(37.05, 50.98, 10.96) |
| CIE-LCH | lch(37.05, 52.15, 12.14°) |
| OKLab | oklab(47.75% 0.1546 0.0278) |
| OKLCH | oklch(47.75% 0.157 10.2) |
| XYZ | xyz(16.6280, 9.5649, 7.1003) |
| Luminance | 0.0956 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Raspberry (survey)
#B00149
ΔE00 3.44
Purplish Red
#B0054B
ΔE00 3.49
Cranberry
#9E003A
ΔE00 4.03
Rouge
#AB1239
ΔE00 4.69
Berry
#990F4B
ΔE00 5.36
Purple Red
#990147
ΔE00 5.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A12848 #28A181
analogous
#A12885 #A12848 #A14428
triadic
#A12848 #48A128 #2848A1
tetradic
#A12848 #85A128 #28A181 #4428A1
square
#A12848 #85A128 #28A181 #4428A1
split-complementary
#A12848 #28A144 #2885A1
monochromatic
#3F101C #701C32 #A12848 #CE3960 #DA6A87
Accessibility & contrast
On white
7.21
#A12848 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.91
#A12848 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #A12848
7.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A12848 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A12848 | 1.00 | 7.21 | 2.91 | 7.21 |
| #FFFFFF | 7.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#474849
Deuteranopia (green-blind)
#676045
Tritanopia (blue-blind)
#B00535
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #a12848; /* rgb */ color: rgb(161, 40, 72); /* oklch */ color: oklch(47.7% 0.157 10.2);
Tailwind
colors: {
custom: {
50: '#c36d7a',
500: '#a12848',
950: '#000000',
},
}SCSS
$custom: #a12848; $custom-light: #c36d7a; $custom-dark: #000000;
JSON
{
"hex": "#a12848",
"rgb": {
"r": 161,
"g": 40,
"b": 72
},
"hsl": {
"h": 344.132,
"s": 60.199,
"l": 39.412
},
"oklch": {
"l": 0.47745,
"c": 0.15709,
"h": 10.2
},
"luminance": 0.09563
}Semantic roles & 50–950 ramp
primary
#A12848
secondary
#65C0A8
accent
#E3B944
background
#FCF6F7
surface
#F9ECED
border
#D2C7C8
text
#140809
muted
#827B7B