#AB4254#AB4254

#AB4254 is a mid, vivid red. Relative luminance 0.132; OKLCH L 52.6% C 0.138 H 12.8°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#AB4254
RGBrgb(171, 66, 84)
HSLhsl(350, 44%, 46%)
HSVhsv(350, 61%, 67%)
CMYKcmyk(0%, 61.4%, 50.9%, 32.9%)
CIE-LABlab(43.06, 44.53, 12.01)
CIE-LCHlch(43.06, 46.12, 15.09°)
OKLaboklab(52.65% 0.1346 0.0306)
OKLCHoklch(52.65% 0.138 12.8)
XYZxyz(20.3446, 13.1969, 9.8617)
Luminance0.1319 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4254 #42AB99
analogous
#AB4289 #AB4254 #AB6542
triadic
#AB4254 #54AB42 #4254AB
tetradic
#AB4254 #89AB42 #42AB99 #6542AB
square
#AB4254 #89AB42 #42AB99 #6542AB
split-complementary
#AB4254 #42AB65 #4289AB
monochromatic
#532029 #7F313E #AB4254 #C46676 #D5929E

Accessibility & contrast

On white

5.77
#AB4254 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#AB4254 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB4254
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4254#FFFFFF#000000##FFFFFF
##AB42541.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A5854
Deuteranopia (green-blind)
#756E52
Tritanopia (blue-blind)
#BA3249
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #ab4254;
/* rgb */ color: rgb(171, 66, 84);
/* oklch */ color: oklch(52.6% 0.138 12.8);
Tailwind
colors: {
  custom: {
    50: '#c97b84',
    500: '#ab4254',
    950: '#000000',
  },
}
SCSS
$custom: #ab4254;
$custom-light: #c97b84;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4254",
  "rgb": {
    "r": 171,
    "g": 66,
    "b": 84
  },
  "hsl": {
    "h": 349.714,
    "s": 44.304,
    "l": 46.471
  },
  "oklch": {
    "l": 0.52648,
    "c": 0.138,
    "h": 12.8
  },
  "luminance": 0.13194
}

Semantic roles & 50–950 ramp

primary
#AB4254
secondary
#88C0B7
accent
#D4BE54
background
#FCF7F8
surface
#F9EEEF
border
#D2C9CA
text
#140A0A
muted
#827C7C

Preview Lab

Preview with #AB4254

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

Preview Lab → · Contrast checker → · Palette generator →

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