#AB2A32#AB2A32

#AB2A32 is a mid, vivid red. Relative luminance 0.105; OKLCH L 49.3% C 0.165 H 22.6°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#AB2A32
RGBrgb(171, 42, 50)
HSLhsl(356, 61%, 42%)
HSVhsv(356, 75%, 67%)
CMYKcmyk(0%, 75.4%, 70.8%, 32.9%)
CIE-LABlab(38.81, 51.96, 27.49)
CIE-LCHlch(38.81, 58.78, 27.88°)
OKLaboklab(49.26% 0.1522 0.0635)
OKLCHoklch(49.26% 0.165 22.6)
XYZxyz(18.2003, 10.5469, 4.0944)
Luminance0.1054 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2A32 #2AABA3
analogous
#AB2A73 #AB2A32 #AB632A
triadic
#AB2A32 #32AB2A #2A32AB
tetradic
#AB2A32 #73AB2A #2AABA3 #632AAB
square
#AB2A32 #73AB2A #2AABA3 #632AAB
split-complementary
#AB2A32 #2AAB63 #2A73AB
monochromatic
#491215 #7A1E24 #AB2A32 #D1424B #DD7379

Accessibility & contrast

On white

6.76
#AB2A32 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#AB2A32 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2A32
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2A32#FFFFFF#000000##FFFFFF
##AB2A321.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504A31
Deuteranopia (green-blind)
#70652E
Tritanopia (blue-blind)
#BC002E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #ab2a32;
/* rgb */ color: rgb(171, 42, 50);
/* oklch */ color: oklch(49.3% 0.165 22.6);
Tailwind
colors: {
  custom: {
    50: '#cc6e6a',
    500: '#ab2a32',
    950: '#000000',
  },
}
SCSS
$custom: #ab2a32;
$custom-light: #cc6e6a;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2a32",
  "rgb": {
    "r": 171,
    "g": 42,
    "b": 50
  },
  "hsl": {
    "h": 356.279,
    "s": 60.563,
    "l": 41.765
  },
  "oklch": {
    "l": 0.49261,
    "c": 0.16491,
    "h": 22.6
  },
  "luminance": 0.10544
}

Semantic roles & 50–950 ramp

primary
#AB2A32
secondary
#6DC4BF
accent
#E4DA44
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150806
muted
#837B7A

Preview Lab

Preview with #AB2A32

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

Preview Lab → · Contrast checker → · Palette generator →

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