#AB4852#AB4852

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

Color values

HEX#AB4852
RGBrgb(171, 72, 82)
HSLhsl(354, 41%, 48%)
HSVhsv(354, 58%, 67%)
CMYKcmyk(0%, 57.9%, 52%, 32.9%)
CIE-LABlab(44.10, 41.49, 14.66)
CIE-LCHlch(44.10, 44.00, 19.47°)
OKLaboklab(53.41% 0.1247 0.0369)
OKLCHoklch(53.41% 0.13 16.5)
XYZxyz(20.6366, 13.9043, 9.5781)
Luminance0.1390 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4852 #48ABA1
analogous
#AB4884 #AB4852 #AB6F48
triadic
#AB4852 #52AB48 #4852AB
tetradic
#AB4852 #84AB48 #48ABA1 #6F48AB
square
#AB4852 #84AB48 #48ABA1 #6F48AB
split-complementary
#AB4852 #48AB6F #4884AB
monochromatic
#552429 #80363D #AB4852 #C26E77 #D4999F

Accessibility & contrast

On white

5.55
#AB4852 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#AB4852 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB4852
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4852#FFFFFF#000000##FFFFFF
##AB48521.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5C52
Deuteranopia (green-blind)
#777050
Tritanopia (blue-blind)
#BA394C
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #ab4852;
/* rgb */ color: rgb(171, 72, 82);
/* oklch */ color: oklch(53.4% 0.130 16.5);
Tailwind
colors: {
  custom: {
    50: '#c97f82',
    500: '#ab4852',
    950: '#000000',
  },
}
SCSS
$custom: #ab4852;
$custom-light: #c97f82;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4852",
  "rgb": {
    "r": 171,
    "g": 72,
    "b": 82
  },
  "hsl": {
    "h": 353.939,
    "s": 40.741,
    "l": 47.647
  },
  "oklch": {
    "l": 0.53412,
    "c": 0.13008,
    "h": 16.5
  },
  "luminance": 0.13902
}

Semantic roles & 50–950 ramp

primary
#AB4852
secondary
#8EC0BB
accent
#D1C457
background
#FCF7F7
surface
#F9EEEE
border
#D2C9C9
text
#140A0A
muted
#827C7C

Preview Lab

Preview with #AB4852

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

Preview Lab → · Contrast checker → · Palette generator →

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