#AB2A2A#AB2A2A

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

Color values

HEX#AB2A2A
RGBrgb(171, 42, 42)
HSLhsl(0, 61%, 42%)
HSVhsv(0, 75%, 67%)
CMYKcmyk(0%, 75.4%, 75.4%, 32.9%)
CIE-LABlab(38.70, 51.59, 32.18)
CIE-LCHlch(38.70, 60.81, 31.95°)
OKLaboklab(49.14% 0.1493 0.0721)
OKLCHoklch(49.14% 0.166 25.8)
XYZxyz(18.0426, 10.4838, 3.2636)
Luminance0.1048 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2A2A #2AABAB
analogous
#AB2A6B #AB2A2A #AB6B2A
triadic
#AB2A2A #2AAB2A #2A2AAB
tetradic
#AB2A2A #6BAB2A #2AABAB #6B2AAB
square
#AB2A2A #6BAB2A #2AABAB #6B2AAB
split-complementary
#AB2A2A #2AAB6B #2A6BAB
monochromatic
#491212 #7A1E1E #AB2A2A #D14242 #DD7373

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB2A2A#FFFFFF#000000##FFFFFF
##AB2A2A1.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)
#514928
Deuteranopia (green-blind)
#716525
Tritanopia (blue-blind)
#BC002C
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #ab2a2a;
/* rgb */ color: rgb(171, 42, 42);
/* oklch */ color: oklch(49.1% 0.166 25.8);
Tailwind
colors: {
  custom: {
    50: '#cd6e64',
    500: '#ab2a2a',
    950: '#000000',
  },
}
SCSS
$custom: #ab2a2a;
$custom-light: #cd6e64;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2a2a",
  "rgb": {
    "r": 171,
    "g": 42,
    "b": 42
  },
  "hsl": {
    "h": 0,
    "s": 60.563,
    "l": 41.765
  },
  "oklch": {
    "l": 0.49144,
    "c": 0.16578,
    "h": 25.8
  },
  "luminance": 0.10481
}

Semantic roles & 50–950 ramp

primary
#AB2A2A
secondary
#6DC4C4
accent
#E4E444
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150805
muted
#837B7A

Preview Lab

Preview with #AB2A2A

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

Preview Lab → · Contrast checker → · Palette generator →

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