#AB2A2B#AB2A2B

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

Color values

HEX#AB2A2B
RGBrgb(171, 42, 43)
HSLhsl(360, 61%, 42%)
HSVhsv(360, 75%, 67%)
CMYKcmyk(0%, 75.4%, 74.9%, 32.9%)
CIE-LABlab(38.71, 51.64, 31.60)
CIE-LCHlch(38.71, 60.54, 31.47°)
OKLaboklab(49.16% 0.1496 0.0711)
OKLCHoklch(49.16% 0.166 25.4)
XYZxyz(18.0607, 10.4911, 3.3590)
Luminance0.1049 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2A2B #2AABAA
analogous
#AB2A6C #AB2A2B #AB6A2A
triadic
#AB2A2B #2BAB2A #2A2BAB
tetradic
#AB2A2B #6CAB2A #2AABAA #6A2AAB
square
#AB2A2B #6CAB2A #2AABAA #6A2AAB
split-complementary
#AB2A2B #2AAB6A #2A6CAB
monochromatic
#491212 #7A1E1F #AB2A2B #D14243 #DD7374

Accessibility & contrast

On white

6.78
#AB2A2B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#AB2A2B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2A2B
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2A2B#FFFFFF#000000##FFFFFF
##AB2A2B1.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#51492A
Deuteranopia (green-blind)
#716526
Tritanopia (blue-blind)
#BC002C
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #ab2a2b;
/* rgb */ color: rgb(171, 42, 43);
/* oklch */ color: oklch(49.2% 0.166 25.4);
Tailwind
colors: {
  custom: {
    50: '#cc6e64',
    500: '#ab2a2b',
    950: '#000000',
  },
}
SCSS
$custom: #ab2a2b;
$custom-light: #cc6e64;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2a2b",
  "rgb": {
    "r": 171,
    "g": 42,
    "b": 43
  },
  "hsl": {
    "h": 359.535,
    "s": 60.563,
    "l": 41.765
  },
  "oklch": {
    "l": 0.49158,
    "c": 0.16565,
    "h": 25.4
  },
  "luminance": 0.10488
}

Semantic roles & 50–950 ramp

primary
#AB2A2B
secondary
#6DC4C3
accent
#E4E244
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150805
muted
#837B7A

Preview Lab

Preview with #AB2A2B

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

Preview Lab → · Contrast checker → · Palette generator →

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