#AB2D1C#AB2D1C

#AB2D1C is a mid, vivid red. Relative luminance 0.106; OKLCH L 49.3% C 0.165 H 31.0°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#AB2D1C
RGBrgb(171, 45, 28)
HSLhsl(7, 72%, 39%)
HSVhsv(7, 84%, 67%)
CMYKcmyk(0%, 73.7%, 83.6%, 32.9%)
CIE-LABlab(38.94, 50.05, 40.21)
CIE-LCHlch(38.94, 64.20, 38.78°)
OKLaboklab(49.28% 0.1416 0.0852)
OKLCHoklch(49.28% 0.165 31)
XYZxyz(17.9447, 10.6214, 2.2036)
Luminance0.1062 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2D1C #1C9AAB
analogous
#AB1C53 #AB2D1C #AB751C
triadic
#AB2D1C #1CAB2D #2D1CAB
tetradic
#AB2D1C #53AB1C #1C9AAB #751CAB
square
#AB2D1C #53AB1C #1C9AAB #751CAB
split-complementary
#AB2D1C #1CAB75 #1C53AB
monochromatic
#42110B #761F13 #AB2D1C #DC3E28 #E46D5D

Accessibility & contrast

On white

6.72
#AB2D1C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#AB2D1C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2D1C
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2D1C#FFFFFF#000000##FFFFFF
##AB2D1C1.006.723.126.72
#FFFFFF6.721.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534A18
Deuteranopia (green-blind)
#726615
Tritanopia (blue-blind)
#BD002A
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #ab2d1c;
/* rgb */ color: rgb(171, 45, 28);
/* oklch */ color: oklch(49.3% 0.165 31.0);
Tailwind
colors: {
  custom: {
    50: '#cd6f5a',
    500: '#ab2d1c',
    950: '#000000',
  },
}
SCSS
$custom: #ab2d1c;
$custom-light: #cd6f5a;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2d1c",
  "rgb": {
    "r": 171,
    "g": 45,
    "b": 28
  },
  "hsl": {
    "h": 7.133,
    "s": 71.859,
    "l": 39.02
  },
  "oklch": {
    "l": 0.49276,
    "c": 0.16526,
    "h": 31
  },
  "luminance": 0.10619
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AB2D1C

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

Preview Lab → · Contrast checker → · Palette generator →

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