#AB2E2A#AB2E2A

#AB2E2A is a mid, vivid red. Relative luminance 0.108; OKLCH L 49.5% C 0.162 H 26.9°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#AB2E2A
RGBrgb(171, 46, 42)
HSLhsl(2, 61%, 42%)
HSVhsv(2, 75%, 67%)
CMYKcmyk(0%, 73.1%, 75.4%, 32.9%)
CIE-LABlab(39.21, 50.17, 32.75)
CIE-LCHlch(39.21, 59.91, 33.14°)
OKLaboklab(49.53% 0.1448 0.0733)
OKLCHoklch(49.53% 0.162 26.9)
XYZxyz(18.1916, 10.7819, 3.3133)
Luminance0.1078 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2E2A #2AA7AB
analogous
#AB2A67 #AB2E2A #AB6E2A
triadic
#AB2E2A #2AAB2E #2E2AAB
tetradic
#AB2E2A #67AB2A #2AA7AB #6E2AAB
square
#AB2E2A #67AB2A #2AA7AB #6E2AAB
split-complementary
#AB2E2A #2AAB6E #2A67AB
monochromatic
#491412 #7A211E #AB2E2A #D14642 #DD7673

Accessibility & contrast

On white

6.65
#AB2E2A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#AB2E2A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2E2A
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2E2A#FFFFFF#000000##FFFFFF
##AB2E2A1.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534B28
Deuteranopia (green-blind)
#726625
Tritanopia (blue-blind)
#BC002E
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #ab2e2a;
/* rgb */ color: rgb(171, 46, 42);
/* oklch */ color: oklch(49.5% 0.162 26.9);
Tailwind
colors: {
  custom: {
    50: '#cc7064',
    500: '#ab2e2a',
    950: '#000000',
  },
}
SCSS
$custom: #ab2e2a;
$custom-light: #cc7064;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2e2a",
  "rgb": {
    "r": 171,
    "g": 46,
    "b": 42
  },
  "hsl": {
    "h": 1.86,
    "s": 60.563,
    "l": 41.765
  },
  "oklch": {
    "l": 0.49527,
    "c": 0.1623,
    "h": 26.9
  },
  "luminance": 0.10779
}

Semantic roles & 50–950 ramp

primary
#AB2E2A
secondary
#6DC1C4
accent
#DFE444
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150805
muted
#837B7A

Preview Lab

Preview with #AB2E2A

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

Preview Lab → · Contrast checker → · Palette generator →

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