#AB4151#AB4151

#AB4151 is a mid, vivid red. Relative luminance 0.130; OKLCH L 52.4% C 0.139 H 14.2°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#AB4151
RGBrgb(171, 65, 81)
HSLhsl(351, 45%, 46%)
HSVhsv(351, 62%, 67%)
CMYKcmyk(0%, 62%, 52.6%, 32.9%)
CIE-LABlab(42.82, 44.73, 13.53)
CIE-LCHlch(42.82, 46.73, 16.83°)
OKLaboklab(52.44% 0.1348 0.0341)
OKLCHoklch(52.44% 0.139 14.2)
XYZxyz(20.1717, 13.0351, 9.2368)
Luminance0.1303 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4151 #41AB9B
analogous
#AB4186 #AB4151 #AB6641
triadic
#AB4151 #51AB41 #4151AB
tetradic
#AB4151 #86AB41 #41AB9B #6641AB
square
#AB4151 #86AB41 #41AB9B #6641AB
split-complementary
#AB4151 #41AB66 #4186AB
monochromatic
#521F27 #7F303C #AB4151 #C46573 #D5919B

Accessibility & contrast

On white

5.82
#AB4151 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#AB4151 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB4151
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4151#FFFFFF#000000##FFFFFF
##AB41511.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#595751
Deuteranopia (green-blind)
#756D4E
Tritanopia (blue-blind)
#BA3047
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ab4151;
/* rgb */ color: rgb(171, 65, 81);
/* oklch */ color: oklch(52.4% 0.139 14.2);
Tailwind
colors: {
  custom: {
    50: '#c97b81',
    500: '#ab4151',
    950: '#000000',
  },
}
SCSS
$custom: #ab4151;
$custom-light: #c97b81;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4151",
  "rgb": {
    "r": 171,
    "g": 65,
    "b": 81
  },
  "hsl": {
    "h": 350.943,
    "s": 44.915,
    "l": 46.275
  },
  "oklch": {
    "l": 0.52444,
    "c": 0.13909,
    "h": 14.2
  },
  "luminance": 0.13033
}

Semantic roles & 50–950 ramp

primary
#AB4151
secondary
#87C1B8
accent
#D5C153
background
#FDF7F7
surface
#FAEEEE
border
#D3C9C9
text
#140A0A
muted
#837C7C

Preview Lab

Preview with #AB4151

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

Preview Lab → · Contrast checker → · Palette generator →

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