#AB2C2D#AB2C2D

#AB2C2D is a mid, vivid red. Relative luminance 0.106; OKLCH L 49.4% C 0.164 H 25.2°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#AB2C2D
RGBrgb(171, 44, 45)
HSLhsl(360, 59%, 42%)
HSVhsv(360, 74%, 67%)
CMYKcmyk(0%, 74.3%, 73.7%, 32.9%)
CIE-LABlab(38.99, 51.02, 30.73)
CIE-LCHlch(38.99, 59.56, 31.06°)
OKLaboklab(49.37% 0.1481 0.0696)
OKLCHoklch(49.37% 0.164 25.2)
XYZxyz(18.1710, 10.6515, 3.5813)
Luminance0.1065 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2C2D #2CABAA
analogous
#AB2C6C #AB2C2D #AB6B2C
triadic
#AB2C2D #2DAB2C #2C2DAB
tetradic
#AB2C2D #6CAB2C #2CABAA #6B2CAB
square
#AB2C2D #6CAB2C #2CABAA #6B2CAB
split-complementary
#AB2C2D #2CAB6B #2C6CAB
monochromatic
#4A1313 #7A1F20 #AB2C2D #CF4546 #DC7677

Accessibility & contrast

On white

6.71
#AB2C2D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#AB2C2D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2C2D
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2C2D#FFFFFF#000000##FFFFFF
##AB2C2D1.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514A2C
Deuteranopia (green-blind)
#716628
Tritanopia (blue-blind)
#BC002E
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #ab2c2d;
/* rgb */ color: rgb(171, 44, 45);
/* oklch */ color: oklch(49.4% 0.164 25.2);
Tailwind
colors: {
  custom: {
    50: '#cc6f66',
    500: '#ab2c2d',
    950: '#000000',
  },
}
SCSS
$custom: #ab2c2d;
$custom-light: #cc6f66;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2c2d",
  "rgb": {
    "r": 171,
    "g": 44,
    "b": 45
  },
  "hsl": {
    "h": 359.528,
    "s": 59.07,
    "l": 42.157
  },
  "oklch": {
    "l": 0.49373,
    "c": 0.16368,
    "h": 25.2
  },
  "luminance": 0.10649
}

Semantic roles & 50–950 ramp

primary
#AB2C2D
secondary
#6FC3C3
accent
#E2E146
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150806
muted
#837B7A

Preview Lab

Preview with #AB2C2D

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

Preview Lab → · Contrast checker → · Palette generator →

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