#AB2C26#AB2C26

#AB2C26 is a mid, vivid red. Relative luminance 0.106; OKLCH L 49.3% C 0.165 H 27.7°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#AB2C26
RGBrgb(171, 44, 38)
HSLhsl(3, 64%, 41%)
HSVhsv(3, 78%, 67%)
CMYKcmyk(0%, 74.3%, 77.8%, 32.9%)
CIE-LABlab(38.90, 50.74, 34.73)
CIE-LCHlch(38.90, 61.48, 34.39°)
OKLaboklab(49.28% 0.1457 0.0766)
OKLCHoklch(49.28% 0.165 27.7)
XYZxyz(18.0472, 10.6020, 2.9295)
Luminance0.1060 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2C26 #26A5AB
analogous
#AB2662 #AB2C26 #AB6E26
triadic
#AB2C26 #26AB2C #2C26AB
tetradic
#AB2C26 #62AB26 #26A5AB #6E26AB
square
#AB2C26 #62AB26 #26A5AB #6E26AB
split-complementary
#AB2C26 #26AB6E #2662AB
monochromatic
#471210 #791F1B #AB2C26 #D3423B #DF726D

Accessibility & contrast

On white

6.73
#AB2C26 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#AB2C26 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2C26
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2C26#FFFFFF#000000##FFFFFF
##AB2C261.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524A24
Deuteranopia (green-blind)
#726621
Tritanopia (blue-blind)
#BD002C
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #ab2c26;
/* rgb */ color: rgb(171, 44, 38);
/* oklch */ color: oklch(49.3% 0.165 27.7);
Tailwind
colors: {
  custom: {
    50: '#cd6f61',
    500: '#ab2c26',
    950: '#000000',
  },
}
SCSS
$custom: #ab2c26;
$custom-light: #cd6f61;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2c26",
  "rgb": {
    "r": 171,
    "g": 44,
    "b": 38
  },
  "hsl": {
    "h": 2.707,
    "s": 63.636,
    "l": 40.98
  },
  "oklch": {
    "l": 0.49282,
    "c": 0.16461,
    "h": 27.7
  },
  "luminance": 0.10599
}

Semantic roles & 50–950 ramp

primary
#AB2C26
secondary
#68C1C5
accent
#DFE741
background
#FDF7F5
surface
#FBEDEA
border
#D4C8C6
text
#150805
muted
#837B79

Preview Lab

Preview with #AB2C26

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

Preview Lab → · Contrast checker → · Palette generator →

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