#AB2E2B#AB2E2B

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

Color values

HEX#AB2E2B
RGBrgb(171, 46, 43)
HSLhsl(1, 60%, 42%)
HSVhsv(1, 75%, 67%)
CMYKcmyk(0%, 73.1%, 74.9%, 32.9%)
CIE-LABlab(39.22, 50.21, 32.18)
CIE-LCHlch(39.22, 59.64, 32.65°)
OKLaboklab(49.54% 0.1451 0.0723)
OKLCHoklch(49.54% 0.162 26.5)
XYZxyz(18.2097, 10.7891, 3.4087)
Luminance0.1079 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2E2B #2BA8AB
analogous
#AB2B68 #AB2E2B #AB6E2B
triadic
#AB2E2B #2BAB2E #2E2BAB
tetradic
#AB2E2B #68AB2B #2BA8AB #6E2BAB
square
#AB2E2B #68AB2B #2BA8AB #6E2BAB
split-complementary
#AB2E2B #2BAB6E #2B68AB
monochromatic
#491412 #7A211F #AB2E2B #D04743 #DC7774

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB2E2B#FFFFFF#000000##FFFFFF
##AB2E2B1.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)
#534B29
Deuteranopia (green-blind)
#726626
Tritanopia (blue-blind)
#BC002F
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #ab2e2b;
/* rgb */ color: rgb(171, 46, 43);
/* oklch */ color: oklch(49.5% 0.162 26.5);
Tailwind
colors: {
  custom: {
    50: '#cc7065',
    500: '#ab2e2b',
    950: '#000000',
  },
}
SCSS
$custom: #ab2e2b;
$custom-light: #cc7065;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2e2b",
  "rgb": {
    "r": 171,
    "g": 46,
    "b": 43
  },
  "hsl": {
    "h": 1.406,
    "s": 59.813,
    "l": 41.961
  },
  "oklch": {
    "l": 0.4954,
    "c": 0.16216,
    "h": 26.5
  },
  "luminance": 0.10786
}

Semantic roles & 50–950 ramp

primary
#AB2E2B
secondary
#6EC2C4
accent
#DFE345
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150805
muted
#837B7A

Preview Lab

Preview with #AB2E2B

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

Preview Lab → · Contrast checker → · Palette generator →

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