#AB4154#AB4154

#AB4154 is a mid, vivid red. Relative luminance 0.131; OKLCH L 52.5% C 0.139 H 12.4°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#AB4154
RGBrgb(171, 65, 84)
HSLhsl(349, 45%, 46%)
HSVhsv(349, 62%, 67%)
CMYKcmyk(0%, 62%, 50.9%, 32.9%)
CIE-LABlab(42.89, 44.99, 11.77)
CIE-LCHlch(42.89, 46.51, 14.66°)
OKLaboklab(52.52% 0.1361 0.03)
OKLCHoklch(52.52% 0.139 12.4)
XYZxyz(20.2867, 13.0811, 9.8424)
Luminance0.1308 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4154 #41AB98
analogous
#AB4189 #AB4154 #AB6341
triadic
#AB4154 #54AB41 #4154AB
tetradic
#AB4154 #89AB41 #41AB98 #6341AB
square
#AB4154 #89AB41 #41AB98 #6341AB
split-complementary
#AB4154 #41AB63 #4189AB
monochromatic
#521F28 #7F303E #AB4154 #C46576 #D5919D

Accessibility & contrast

On white

5.81
#AB4154 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#AB4154 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB4154
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4154#FFFFFF#000000##FFFFFF
##AB41541.005.813.625.81
#FFFFFF5.811.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#595854
Deuteranopia (green-blind)
#746D52
Tritanopia (blue-blind)
#BA3148
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ab4154;
/* rgb */ color: rgb(171, 65, 84);
/* oklch */ color: oklch(52.5% 0.139 12.4);
Tailwind
colors: {
  custom: {
    50: '#c97b83',
    500: '#ab4154',
    950: '#000000',
  },
}
SCSS
$custom: #ab4154;
$custom-light: #c97b83;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4154",
  "rgb": {
    "r": 171,
    "g": 65,
    "b": 84
  },
  "hsl": {
    "h": 349.245,
    "s": 44.915,
    "l": 46.275
  },
  "oklch": {
    "l": 0.52518,
    "c": 0.13931,
    "h": 12.4
  },
  "luminance": 0.13079
}

Semantic roles & 50–950 ramp

primary
#AB4154
secondary
#87C1B6
accent
#D5BD53
background
#FCF7F8
surface
#F9EEEF
border
#D2C9CA
text
#140A0A
muted
#827C7C

Preview Lab

Preview with #AB4154

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

Preview Lab → · Contrast checker → · Palette generator →

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