#A1272B#A1272B
#A1272B is a mid, vivid red. Relative luminance 0.092; OKLCH L 47.1% C 0.158 H 24.2°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).
Color values
| HEX | #A1272B |
|---|---|
| RGB | rgb(161, 39, 43) |
| HSL | hsl(358, 61%, 39%) |
| HSV | hsv(358, 76%, 63%) |
| CMYK | cmyk(0%, 75.8%, 73.3%, 36.9%) |
| CIE-LAB | lab(36.38, 49.52, 28.41) |
| CIE-LCH | lch(36.38, 57.09, 29.85°) |
| OKLab | oklab(47.07% 0.1442 0.0647) |
| OKLCH | oklch(47.07% 0.158 24.2) |
| XYZ | xyz(15.8613, 9.2050, 3.2266) |
| Luminance | 0.0920 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brown
#A52A2A
ΔE00 1.46
Firebrick
#B22222
ΔE00 4.41
Carmine
#9D0216
ΔE00 4.57
Lipstick Red
#C0022F
ΔE00 5.74
Brownish Red
#9E3623
ΔE00 5.87
Brick
#A03623
ΔE00 5.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A1272B #27A19D
analogous
#A12768 #A1272B #A16027
triadic
#A1272B #2BA127 #272BA1
tetradic
#A1272B #68A127 #27A19D #6027A1
square
#A1272B #68A127 #27A19D #6027A1
split-complementary
#A1272B #27A160 #2768A1
monochromatic
#3E0F11 #701B1E #A1272B #CE373C #DA686C
Accessibility & contrast
On white
7.39
#A1272B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.84
#A1272B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #A1272B
7.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A1272B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A1272B | 1.00 | 7.39 | 2.84 | 7.39 |
| #FFFFFF | 7.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4B452A
Deuteranopia (green-blind)
#6A5F27
Tritanopia (blue-blind)
#B1002A
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #a1272b; /* rgb */ color: rgb(161, 39, 43); /* oklch */ color: oklch(47.1% 0.158 24.2);
Tailwind
colors: {
custom: {
50: '#c56b64',
500: '#a1272b',
950: '#000000',
},
}SCSS
$custom: #a1272b; $custom-light: #c56b64; $custom-dark: #000000;
JSON
{
"hex": "#a1272b",
"rgb": {
"r": 161,
"g": 39,
"b": 43
},
"hsl": {
"h": 358.033,
"s": 61,
"l": 39.216
},
"oklch": {
"l": 0.47067,
"c": 0.15807,
"h": 24.2
},
"luminance": 0.09203
}Semantic roles & 50–950 ramp
primary
#A1272B
secondary
#63C0BD
accent
#E4DF44
background
#FDF6F6
surface
#FAECEB
border
#D3C7C6
text
#140705
muted
#837A7A