#A12D45#A12D45
#A12D45 is a mid, vivid red. Relative luminance 0.099; OKLCH L 48.2% C 0.151 H 13.0°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).
Color values
| HEX | #A12D45 |
|---|---|
| RGB | rgb(161, 45, 69) |
| HSL | hsl(348, 56%, 40%) |
| HSV | hsv(348, 72%, 63%) |
| CMYK | cmyk(0%, 72%, 57.1%, 36.9%) |
| CIE-LAB | lab(37.64, 48.92, 13.69) |
| CIE-LCH | lch(37.64, 50.80, 15.63°) |
| OKLab | oklab(48.16% 0.1476 0.0342) |
| OKLCH | oklch(48.16% 0.151 13) |
| XYZ | xyz(16.7121, 9.8858, 6.6572) |
| Luminance | 0.0988 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rouge
#AB1239
ΔE00 3.81
Cranberry
#9E003A
ΔE00 4.60
Raspberry (survey)
#B00149
ΔE00 4.64
Purplish Red
#B0054B
ΔE00 4.81
Light Burgundy
#A8415B
ΔE00 5.67
Light Maroon
#A24857
ΔE00 5.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A12D45 #2DA189
analogous
#A12D7F #A12D45 #A14F2D
triadic
#A12D45 #45A12D #2D45A1
tetradic
#A12D45 #7FA12D #2DA189 #4F2DA1
square
#A12D45 #7FA12D #2DA189 #4F2DA1
split-complementary
#A12D45 #2DA14F #2D7FA1
monochromatic
#41121C #712031 #A12D45 #CA415E #D77186
Accessibility & contrast
On white
7.05
#A12D45 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.98
#A12D45 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #A12D45
7.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A12D45 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A12D45 | 1.00 | 7.05 | 2.98 | 7.05 |
| #FFFFFF | 7.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4B4945
Deuteranopia (green-blind)
#696142
Tritanopia (blue-blind)
#B01037
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #a12d45; /* rgb */ color: rgb(161, 45, 69); /* oklch */ color: oklch(48.2% 0.151 13.0);
Tailwind
colors: {
custom: {
50: '#c36f78',
500: '#a12d45',
950: '#000000',
},
}SCSS
$custom: #a12d45; $custom-light: #c36f78; $custom-dark: #000000;
JSON
{
"hex": "#a12d45",
"rgb": {
"r": 161,
"g": 45,
"b": 69
},
"hsl": {
"h": 347.586,
"s": 56.311,
"l": 40.392
},
"oklch": {
"l": 0.48157,
"c": 0.15146,
"h": 13
},
"luminance": 0.09884
}Semantic roles & 50–950 ramp
primary
#A12D45
secondary
#6BBFAD
accent
#E0C048
background
#FCF7F7
surface
#F9EDED
border
#D2C8C8
text
#140808
muted
#827B7B