#AB2F30#AB2F30
#AB2F30 is a mid, vivid red. Relative luminance 0.109; OKLCH L 49.7% C 0.161 H 24.8°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).
Color values
| HEX | #AB2F30 |
|---|---|
| RGB | rgb(171, 47, 48) |
| HSL | hsl(360, 57%, 43%) |
| HSV | hsv(360, 73%, 67%) |
| CMYK | cmyk(0%, 72.5%, 71.9%, 32.9%) |
| CIE-LAB | lab(39.42, 50.07, 29.43) |
| CIE-LCH | lch(39.42, 58.08, 30.45°) |
| OKLab | oklab(49.71% 0.1458 0.0674) |
| OKLCH | oklch(49.71% 0.161 24.8) |
| XYZ | xyz(18.3466, 10.9071, 3.9350) |
| Luminance | 0.1090 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brown
#A52A2A
ΔE00 1.77
Firebrick
#B22222
ΔE00 3.30
Lipstick Red
#C0022F
ΔE00 4.67
Dull Red
#BB3F3F
ΔE00 5.05
Brick
#A03623
ΔE00 5.48
Scarlet
#BE0119
ΔE00 5.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB2F30 #2FABAA
analogous
#AB2F6E #AB2F30 #AB6C2F
triadic
#AB2F30 #30AB2F #2F30AB
tetradic
#AB2F30 #6EAB2F #2FABAA #6C2FAB
square
#AB2F30 #6EAB2F #2FABAA #6C2FAB
split-complementary
#AB2F30 #2FAB6C #2F6EAB
monochromatic
#4B1515 #7B2223 #AB2F30 #CD4A4B #DA7A7B
Accessibility & contrast
On white
6.60
#AB2F30 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.18
#AB2F30 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB2F30
6.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB2F30 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB2F30 | 1.00 | 6.60 | 3.18 | 6.60 |
| #FFFFFF | 6.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#534C2F
Deuteranopia (green-blind)
#72672C
Tritanopia (blue-blind)
#BC0031
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #ab2f30; /* rgb */ color: rgb(171, 47, 48); /* oklch */ color: oklch(49.7% 0.161 24.8);
Tailwind
colors: {
custom: {
50: '#cc7168',
500: '#ab2f30',
950: '#000000',
},
}SCSS
$custom: #ab2f30; $custom-light: #cc7168; $custom-dark: #000000;
JSON
{
"hex": "#ab2f30",
"rgb": {
"r": 171,
"g": 47,
"b": 48
},
"hsl": {
"h": 359.516,
"s": 56.881,
"l": 42.745
},
"oklch": {
"l": 0.49711,
"c": 0.16059,
"h": 24.8
},
"luminance": 0.10904
}Semantic roles & 50–950 ramp
primary
#AB2F30
secondary
#73C3C2
accent
#E0DF48
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150806
muted
#837B7A