#AB2C28#AB2C28

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

Color values

HEX#AB2C28
RGBrgb(171, 44, 40)
HSLhsl(2, 62%, 41%)
HSVhsv(2, 77%, 67%)
CMYKcmyk(0%, 74.3%, 76.6%, 32.9%)
CIE-LABlab(38.92, 50.81, 33.60)
CIE-LCHlch(38.92, 60.92, 33.48°)
OKLaboklab(49.31% 0.1464 0.0747)
OKLCHoklch(49.31% 0.164 27)
XYZxyz(18.0804, 10.6153, 3.1040)
Luminance0.1061 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2C28 #28A7AB
analogous
#AB2866 #AB2C28 #AB6E28
triadic
#AB2C28 #28AB2C #2C28AB
tetradic
#AB2C28 #66AB28 #28A7AB #6E28AB
square
#AB2C28 #66AB28 #28A7AB #6E28AB
split-complementary
#AB2C28 #28AB6E #2866AB
monochromatic
#481211 #791F1C #AB2C28 #D2433E #DE7370

Accessibility & contrast

On white

6.73
#AB2C28 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AB2C28
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2C28#FFFFFF#000000##FFFFFF
##AB2C281.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524A26
Deuteranopia (green-blind)
#716623
Tritanopia (blue-blind)
#BC002D
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #ab2c28;
/* rgb */ color: rgb(171, 44, 40);
/* oklch */ color: oklch(49.3% 0.164 27.0);
Tailwind
colors: {
  custom: {
    50: '#cd6f62',
    500: '#ab2c28',
    950: '#000000',
  },
}
SCSS
$custom: #ab2c28;
$custom-light: #cd6f62;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2c28",
  "rgb": {
    "r": 171,
    "g": 44,
    "b": 40
  },
  "hsl": {
    "h": 1.832,
    "s": 62.085,
    "l": 41.373
  },
  "oklch": {
    "l": 0.49306,
    "c": 0.16433,
    "h": 27
  },
  "luminance": 0.10612
}

Semantic roles & 50–950 ramp

primary
#AB2C28
secondary
#6AC2C4
accent
#E0E543
background
#FDF7F5
surface
#FBEDEA
border
#D4C8C6
text
#150805
muted
#837B79

Preview Lab

Preview with #AB2C28

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

Preview Lab → · Contrast checker → · Palette generator →

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