#AB2927#AB2927

#AB2927 is a mid, vivid red. Relative luminance 0.104; OKLCH L 49.0% C 0.167 H 26.6°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#AB2927
RGBrgb(171, 41, 39)
HSLhsl(1, 63%, 41%)
HSVhsv(1, 77%, 67%)
CMYKcmyk(0%, 76%, 77.2%, 32.9%)
CIE-LABlab(38.54, 51.82, 33.76)
CIE-LCHlch(38.54, 61.84, 33.09°)
OKLaboklab(49.02% 0.1493 0.0747)
OKLCHoklch(49.02% 0.167 26.6)
XYZxyz(17.9559, 10.3931, 2.9797)
Luminance0.1039 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2927 #27A9AB
analogous
#AB2767 #AB2927 #AB6B27
triadic
#AB2927 #27AB29 #2927AB
tetradic
#AB2927 #67AB27 #27A9AB #6B27AB
square
#AB2927 #67AB27 #27A9AB #6B27AB
split-complementary
#AB2927 #27AB6B #2767AB
monochromatic
#471110 #791D1C #AB2927 #D33F3D #DE706E

Accessibility & contrast

On white

6.82
#AB2927 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#AB2927 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2927
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2927#FFFFFF#000000##FFFFFF
##AB29271.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ab2927;
/* rgb */ color: rgb(171, 41, 39);
/* oklch */ color: oklch(49.0% 0.167 26.6);
Tailwind
colors: {
  custom: {
    50: '#cd6e62',
    500: '#ab2927',
    950: '#000000',
  },
}
SCSS
$custom: #ab2927;
$custom-light: #cd6e62;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2927",
  "rgb": {
    "r": 171,
    "g": 41,
    "b": 39
  },
  "hsl": {
    "h": 0.909,
    "s": 62.857,
    "l": 41.176
  },
  "oklch": {
    "l": 0.49015,
    "c": 0.16699,
    "h": 26.6
  },
  "luminance": 0.1039
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AB2927

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

Preview Lab → · Contrast checker → · Palette generator →

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