#AB2931#AB2931

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

Color values

HEX#AB2931
RGBrgb(171, 41, 49)
HSLhsl(356, 61%, 42%)
HSVhsv(356, 76%, 67%)
CMYKcmyk(0%, 76%, 71.3%, 32.9%)
CIE-LABlab(38.67, 52.25, 27.94)
CIE-LCHlch(38.67, 59.25, 28.13°)
OKLaboklab(49.16% 0.1529 0.0643)
OKLCHoklch(49.16% 0.166 22.8)
XYZxyz(18.1440, 10.4683, 3.9704)
Luminance0.1047 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2931 #29ABA3
analogous
#AB2972 #AB2931 #AB6229
triadic
#AB2931 #31AB29 #2931AB
tetradic
#AB2931 #72AB29 #29ABA3 #6229AB
square
#AB2931 #72AB29 #29ABA3 #6229AB
split-complementary
#AB2931 #29AB62 #2972AB
monochromatic
#481115 #7A1D23 #AB2931 #D14049 #DD7178

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB2931#FFFFFF#000000##FFFFFF
##AB29311.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)
#4F4930
Deuteranopia (green-blind)
#70652D
Tritanopia (blue-blind)
#BC002D
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #ab2931;
/* rgb */ color: rgb(171, 41, 49);
/* oklch */ color: oklch(49.2% 0.166 22.8);
Tailwind
colors: {
  custom: {
    50: '#cc6e69',
    500: '#ab2931',
    950: '#000000',
  },
}
SCSS
$custom: #ab2931;
$custom-light: #cc6e69;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2931",
  "rgb": {
    "r": 171,
    "g": 41,
    "b": 49
  },
  "hsl": {
    "h": 356.308,
    "s": 61.321,
    "l": 41.569
  },
  "oklch": {
    "l": 0.49155,
    "c": 0.16587,
    "h": 22.8
  },
  "luminance": 0.10466
}

Semantic roles & 50–950 ramp

primary
#AB2931
secondary
#6CC4BF
accent
#E4DB43
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150806
muted
#837B7A

Preview Lab

Preview with #AB2931

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

Preview Lab → · Contrast checker → · Palette generator →

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