#AB2D2B#AB2D2B

#AB2D2B is a mid, vivid red. Relative luminance 0.107; OKLCH L 49.4% C 0.163 H 26.2°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#AB2D2B
RGBrgb(171, 45, 43)
HSLhsl(1, 60%, 42%)
HSVhsv(1, 75%, 67%)
CMYKcmyk(0%, 73.7%, 74.9%, 32.9%)
CIE-LABlab(39.09, 50.58, 32.03)
CIE-LCHlch(39.09, 59.87, 32.35°)
OKLaboklab(49.44% 0.1463 0.072)
OKLCHoklch(49.44% 0.163 26.2)
XYZxyz(18.1711, 10.7119, 3.3958)
Luminance0.1071 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2D2B #2BA9AB
analogous
#AB2B69 #AB2D2B #AB6D2B
triadic
#AB2D2B #2BAB2D #2D2BAB
tetradic
#AB2D2B #69AB2B #2BA9AB #6D2BAB
square
#AB2D2B #69AB2B #2BA9AB #6D2BAB
split-complementary
#AB2D2B #2BAB6D #2B69AB
monochromatic
#491312 #7A201F #AB2D2B #D04643 #DC7674

Accessibility & contrast

On white

6.68
#AB2D2B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#AB2D2B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2D2B
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2D2B#FFFFFF#000000##FFFFFF
##AB2D2B1.006.683.146.68
#FFFFFF6.681.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524B29
Deuteranopia (green-blind)
#716626
Tritanopia (blue-blind)
#BC002E
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #ab2d2b;
/* rgb */ color: rgb(171, 45, 43);
/* oklch */ color: oklch(49.4% 0.163 26.2);
Tailwind
colors: {
  custom: {
    50: '#cc7065',
    500: '#ab2d2b',
    950: '#000000',
  },
}
SCSS
$custom: #ab2d2b;
$custom-light: #cc7065;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2d2b",
  "rgb": {
    "r": 171,
    "g": 45,
    "b": 43
  },
  "hsl": {
    "h": 0.938,
    "s": 59.813,
    "l": 41.961
  },
  "oklch": {
    "l": 0.49442,
    "c": 0.16305,
    "h": 26.2
  },
  "luminance": 0.10709
}

Semantic roles & 50–950 ramp

primary
#AB2D2B
secondary
#6EC2C4
accent
#E1E345
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150805
muted
#837B7A

Preview Lab

Preview with #AB2D2B

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

Preview Lab → · Contrast checker → · Palette generator →

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