#AB2D2E#AB2D2E

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

Color values

HEX#AB2D2E
RGBrgb(171, 45, 46)
HSLhsl(360, 58%, 42%)
HSVhsv(360, 74%, 67%)
CMYKcmyk(0%, 73.7%, 73.1%, 32.9%)
CIE-LABlab(39.13, 50.71, 30.29)
CIE-LCHlch(39.13, 59.07, 30.85°)
OKLaboklab(49.48% 0.1474 0.0689)
OKLCHoklch(49.48% 0.163 25)
XYZxyz(18.2282, 10.7347, 3.6964)
Luminance0.1073 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2D2E #2DABAA
analogous
#AB2D6D #AB2D2E #AB6B2D
triadic
#AB2D2E #2EAB2D #2D2EAB
tetradic
#AB2D2E #6DAB2D #2DABAA #6B2DAB
square
#AB2D2E #6DAB2D #2DABAA #6B2DAB
split-complementary
#AB2D2E #2DAB6B #2D6DAB
monochromatic
#4A1414 #7B2021 #AB2D2E #CE4748 #DB7778

Accessibility & contrast

On white

6.67
#AB2D2E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#AB2D2E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2D2E
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2D2E#FFFFFF#000000##FFFFFF
##AB2D2E1.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524B2D
Deuteranopia (green-blind)
#71662A
Tritanopia (blue-blind)
#BC002F
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #ab2d2e;
/* rgb */ color: rgb(171, 45, 46);
/* oklch */ color: oklch(49.5% 0.163 25.0);
Tailwind
colors: {
  custom: {
    50: '#cc7067',
    500: '#ab2d2e',
    950: '#000000',
  },
}
SCSS
$custom: #ab2d2e;
$custom-light: #cc7067;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2d2e",
  "rgb": {
    "r": 171,
    "g": 45,
    "b": 46
  },
  "hsl": {
    "h": 359.524,
    "s": 58.333,
    "l": 42.353
  },
  "oklch": {
    "l": 0.49484,
    "c": 0.16266,
    "h": 25
  },
  "luminance": 0.10732
}

Semantic roles & 50–950 ramp

primary
#AB2D2E
secondary
#71C3C3
accent
#E2E046
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150806
muted
#837B7A

Preview Lab

Preview with #AB2D2E

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

Preview Lab → · Contrast checker → · Palette generator →

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