#AB2D27#AB2D27

#AB2D27 is a mid, vivid red. Relative luminance 0.107; OKLCH L 49.4% C 0.164 H 27.6°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#AB2D27
RGBrgb(171, 45, 39)
HSLhsl(3, 63%, 41%)
HSVhsv(3, 77%, 67%)
CMYKcmyk(0%, 73.7%, 77.2%, 32.9%)
CIE-LABlab(39.04, 50.41, 34.31)
CIE-LCHlch(39.04, 60.98, 34.23°)
OKLaboklab(49.39% 0.1449 0.0759)
OKLCHoklch(49.39% 0.164 27.6)
XYZxyz(18.1013, 10.6840, 3.0282)
Luminance0.1068 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2D27 #27A5AB
analogous
#AB2763 #AB2D27 #AB6F27
triadic
#AB2D27 #27AB2D #2D27AB
tetradic
#AB2D27 #63AB27 #27A5AB #6F27AB
square
#AB2D27 #63AB27 #27A5AB #6F27AB
split-complementary
#AB2D27 #27AB6F #2763AB
monochromatic
#471310 #79201C #AB2D27 #D3433D #DE736E

Accessibility & contrast

On white

6.70
#AB2D27 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#AB2D27 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2D27
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2D27#FFFFFF#000000##FFFFFF
##AB2D271.006.703.146.70
#FFFFFF6.701.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534A25
Deuteranopia (green-blind)
#726622
Tritanopia (blue-blind)
#BC002D
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #ab2d27;
/* rgb */ color: rgb(171, 45, 39);
/* oklch */ color: oklch(49.4% 0.164 27.6);
Tailwind
colors: {
  custom: {
    50: '#cd6f62',
    500: '#ab2d27',
    950: '#000000',
  },
}
SCSS
$custom: #ab2d27;
$custom-light: #cd6f62;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2d27",
  "rgb": {
    "r": 171,
    "g": 45,
    "b": 39
  },
  "hsl": {
    "h": 2.727,
    "s": 62.857,
    "l": 41.176
  },
  "oklch": {
    "l": 0.49391,
    "c": 0.1636,
    "h": 27.6
  },
  "luminance": 0.10681
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AB2D27

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

Preview Lab → · Contrast checker → · Palette generator →

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