#AB5151#AB5151

#AB5151 is a mid, moderate red. Relative luminance 0.151; OKLCH L 54.7% C 0.119 H 21.7°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#AB5151
RGBrgb(171, 81, 81)
HSLhsl(0, 36%, 49%)
HSVhsv(0, 53%, 67%)
CMYKcmyk(0%, 52.6%, 52.6%, 32.9%)
CIE-LABlab(45.82, 36.86, 17.62)
CIE-LCHlch(45.82, 40.85, 25.55°)
OKLaboklab(54.71% 0.1101 0.0439)
OKLCHoklch(54.71% 0.119 21.7)
XYZxyz(21.2238, 15.1392, 9.5875)
Luminance0.1514 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB5151 #51ABAB
analogous
#AB517E #AB5151 #AB7E51
triadic
#AB5151 #51AB51 #5151AB
tetradic
#AB5151 #7EAB51 #51ABAB #7E51AB
square
#AB5151 #7EAB51 #51ABAB #7E51AB
split-complementary
#AB5151 #51AB7E #517EAB
monochromatic
#582A2A #813D3D #AB5151 #C07979 #D3A3A3

Accessibility & contrast

On white

5.21
#AB5151 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#AB5151 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB5151
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB5151#FFFFFF#000000##FFFFFF
##AB51511.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#666150
Deuteranopia (green-blind)
#7C744F
Tritanopia (blue-blind)
#BA4352
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #ab5151;
/* rgb */ color: rgb(171, 81, 81);
/* oklch */ color: oklch(54.7% 0.119 21.7);
Tailwind
colors: {
  custom: {
    50: '#c88481',
    500: '#ab5151',
    950: '#000000',
  },
}
SCSS
$custom: #ab5151;
$custom-light: #c88481;
$custom-dark: #000000;
JSON
{
  "hex": "#ab5151",
  "rgb": {
    "r": 171,
    "g": 81,
    "b": 81
  },
  "hsl": {
    "h": 0,
    "s": 35.714,
    "l": 49.412
  },
  "oklch": {
    "l": 0.5471,
    "c": 0.11855,
    "h": 21.7
  },
  "luminance": 0.15137
}

Semantic roles & 50–950 ramp

primary
#AB5151
secondary
#97C1C1
accent
#CCCC5C
background
#FCF8F7
surface
#F9EFEE
border
#D2CAC9
text
#140B0A
muted
#827C7C

Preview Lab

Preview with #AB5151

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

Preview Lab → · Contrast checker → · Palette generator →

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