#A12938#A12938
#A12938 is a mid, vivid red. Relative luminance 0.094; OKLCH L 47.5% C 0.155 H 18.8°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).
Color values
| HEX | #A12938 |
|---|---|
| RGB | rgb(161, 41, 56) |
| HSL | hsl(353, 59%, 40%) |
| HSV | hsv(353, 75%, 63%) |
| CMYK | cmyk(0%, 74.5%, 65.2%, 36.9%) |
| CIE-LAB | lab(36.84, 49.51, 20.89) |
| CIE-LCH | lch(36.84, 53.73, 22.87°) |
| OKLab | oklab(47.48% 0.147 0.0499) |
| OKLCH | oklch(47.48% 0.155 18.8) |
| XYZ | xyz(16.2064, 9.4509, 4.7115) |
| Luminance | 0.0945 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rouge
#AB1239
ΔE00 3.04
Brown
#A52A2A
ΔE00 5.17
Rose Red
#BE013C
ΔE00 5.36
Cranberry
#9E003A
ΔE00 5.86
Lipstick Red
#C0022F
ΔE00 6.16
Cardinal
#C41E3A
ΔE00 6.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A12938 #29A192
analogous
#A12974 #A12938 #A15629
triadic
#A12938 #38A129 #2938A1
tetradic
#A12938 #74A129 #29A192 #5629A1
square
#A12938 #74A129 #29A192 #5629A1
split-complementary
#A12938 #29A156 #2974A1
monochromatic
#3F1016 #701D27 #A12938 #CD3A4D #D96B79
Accessibility & contrast
On white
7.27
#A12938 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.89
#A12938 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #A12938
7.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A12938 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A12938 | 1.00 | 7.27 | 2.89 | 7.27 |
| #FFFFFF | 7.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4B4738
Deuteranopia (green-blind)
#696035
Tritanopia (blue-blind)
#B10030
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #a12938; /* rgb */ color: rgb(161, 41, 56); /* oklch */ color: oklch(47.5% 0.155 18.8);
Tailwind
colors: {
custom: {
50: '#c46d6e',
500: '#a12938',
950: '#000000',
},
}SCSS
$custom: #a12938; $custom-light: #c46d6e; $custom-dark: #000000;
JSON
{
"hex": "#a12938",
"rgb": {
"r": 161,
"g": 41,
"b": 56
},
"hsl": {
"h": 352.5,
"s": 59.406,
"l": 39.608
},
"oklch": {
"l": 0.47478,
"c": 0.15529,
"h": 18.8
},
"luminance": 0.09448
}Semantic roles & 50–950 ramp
primary
#A12938
secondary
#66C0B5
accent
#E3CF45
background
#FCF6F6
surface
#F9ECEB
border
#D2C7C6
text
#140807
muted
#827B7A