#A12C40#A12C40
#A12C40 is a mid, vivid red. Relative luminance 0.097; OKLCH L 47.9% C 0.152 H 15.5°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).
Color values
| HEX | #A12C40 |
|---|---|
| RGB | rgb(161, 44, 64) |
| HSL | hsl(350, 57%, 40%) |
| HSV | hsv(350, 73%, 63%) |
| CMYK | cmyk(0%, 72.7%, 60.2%, 36.9%) |
| CIE-LAB | lab(37.39, 48.93, 16.54) |
| CIE-LCH | lch(37.39, 51.65, 18.67°) |
| OKLab | oklab(47.94% 0.1468 0.0406) |
| OKLCH | oklch(47.94% 0.152 15.5) |
| XYZ | xyz(16.5257, 9.7509, 5.8614) |
| Luminance | 0.0975 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rouge
#AB1239
ΔE00 2.99
Cranberry
#9E003A
ΔE00 4.84
Rose Red
#BE013C
ΔE00 5.41
Raspberry (survey)
#B00149
ΔE00 5.63
Purplish Red
#B0054B
ΔE00 5.89
Light Maroon
#A24857
ΔE00 6.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A12C40 #2CA18D
analogous
#A12C7A #A12C40 #A1532C
triadic
#A12C40 #40A12C #2C40A1
tetradic
#A12C40 #7AA12C #2CA18D #532CA1
square
#A12C40 #7AA12C #2CA18D #532CA1
split-complementary
#A12C40 #2CA153 #2C7AA1
monochromatic
#41121A #711F2D #A12C40 #CB4057 #D87081
Accessibility & contrast
On white
7.12
#A12C40 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.95
#A12C40 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #A12C40
7.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A12C40 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A12C40 | 1.00 | 7.12 | 2.95 | 7.12 |
| #FFFFFF | 7.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4B4840
Deuteranopia (green-blind)
#69613D
Tritanopia (blue-blind)
#B00A34
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #a12c40; /* rgb */ color: rgb(161, 44, 64); /* oklch */ color: oklch(47.9% 0.152 15.5);
Tailwind
colors: {
custom: {
50: '#c36e74',
500: '#a12c40',
950: '#000000',
},
}SCSS
$custom: #a12c40; $custom-light: #c36e74; $custom-dark: #000000;
JSON
{
"hex": "#a12c40",
"rgb": {
"r": 161,
"g": 44,
"b": 64
},
"hsl": {
"h": 349.744,
"s": 57.073,
"l": 40.196
},
"oklch": {
"l": 0.4794,
"c": 0.15227,
"h": 15.5
},
"luminance": 0.09749
}Semantic roles & 50–950 ramp
primary
#A12C40
secondary
#6ABFB0
accent
#E0C647
background
#FCF6F7
surface
#F9ECED
border
#D2C7C8
text
#140808
muted
#827B7B