#AB2E1C#AB2E1C

#AB2E1C is a mid, vivid red. Relative luminance 0.107; OKLCH L 49.4% C 0.164 H 31.3°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#AB2E1C
RGBrgb(171, 46, 28)
HSLhsl(8, 72%, 39%)
HSVhsv(8, 84%, 67%)
CMYKcmyk(0%, 73.1%, 83.6%, 32.9%)
CIE-LABlab(39.07, 49.68, 40.34)
CIE-LCHlch(39.07, 63.99, 39.07°)
OKLaboklab(49.38% 0.1405 0.0855)
OKLCHoklch(49.38% 0.164 31.3)
XYZxyz(17.9833, 10.6986, 2.2165)
Luminance0.1070 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2E1C #1C99AB
analogous
#AB1C52 #AB2E1C #AB761C
triadic
#AB2E1C #1CAB2E #2E1CAB
tetradic
#AB2E1C #52AB1C #1C99AB #761CAB
square
#AB2E1C #52AB1C #1C99AB #761CAB
split-complementary
#AB2E1C #1CAB76 #1C52AB
monochromatic
#42120B #762013 #AB2E1C #DC3F28 #E46E5D

Accessibility & contrast

On white

6.69
#AB2E1C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#AB2E1C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2E1C
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2E1C#FFFFFF#000000##FFFFFF
##AB2E1C1.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544A18
Deuteranopia (green-blind)
#736615
Tritanopia (blue-blind)
#BD002B
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #ab2e1c;
/* rgb */ color: rgb(171, 46, 28);
/* oklch */ color: oklch(49.4% 0.164 31.3);
Tailwind
colors: {
  custom: {
    50: '#cd705a',
    500: '#ab2e1c',
    950: '#000000',
  },
}
SCSS
$custom: #ab2e1c;
$custom-light: #cd705a;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2e1c",
  "rgb": {
    "r": 171,
    "g": 46,
    "b": 28
  },
  "hsl": {
    "h": 7.552,
    "s": 71.859,
    "l": 39.02
  },
  "oklch": {
    "l": 0.49376,
    "c": 0.16442,
    "h": 31.3
  },
  "luminance": 0.10696
}

Semantic roles & 50–950 ramp

primary
#AB2E1C
secondary
#5ABBC9
accent
#D8EF39
background
#FDF7F5
surface
#FBEDE9
border
#D4C8C5
text
#150804
muted
#837B79

Preview Lab

Preview with #AB2E1C

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#AB2E1C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva