#A12248#A12248
#A12248 is a mid, vivid pink. Relative luminance 0.092; OKLCH L 47.2% C 0.163 H 9.0°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).
Color values
| HEX | #A12248 |
|---|---|
| RGB | rgb(161, 34, 72) |
| HSL | hsl(342, 65%, 38%) |
| HSV | hsv(342, 79%, 63%) |
| CMYK | cmyk(0%, 78.9%, 55.3%, 36.9%) |
| CIE-LAB | lab(36.35, 52.94, 9.99) |
| CIE-LCH | lch(36.35, 53.88, 10.69°) |
| OKLab | oklab(47.23% 0.161 0.0254) |
| OKLCH | oklch(47.23% 0.163 9) |
| XYZ | xyz(16.4412, 9.1914, 7.0380) |
| Luminance | 0.0919 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Raspberry (survey)
#B00149
ΔE00 2.90
Purplish Red
#B0054B
ΔE00 2.92
Cranberry
#9E003A
ΔE00 3.59
Berry
#990F4B
ΔE00 4.38
Purple Red
#990147
ΔE00 4.46
Rouge
#AB1239
ΔE00 5.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A12248 #22A17B
analogous
#A12287 #A12248 #A13B22
triadic
#A12248 #48A122 #2248A1
tetradic
#A12248 #87A122 #22A17B #3B22A1
square
#A12248 #87A122 #22A17B #3B22A1
split-complementary
#A12248 #22A13B #2287A1
monochromatic
#3C0D1B #6E1731 #A12248 #D32D5F #DD6086
Accessibility & contrast
On white
7.40
#A12248 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.84
#A12248 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #A12248
7.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A12248 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A12248 | 1.00 | 7.40 | 2.84 | 7.40 |
| #FFFFFF | 7.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#444549
Deuteranopia (green-blind)
#655F45
Tritanopia (blue-blind)
#B00032
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #a12248; /* rgb */ color: rgb(161, 34, 72); /* oklch */ color: oklch(47.2% 0.163 9.0);
Tailwind
colors: {
custom: {
50: '#c36a7a',
500: '#a12248',
950: '#000000',
},
}SCSS
$custom: #a12248; $custom-light: #c36a7a; $custom-dark: #000000;
JSON
{
"hex": "#a12248",
"rgb": {
"r": 161,
"g": 34,
"b": 72
},
"hsl": {
"h": 342.047,
"s": 65.128,
"l": 38.235
},
"oklch": {
"l": 0.47228,
"c": 0.16295,
"h": 9
},
"luminance": 0.09189
}Semantic roles & 50–950 ramp
primary
#A12248
secondary
#5DC2A4
accent
#E8B640
background
#FCF6F7
surface
#F9ECED
border
#D2C7C8
text
#140709
muted
#827A7B