#AB2F1C#AB2F1C

#AB2F1C is a mid, vivid red. Relative luminance 0.108; OKLCH L 49.5% C 0.164 H 31.6°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#AB2F1C
RGBrgb(171, 47, 28)
HSLhsl(8, 72%, 39%)
HSVhsv(8, 84%, 67%)
CMYKcmyk(0%, 72.5%, 83.6%, 32.9%)
CIE-LABlab(39.20, 49.31, 40.46)
CIE-LCHlch(39.20, 63.78, 39.37°)
OKLaboklab(49.48% 0.1393 0.0858)
OKLCHoklch(49.48% 0.164 31.6)
XYZxyz(18.0229, 10.7776, 2.2297)
Luminance0.1077 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2F1C #1C98AB
analogous
#AB1C51 #AB2F1C #AB771C
triadic
#AB2F1C #1CAB2F #2F1CAB
tetradic
#AB2F1C #51AB1C #1C98AB #771CAB
square
#AB2F1C #51AB1C #1C98AB #771CAB
split-complementary
#AB2F1C #1CAB77 #1C51AB
monochromatic
#42120B #762113 #AB2F1C #DC4028 #E46F5D

Accessibility & contrast

On white

6.66
#AB2F1C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#AB2F1C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2F1C
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2F1C#FFFFFF#000000##FFFFFF
##AB2F1C1.006.663.166.66
#FFFFFF6.661.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ab2f1c;
/* rgb */ color: rgb(171, 47, 28);
/* oklch */ color: oklch(49.5% 0.164 31.6);
Tailwind
colors: {
  custom: {
    50: '#cd705a',
    500: '#ab2f1c',
    950: '#000000',
  },
}
SCSS
$custom: #ab2f1c;
$custom-light: #cd705a;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2f1c",
  "rgb": {
    "r": 171,
    "g": 47,
    "b": 28
  },
  "hsl": {
    "h": 7.972,
    "s": 71.859,
    "l": 39.02
  },
  "oklch": {
    "l": 0.49477,
    "c": 0.16358,
    "h": 31.6
  },
  "luminance": 0.10775
}

Semantic roles & 50–950 ramp

primary
#AB2F1C
secondary
#5ABAC9
accent
#D6EF39
background
#FDF7F5
surface
#FBEDE9
border
#D4C8C5
text
#150804
muted
#837B79

Preview Lab

Preview with #AB2F1C

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

Preview Lab → · Contrast checker → · Palette generator →

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