#AB2C27#AB2C27

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

Color values

HEX#AB2C27
RGBrgb(171, 44, 39)
HSLhsl(2, 63%, 41%)
HSVhsv(2, 77%, 67%)
CMYKcmyk(0%, 74.3%, 77.2%, 32.9%)
CIE-LABlab(38.91, 50.77, 34.17)
CIE-LCHlch(38.91, 61.20, 33.94°)
OKLaboklab(49.29% 0.1461 0.0756)
OKLCHoklch(49.29% 0.164 27.4)
XYZxyz(18.0636, 10.6086, 3.0156)
Luminance0.1061 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2C27 #27A6AB
analogous
#AB2764 #AB2C27 #AB6E27
triadic
#AB2C27 #27AB2C #2C27AB
tetradic
#AB2C27 #64AB27 #27A6AB #6E27AB
square
#AB2C27 #64AB27 #27A6AB #6E27AB
split-complementary
#AB2C27 #27AB6E #2764AB
monochromatic
#471210 #791F1C #AB2C27 #D3423D #DE736E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB2C27#FFFFFF#000000##FFFFFF
##AB2C271.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)
#524A25
Deuteranopia (green-blind)
#716622
Tritanopia (blue-blind)
#BC002C
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #ab2c27;
/* rgb */ color: rgb(171, 44, 39);
/* oklch */ color: oklch(49.3% 0.164 27.4);
Tailwind
colors: {
  custom: {
    50: '#cd6f62',
    500: '#ab2c27',
    950: '#000000',
  },
}
SCSS
$custom: #ab2c27;
$custom-light: #cd6f62;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2c27",
  "rgb": {
    "r": 171,
    "g": 44,
    "b": 39
  },
  "hsl": {
    "h": 2.273,
    "s": 62.857,
    "l": 41.176
  },
  "oklch": {
    "l": 0.49294,
    "c": 0.16447,
    "h": 27.4
  },
  "luminance": 0.10606
}

Semantic roles & 50–950 ramp

primary
#AB2C27
secondary
#69C1C5
accent
#E0E642
background
#FDF7F5
surface
#FBEDEA
border
#D4C8C6
text
#150805
muted
#837B79

Preview Lab

Preview with #AB2C27

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

Preview Lab → · Contrast checker → · Palette generator →

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