#A12845#A12845
#A12845 is a mid, vivid red. Relative luminance 0.095; OKLCH L 47.7% C 0.157 H 11.8°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).
Color values
| HEX | #A12845 |
|---|---|
| RGB | rgb(161, 40, 69) |
| HSL | hsl(346, 60%, 39%) |
| HSV | hsv(346, 75%, 63%) |
| CMYK | cmyk(0%, 75.2%, 57.1%, 36.9%) |
| CIE-LAB | lab(36.98, 50.75, 12.79) |
| CIE-LCH | lch(36.98, 52.33, 14.15°) |
| OKLab | oklab(47.67% 0.1534 0.032) |
| OKLCH | oklch(47.67% 0.157 11.8) |
| XYZ | xyz(16.5325, 9.5267, 6.5974) |
| Luminance | 0.0952 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Cranberry
#9E003A
ΔE00 3.82
Raspberry (survey)
#B00149
ΔE00 3.84
Rouge
#AB1239
ΔE00 3.86
Purplish Red
#B0054B
ΔE00 4.00
Light Burgundy
#A8415B
ΔE00 5.94
Purple Red
#990147
ΔE00 6.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A12845 #28A184
analogous
#A12882 #A12845 #A14828
triadic
#A12845 #45A128 #2845A1
tetradic
#A12845 #82A128 #28A184 #4828A1
square
#A12845 #82A128 #28A184 #4828A1
split-complementary
#A12845 #28A148 #2882A1
monochromatic
#3F101B #701C30 #A12845 #CE395C #DA6A84
Accessibility & contrast
On white
7.23
#A12845 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.90
#A12845 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #A12845
7.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A12845 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A12845 | 1.00 | 7.23 | 2.90 | 7.23 |
| #FFFFFF | 7.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#484745
Deuteranopia (green-blind)
#676042
Tritanopia (blue-blind)
#B00234
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #a12845; /* rgb */ color: rgb(161, 40, 69); /* oklch */ color: oklch(47.7% 0.157 11.8);
Tailwind
colors: {
custom: {
50: '#c36c78',
500: '#a12845',
950: '#000000',
},
}SCSS
$custom: #a12845; $custom-light: #c36c78; $custom-dark: #000000;
JSON
{
"hex": "#a12845",
"rgb": {
"r": 161,
"g": 40,
"b": 69
},
"hsl": {
"h": 345.62,
"s": 60.199,
"l": 39.412
},
"oklch": {
"l": 0.47669,
"c": 0.15674,
"h": 11.8
},
"luminance": 0.09524
}Semantic roles & 50–950 ramp
primary
#A12845
secondary
#65C0AA
accent
#E3BD44
background
#FCF6F7
surface
#F9ECED
border
#D2C7C8
text
#140808
muted
#827B7B