#AB2E2D#AB2E2D

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

Color values

HEX#AB2E2D
RGBrgb(171, 46, 45)
HSLhsl(0, 58%, 42%)
HSVhsv(0, 74%, 67%)
CMYKcmyk(0%, 73.1%, 73.7%, 32.9%)
CIE-LABlab(39.25, 50.30, 31.03)
CIE-LCHlch(39.25, 59.10, 31.67°)
OKLaboklab(49.57% 0.1459 0.0703)
OKLCHoklch(49.57% 0.162 25.7)
XYZxyz(18.2473, 10.8042, 3.6067)
Luminance0.1080 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2E2D #2DAAAB
analogous
#AB2D6B #AB2E2D #AB6D2D
triadic
#AB2E2D #2DAB2E #2E2DAB
tetradic
#AB2E2D #6BAB2D #2DAAAB #6D2DAB
square
#AB2E2D #6BAB2D #2DAAAB #6D2DAB
split-complementary
#AB2E2D #2DAB6D #2D6BAB
monochromatic
#4A1414 #7B2120 #AB2E2D #CE4847 #DB7877

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB2E2D#FFFFFF#000000##FFFFFF
##AB2E2D1.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)
#524B2C
Deuteranopia (green-blind)
#726629
Tritanopia (blue-blind)
#BC002F
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #ab2e2d;
/* rgb */ color: rgb(171, 46, 45);
/* oklch */ color: oklch(49.6% 0.162 25.7);
Tailwind
colors: {
  custom: {
    50: '#cc7066',
    500: '#ab2e2d',
    950: '#000000',
  },
}
SCSS
$custom: #ab2e2d;
$custom-light: #cc7066;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2e2d",
  "rgb": {
    "r": 171,
    "g": 46,
    "b": 45
  },
  "hsl": {
    "h": 0.476,
    "s": 58.333,
    "l": 42.353
  },
  "oklch": {
    "l": 0.49568,
    "c": 0.16189,
    "h": 25.7
  },
  "luminance": 0.10801
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AB2E2D

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

Preview Lab → · Contrast checker → · Palette generator →

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