#AB4958#AB4958

#AB4958 is a mid, vivid red. Relative luminance 0.141; OKLCH L 53.7% C 0.129 H 13.1°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#AB4958
RGBrgb(171, 73, 88)
HSLhsl(351, 40%, 48%)
HSVhsv(351, 57%, 67%)
CMYKcmyk(0%, 57.3%, 48.5%, 32.9%)
CIE-LABlab(44.42, 41.56, 11.43)
CIE-LCHlch(44.42, 43.10, 15.38°)
OKLaboklab(53.7% 0.1256 0.0292)
OKLCHoklch(53.7% 0.129 13.1)
XYZxyz(20.9401, 14.1300, 10.8552)
Luminance0.1413 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4958 #49AB9C
analogous
#AB4989 #AB4958 #AB6B49
triadic
#AB4958 #58AB49 #4958AB
tetradic
#AB4958 #89AB49 #49AB9C #6B49AB
square
#AB4958 #89AB49 #49AB9C #6B49AB
split-complementary
#AB4958 #49AB6B #4989AB
monochromatic
#55242C #803742 #AB4958 #C26F7C #D49AA3

Accessibility & contrast

On white

5.49
#AB4958 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#AB4958 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB4958
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4958#FFFFFF#000000##FFFFFF
##AB49581.005.493.835.49
#FFFFFF5.491.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5D58
Deuteranopia (green-blind)
#777056
Tritanopia (blue-blind)
#BA3C4F
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #ab4958;
/* rgb */ color: rgb(171, 73, 88);
/* oklch */ color: oklch(53.7% 0.129 13.1);
Tailwind
colors: {
  custom: {
    50: '#c87f87',
    500: '#ab4958',
    950: '#000000',
  },
}
SCSS
$custom: #ab4958;
$custom-light: #c87f87;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4958",
  "rgb": {
    "r": 171,
    "g": 73,
    "b": 88
  },
  "hsl": {
    "h": 350.816,
    "s": 40.164,
    "l": 47.843
  },
  "oklch": {
    "l": 0.537,
    "c": 0.12898,
    "h": 13.1
  },
  "luminance": 0.14128
}

Semantic roles & 50–950 ramp

primary
#AB4958
secondary
#8FC0B9
accent
#D0BE58
background
#FCF8F8
surface
#F9EFEF
border
#D2CACA
text
#140A0B
muted
#827C7C

Preview Lab

Preview with #AB4958

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

Preview Lab → · Contrast checker → · Palette generator →

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