#AB2A3D#AB2A3D

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

Color values

HEX#AB2A3D
RGBrgb(171, 42, 61)
HSLhsl(351, 61%, 42%)
HSVhsv(351, 75%, 67%)
CMYKcmyk(0%, 75.4%, 64.3%, 32.9%)
CIE-LABlab(38.99, 52.56, 20.89)
CIE-LCHlch(38.99, 56.56, 21.67°)
OKLaboklab(49.46% 0.1565 0.0502)
OKLCHoklch(49.46% 0.164 17.8)
XYZxyz(18.4668, 10.6535, 5.4979)
Luminance0.1065 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2A3D #2AAB98
analogous
#AB2A7E #AB2A3D #AB582A
triadic
#AB2A3D #3DAB2A #2A3DAB
tetradic
#AB2A3D #7EAB2A #2AAB98 #582AAB
square
#AB2A3D #7EAB2A #2AAB98 #582AAB
split-complementary
#AB2A3D #2AAB58 #2A7EAB
monochromatic
#49121A #7A1E2B #AB2A3D #D14257 #DD7382

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB2A3D#FFFFFF#000000##FFFFFF
##AB2A3D1.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)
#4E4B3D
Deuteranopia (green-blind)
#6F6639
Tritanopia (blue-blind)
#BC0032
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #ab2a3d;
/* rgb */ color: rgb(171, 42, 61);
/* oklch */ color: oklch(49.5% 0.164 17.8);
Tailwind
colors: {
  custom: {
    50: '#cb6f72',
    500: '#ab2a3d',
    950: '#000000',
  },
}
SCSS
$custom: #ab2a3d;
$custom-light: #cb6f72;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2a3d",
  "rgb": {
    "r": 171,
    "g": 42,
    "b": 61
  },
  "hsl": {
    "h": 351.163,
    "s": 60.563,
    "l": 41.765
  },
  "oklch": {
    "l": 0.49457,
    "c": 0.16434,
    "h": 17.8
  },
  "luminance": 0.10651
}

Semantic roles & 50–950 ramp

primary
#AB2A3D
secondary
#6DC4B7
accent
#E4CC44
background
#FDF7F6
surface
#FAEDEC
border
#D3C8C7
text
#150807
muted
#837B7A

Preview Lab

Preview with #AB2A3D

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

Preview Lab → · Contrast checker → · Palette generator →

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