#AB4247#AB4247

#AB4247 is a mid, vivid red. Relative luminance 0.130; OKLCH L 52.3% C 0.138 H 20.4°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#AB4247
RGBrgb(171, 66, 71)
HSLhsl(357, 44%, 46%)
HSVhsv(357, 61%, 67%)
CMYKcmyk(0%, 61.4%, 58.5%, 32.9%)
CIE-LABlab(42.78, 43.44, 19.64)
CIE-LCHlch(42.78, 47.67, 24.33°)
OKLaboklab(52.35% 0.1293 0.0481)
OKLCHoklch(52.35% 0.138 20.4)
XYZxyz(19.8819, 13.0118, 7.4246)
Luminance0.1301 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4247 #42ABA6
analogous
#AB427C #AB4247 #AB7242
triadic
#AB4247 #47AB42 #4247AB
tetradic
#AB4247 #7CAB42 #42ABA6 #7242AB
square
#AB4247 #7CAB42 #42ABA6 #7242AB
split-complementary
#AB4247 #42AB72 #427CAB
monochromatic
#532022 #7F3135 #AB4247 #C4666B #D59296

Accessibility & contrast

On white

5.83
#AB4247 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#AB4247 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB4247
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4247#FFFFFF#000000##FFFFFF
##AB42471.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C5746
Deuteranopia (green-blind)
#766D44
Tritanopia (blue-blind)
#BB2F45
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ab4247;
/* rgb */ color: rgb(171, 66, 71);
/* oklch */ color: oklch(52.3% 0.138 20.4);
Tailwind
colors: {
  custom: {
    50: '#ca7b7a',
    500: '#ab4247',
    950: '#000000',
  },
}
SCSS
$custom: #ab4247;
$custom-light: #ca7b7a;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4247",
  "rgb": {
    "r": 171,
    "g": 66,
    "b": 71
  },
  "hsl": {
    "h": 357.143,
    "s": 44.304,
    "l": 46.471
  },
  "oklch": {
    "l": 0.52349,
    "c": 0.13798,
    "h": 20.4
  },
  "luminance": 0.13009
}

Semantic roles & 50–950 ramp

primary
#AB4247
secondary
#88C0BE
accent
#D4CE54
background
#FDF7F7
surface
#FAEEED
border
#D3C9C8
text
#140A09
muted
#837C7B

Preview Lab

Preview with #AB4247

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

Preview Lab → · Contrast checker → · Palette generator →

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