#A12F42#A12F42
#A12F42 is a mid, vivid red. Relative luminance 0.100; OKLCH L 48.3% C 0.149 H 15.2°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).
Color values
| HEX | #A12F42 |
|---|---|
| RGB | rgb(161, 47, 66) |
| HSL | hsl(350, 55%, 41%) |
| HSV | hsv(350, 71%, 63%) |
| CMYK | cmyk(0%, 70.8%, 59%, 36.9%) |
| CIE-LAB | lab(37.85, 47.92, 15.88) |
| CIE-LCH | lch(37.85, 50.48, 18.34°) |
| OKLab | oklab(48.3% 0.1439 0.0392) |
| OKLCH | oklch(48.3% 0.149 15.2) |
| XYZ | xyz(16.6994, 10.0058, 6.2052) |
| Luminance | 0.1000 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rouge
#AB1239
ΔE00 3.45
Cranberry
#9E003A
ΔE00 5.22
Rose Red
#BE013C
ΔE00 5.61
Raspberry (survey)
#B00149
ΔE00 5.71
Purplish Red
#B0054B
ΔE00 5.93
Light Maroon
#A24857
ΔE00 5.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A12F42 #2FA18E
analogous
#A12F7B #A12F42 #A1552F
triadic
#A12F42 #42A12F #2F42A1
tetradic
#A12F42 #7BA12F #2FA18E #552FA1
square
#A12F42 #7BA12F #2FA18E #552FA1
split-complementary
#A12F42 #2FA155 #2F7BA1
monochromatic
#42131B #72212F #A12F42 #C9455B #D67484
Accessibility & contrast
On white
7.00
#A12F42 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
3.00
#A12F42 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A12F42
7.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A12F42 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A12F42 | 1.00 | 7.00 | 3.00 | 7.00 |
| #FFFFFF | 7.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4C4A42
Deuteranopia (green-blind)
#6A623F
Tritanopia (blue-blind)
#B01337
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #a12f42; /* rgb */ color: rgb(161, 47, 66); /* oklch */ color: oklch(48.3% 0.149 15.2);
Tailwind
colors: {
custom: {
50: '#c37076',
500: '#a12f42',
950: '#000000',
},
}SCSS
$custom: #a12f42; $custom-light: #c37076; $custom-dark: #000000;
JSON
{
"hex": "#a12f42",
"rgb": {
"r": 161,
"g": 47,
"b": 66
},
"hsl": {
"h": 350,
"s": 54.808,
"l": 40.784
},
"oklch": {
"l": 0.48296,
"c": 0.14911,
"h": 15.2
},
"luminance": 0.10003
}Semantic roles & 50–950 ramp
primary
#A12F42
secondary
#6EBEB1
accent
#DEC54A
background
#FCF7F7
surface
#F9EDED
border
#D2C8C8
text
#140808
muted
#827B7B