#A12038#A12038
#A12038 is a mid, vivid red. Relative luminance 0.089; OKLCH L 46.7% C 0.163 H 16.7°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).
Color values
| HEX | #A12038 |
|---|---|
| RGB | rgb(161, 32, 56) |
| HSL | hsl(349, 67%, 38%) |
| HSV | hsv(349, 80%, 63%) |
| CMYK | cmyk(0%, 80.1%, 65.2%, 36.9%) |
| CIE-LAB | lab(35.79, 52.45, 19.53) |
| CIE-LCH | lch(35.79, 55.97, 20.43°) |
| OKLab | oklab(46.7% 0.1565 0.0469) |
| OKLCH | oklch(46.7% 0.163 16.7) |
| XYZ | xyz(15.9300, 8.8980, 4.6193) |
| Luminance | 0.0890 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rouge
#AB1239
ΔE00 1.94
Cranberry
#9E003A
ΔE00 4.17
Rose Red
#BE013C
ΔE00 5.14
Raspberry (survey)
#B00149
ΔE00 6.10
Purplish Red
#B0054B
ΔE00 6.49
Brown
#A52A2A
ΔE00 6.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A12038 #20A189
analogous
#A12078 #A12038 #A14820
triadic
#A12038 #38A120 #2038A1
tetradic
#A12038 #78A120 #20A189 #4820A1
square
#A12038 #78A120 #20A189 #4820A1
split-complementary
#A12038 #20A148 #2078A1
monochromatic
#3B0C14 #6E1626 #A12038 #D42A4A #DF5D75
Accessibility & contrast
On white
7.56
#A12038 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.78
#A12038 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #A12038
7.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A12038 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A12038 | 1.00 | 7.56 | 2.78 | 7.56 |
| #FFFFFF | 7.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#464338
Deuteranopia (green-blind)
#675E34
Tritanopia (blue-blind)
#B1002B
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #a12038; /* rgb */ color: rgb(161, 32, 56); /* oklch */ color: oklch(46.7% 0.163 16.7);
Tailwind
colors: {
custom: {
50: '#c4696e',
500: '#a12038',
950: '#000000',
},
}SCSS
$custom: #a12038; $custom-light: #c4696e; $custom-dark: #000000;
JSON
{
"hex": "#a12038",
"rgb": {
"r": 161,
"g": 32,
"b": 56
},
"hsl": {
"h": 348.837,
"s": 66.839,
"l": 37.843
},
"oklch": {
"l": 0.46699,
"c": 0.16336,
"h": 16.7
},
"luminance": 0.08896
}Semantic roles & 50–950 ramp
primary
#A12038
secondary
#5AC3AF
accent
#EACA3E
background
#FDF6F6
surface
#FAECEB
border
#D3C7C6
text
#140707
muted
#837A7A