#AB5147#AB5147

#AB5147 is a mid, vivid red. Relative luminance 0.150; OKLCH L 54.5% C 0.120 H 28.1°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#AB5147
RGBrgb(171, 81, 71)
HSLhsl(6, 41%, 47%)
HSVhsv(6, 58%, 67%)
CMYKcmyk(0%, 52.6%, 58.5%, 32.9%)
CIE-LABlab(45.63, 36.01, 23.36)
CIE-LCHlch(45.63, 42.92, 32.97°)
OKLaboklab(54.5% 0.106 0.0567)
OKLCHoklch(54.5% 0.12 28.1)
XYZxyz(20.8761, 15.0001, 7.7560)
Luminance0.1500 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB5147 #47A1AB
analogous
#AB476F #AB5147 #AB8347
triadic
#AB5147 #47AB51 #5147AB
tetradic
#AB5147 #6FAB47 #47A1AB #8347AB
square
#AB5147 #6FAB47 #47A1AB #8347AB
split-complementary
#AB5147 #47AB83 #476FAB
monochromatic
#552823 #803D35 #AB5147 #C2756D #D49E98

Accessibility & contrast

On white

5.25
#AB5147 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#AB5147 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB5147
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB5147#FFFFFF#000000##FFFFFF
##AB51471.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#676046
Deuteranopia (green-blind)
#7D7345
Tritanopia (blue-blind)
#BA424F
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #ab5147;
/* rgb */ color: rgb(171, 81, 71);
/* oklch */ color: oklch(54.5% 0.120 28.1);
Tailwind
colors: {
  custom: {
    50: '#c9847a',
    500: '#ab5147',
    950: '#000000',
  },
}
SCSS
$custom: #ab5147;
$custom-light: #c9847a;
$custom-dark: #000000;
JSON
{
  "hex": "#ab5147",
  "rgb": {
    "r": 171,
    "g": 81,
    "b": 71
  },
  "hsl": {
    "h": 6,
    "s": 41.322,
    "l": 47.451
  },
  "oklch": {
    "l": 0.54504,
    "c": 0.12023,
    "h": 28.1
  },
  "luminance": 0.14998
}

Semantic roles & 50–950 ramp

primary
#AB5147
secondary
#8DBBC0
accent
#C5D157
background
#FCF8F7
surface
#F9EFED
border
#D2CAC8
text
#140B09
muted
#827C7B

Preview Lab

Preview with #AB5147

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

Preview Lab → · Contrast checker → · Palette generator →

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