#AB382A#AB382A
#AB382A is a mid, vivid red. Relative luminance 0.117; OKLCH L 50.6% C 0.153 H 30.1°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).
Color values
| HEX | #AB382A |
|---|---|
| RGB | rgb(171, 56, 42) |
| HSL | hsl(7, 61%, 42%) |
| HSV | hsv(7, 75%, 67%) |
| CMYK | cmyk(0%, 67.3%, 75.4%, 32.9%) |
| CIE-LAB | lab(40.66, 46.19, 34.35) |
| CIE-LCH | lch(40.66, 57.57, 36.64°) |
| OKLab | oklab(50.62% 0.1323 0.0768) |
| OKLCH | oklch(50.62% 0.153 30.1) |
| XYZ | xyz(18.6287, 11.6562, 3.4590) |
| Luminance | 0.1165 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brick
#A03623
ΔE00 2.72
Brownish Red
#9E3623
ΔE00 3.05
Firebrick
#B22222
ΔE00 3.38
Brown
#A52A2A
ΔE00 4.12
Scarlet
#BE0119
ΔE00 5.35
Rusty Red
#AF2F0D
ΔE00 5.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB382A #2A9DAB
analogous
#AB2A5C #AB382A #AB792A
triadic
#AB382A #2AAB38 #382AAB
tetradic
#AB382A #5CAB2A #2A9DAB #792AAB
square
#AB382A #5CAB2A #2A9DAB #792AAB
split-complementary
#AB382A #2AAB79 #2A5CAB
monochromatic
#491812 #7A281E #AB382A #D15142 #DD7E73
Accessibility & contrast
On white
6.31
#AB382A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.33
#AB382A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB382A
6.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB382A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB382A | 1.00 | 6.31 | 3.33 | 6.31 |
| #FFFFFF | 6.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#595028
Deuteranopia (green-blind)
#756926
Tritanopia (blue-blind)
#BC1736
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #ab382a; /* rgb */ color: rgb(171, 56, 42); /* oklch */ color: oklch(50.6% 0.153 30.1);
Tailwind
colors: {
custom: {
50: '#cc7564',
500: '#ab382a',
950: '#000000',
},
}SCSS
$custom: #ab382a; $custom-light: #cc7564; $custom-dark: #000000;
JSON
{
"hex": "#ab382a",
"rgb": {
"r": 171,
"g": 56,
"b": 42
},
"hsl": {
"h": 6.512,
"s": 60.563,
"l": 41.765
},
"oklch": {
"l": 0.50615,
"c": 0.15298,
"h": 30.1
},
"luminance": 0.11653
}Semantic roles & 50–950 ramp
primary
#AB382A
secondary
#6DBAC4
accent
#D2E444
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150905
muted
#837B7A