#AB5146#AB5146

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

Color values

HEX#AB5146
RGBrgb(171, 81, 70)
HSLhsl(7, 42%, 47%)
HSVhsv(7, 59%, 67%)
CMYKcmyk(0%, 52.6%, 59.1%, 32.9%)
CIE-LABlab(45.62, 35.93, 23.93)
CIE-LCHlch(45.62, 43.17, 33.66°)
OKLaboklab(54.49% 0.1056 0.0579)
OKLCHoklch(54.49% 0.12 28.7)
XYZxyz(20.8442, 14.9874, 7.5883)
Luminance0.1499 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB5146 #46A0AB
analogous
#AB466D #AB5146 #AB8446
triadic
#AB5146 #46AB51 #5146AB
tetradic
#AB5146 #6DAB46 #46A0AB #8446AB
square
#AB5146 #6DAB46 #46A0AB #8446AB
split-complementary
#AB5146 #46AB84 #466DAB
monochromatic
#542822 #803C34 #AB5146 #C3756C #D49E97

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB5146#FFFFFF#000000##FFFFFF
##AB51461.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)
#676045
Deuteranopia (green-blind)
#7D7344
Tritanopia (blue-blind)
#BB424F
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #ab5146;
/* rgb */ color: rgb(171, 81, 70);
/* oklch */ color: oklch(54.5% 0.120 28.7);
Tailwind
colors: {
  custom: {
    50: '#c98479',
    500: '#ab5146',
    950: '#000000',
  },
}
SCSS
$custom: #ab5146;
$custom-light: #c98479;
$custom-dark: #000000;
JSON
{
  "hex": "#ab5146",
  "rgb": {
    "r": 171,
    "g": 81,
    "b": 70
  },
  "hsl": {
    "h": 6.535,
    "s": 41.909,
    "l": 47.255
  },
  "oklch": {
    "l": 0.54486,
    "c": 0.12046,
    "h": 28.7
  },
  "luminance": 0.14985
}

Semantic roles & 50–950 ramp

primary
#AB5146
secondary
#8CBBC0
accent
#C4D256
background
#FDF8F7
surface
#FAEFED
border
#D3CAC8
text
#140B09
muted
#837C7B

Preview Lab

Preview with #AB5146

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

Preview Lab → · Contrast checker → · Palette generator →

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