#AB2A2D#AB2A2D

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

Color values

HEX#AB2A2D
RGBrgb(171, 42, 45)
HSLhsl(359, 61%, 42%)
HSVhsv(359, 75%, 67%)
CMYKcmyk(0%, 75.4%, 73.7%, 32.9%)
CIE-LABlab(38.74, 51.72, 30.44)
CIE-LCHlch(38.74, 60.01, 30.48°)
OKLaboklab(49.19% 0.1504 0.069)
OKLCHoklch(49.19% 0.165 24.6)
XYZxyz(18.0983, 10.5061, 3.5570)
Luminance0.1050 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2A2D #2AABA8
analogous
#AB2A6E #AB2A2D #AB682A
triadic
#AB2A2D #2DAB2A #2A2DAB
tetradic
#AB2A2D #6EAB2A #2AABA8 #682AAB
square
#AB2A2D #6EAB2A #2AABA8 #682AAB
split-complementary
#AB2A2D #2AAB68 #2A6EAB
monochromatic
#491213 #7A1E20 #AB2A2D #D14245 #DD7375

Accessibility & contrast

On white

6.77
#AB2A2D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AB2A2D
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2A2D#FFFFFF#000000##FFFFFF
##AB2A2D1.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#50492C
Deuteranopia (green-blind)
#706528
Tritanopia (blue-blind)
#BC002D
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #ab2a2d;
/* rgb */ color: rgb(171, 42, 45);
/* oklch */ color: oklch(49.2% 0.165 24.6);
Tailwind
colors: {
  custom: {
    50: '#cc6e66',
    500: '#ab2a2d',
    950: '#000000',
  },
}
SCSS
$custom: #ab2a2d;
$custom-light: #cc6e66;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2a2d",
  "rgb": {
    "r": 171,
    "g": 42,
    "b": 45
  },
  "hsl": {
    "h": 358.605,
    "s": 60.563,
    "l": 41.765
  },
  "oklch": {
    "l": 0.49186,
    "c": 0.16542,
    "h": 24.6
  },
  "luminance": 0.10503
}

Semantic roles & 50–950 ramp

primary
#AB2A2D
secondary
#6DC4C2
accent
#E4E044
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150806
muted
#837B7A

Preview Lab

Preview with #AB2A2D

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

Preview Lab → · Contrast checker → · Palette generator →

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