#AB2A27#AB2A27

#AB2A27 is a mid, vivid red. Relative luminance 0.105; OKLCH L 49.1% C 0.166 H 26.8°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#AB2A27
RGBrgb(171, 42, 39)
HSLhsl(1, 63%, 41%)
HSVhsv(1, 77%, 67%)
CMYKcmyk(0%, 75.4%, 77.2%, 32.9%)
CIE-LABlab(38.66, 51.48, 33.89)
CIE-LCHlch(38.66, 61.63, 33.36°)
OKLaboklab(49.11% 0.1483 0.075)
OKLCHoklch(49.11% 0.166 26.8)
XYZxyz(17.9909, 10.4631, 2.9914)
Luminance0.1046 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2A27 #27A8AB
analogous
#AB2766 #AB2A27 #AB6C27
triadic
#AB2A27 #27AB2A #2A27AB
tetradic
#AB2A27 #66AB27 #27A8AB #6C27AB
square
#AB2A27 #66AB27 #27A8AB #6C27AB
split-complementary
#AB2A27 #27AB6C #2766AB
monochromatic
#471210 #791E1C #AB2A27 #D3403D #DE716E

Accessibility & contrast

On white

6.79
#AB2A27 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#AB2A27 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2A27
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2A27#FFFFFF#000000##FFFFFF
##AB2A271.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514925
Deuteranopia (green-blind)
#716522
Tritanopia (blue-blind)
#BD002B
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #ab2a27;
/* rgb */ color: rgb(171, 42, 39);
/* oklch */ color: oklch(49.1% 0.166 26.8);
Tailwind
colors: {
  custom: {
    50: '#cd6e62',
    500: '#ab2a27',
    950: '#000000',
  },
}
SCSS
$custom: #ab2a27;
$custom-light: #cd6e62;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2a27",
  "rgb": {
    "r": 171,
    "g": 42,
    "b": 39
  },
  "hsl": {
    "h": 1.364,
    "s": 62.857,
    "l": 41.176
  },
  "oklch": {
    "l": 0.49106,
    "c": 0.16616,
    "h": 26.8
  },
  "luminance": 0.1046
}

Semantic roles & 50–950 ramp

primary
#AB2A27
secondary
#69C3C5
accent
#E2E642
background
#FDF7F5
surface
#FBEDEA
border
#D4C8C6
text
#150805
muted
#837B79

Preview Lab

Preview with #AB2A27

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

Preview Lab → · Contrast checker → · Palette generator →

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