#AB2E2C#AB2E2C

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

Color values

HEX#AB2E2C
RGBrgb(171, 46, 44)
HSLhsl(1, 59%, 42%)
HSVhsv(1, 74%, 67%)
CMYKcmyk(0%, 73.1%, 74.3%, 32.9%)
CIE-LABlab(39.24, 50.26, 31.60)
CIE-LCHlch(39.24, 59.37, 32.16°)
OKLaboklab(49.55% 0.1455 0.0713)
OKLCHoklch(49.55% 0.162 26.1)
XYZxyz(18.2283, 10.7965, 3.5065)
Luminance0.1079 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2E2C #2CA9AB
analogous
#AB2C6A #AB2E2C #AB6E2C
triadic
#AB2E2C #2CAB2E #2E2CAB
tetradic
#AB2E2C #6AAB2C #2CA9AB #6E2CAB
square
#AB2E2C #6AAB2C #2CA9AB #6E2CAB
split-complementary
#AB2E2C #2CAB6E #2C6AAB
monochromatic
#4A1413 #7A211F #AB2E2C #CF4745 #DC7776

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB2E2C#FFFFFF#000000##FFFFFF
##AB2E2C1.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)
#534B2A
Deuteranopia (green-blind)
#726628
Tritanopia (blue-blind)
#BC002F
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #ab2e2c;
/* rgb */ color: rgb(171, 46, 44);
/* oklch */ color: oklch(49.6% 0.162 26.1);
Tailwind
colors: {
  custom: {
    50: '#cc7065',
    500: '#ab2e2c',
    950: '#000000',
  },
}
SCSS
$custom: #ab2e2c;
$custom-light: #cc7065;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2e2c",
  "rgb": {
    "r": 171,
    "g": 46,
    "b": 44
  },
  "hsl": {
    "h": 0.945,
    "s": 59.07,
    "l": 42.157
  },
  "oklch": {
    "l": 0.49554,
    "c": 0.16203,
    "h": 26.1
  },
  "luminance": 0.10794
}

Semantic roles & 50–950 ramp

primary
#AB2E2C
secondary
#6FC2C3
accent
#E0E246
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150805
muted
#837B7A

Preview Lab

Preview with #AB2E2C

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

Preview Lab → · Contrast checker → · Palette generator →

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