#AB2A28#AB2A28

#AB2A28 is a mid, vivid red. Relative luminance 0.105; OKLCH L 49.1% C 0.166 H 26.5°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#AB2A28
RGBrgb(171, 42, 40)
HSLhsl(1, 62%, 41%)
HSVhsv(1, 77%, 67%)
CMYKcmyk(0%, 75.4%, 76.6%, 32.9%)
CIE-LABlab(38.67, 51.51, 33.33)
CIE-LCHlch(38.67, 61.35, 32.90°)
OKLaboklab(49.12% 0.1486 0.0741)
OKLCHoklch(49.12% 0.166 26.5)
XYZxyz(18.0077, 10.4699, 3.0798)
Luminance0.1047 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2A28 #28A9AB
analogous
#AB2868 #AB2A28 #AB6C28
triadic
#AB2A28 #28AB2A #2A28AB
tetradic
#AB2A28 #68AB28 #28A9AB #6C28AB
square
#AB2A28 #68AB28 #28A9AB #6C28AB
split-complementary
#AB2A28 #28AB6C #2868AB
monochromatic
#481211 #791E1C #AB2A28 #D2413E #DE7270

Accessibility & contrast

On white

6.79
#AB2A28 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#AB2A28 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2A28
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2A28#FFFFFF#000000##FFFFFF
##AB2A281.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514926
Deuteranopia (green-blind)
#716523
Tritanopia (blue-blind)
#BC002B
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #ab2a28;
/* rgb */ color: rgb(171, 42, 40);
/* oklch */ color: oklch(49.1% 0.166 26.5);
Tailwind
colors: {
  custom: {
    50: '#cd6e62',
    500: '#ab2a28',
    950: '#000000',
  },
}
SCSS
$custom: #ab2a28;
$custom-light: #cd6e62;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2a28",
  "rgb": {
    "r": 171,
    "g": 42,
    "b": 40
  },
  "hsl": {
    "h": 0.916,
    "s": 62.085,
    "l": 41.373
  },
  "oklch": {
    "l": 0.49119,
    "c": 0.16603,
    "h": 26.5
  },
  "luminance": 0.10467
}

Semantic roles & 50–950 ramp

primary
#AB2A28
secondary
#6AC3C4
accent
#E3E543
background
#FDF7F5
surface
#FBEDEA
border
#D4C8C6
text
#150805
muted
#837B79

Preview Lab

Preview with #AB2A28

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

Preview Lab → · Contrast checker → · Palette generator →

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