#AB5038#AB5038

#AB5038 is a mid, vivid red. Relative luminance 0.147; OKLCH L 54.1% C 0.125 H 35.8°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#AB5038
RGBrgb(171, 80, 56)
HSLhsl(13, 51%, 45%)
HSVhsv(13, 67%, 67%)
CMYKcmyk(0%, 53.2%, 67.3%, 32.9%)
CIE-LABlab(45.20, 35.48, 31.57)
CIE-LCHlch(45.20, 47.49, 41.67°)
OKLaboklab(54.1% 0.1018 0.0734)
OKLCHoklch(54.1% 0.125 35.8)
XYZxyz(20.3789, 14.6833, 5.5016)
Luminance0.1468 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB5038 #3893AB
analogous
#AB3859 #AB5038 #AB8A38
triadic
#AB5038 #38AB50 #5038AB
tetradic
#AB5038 #59AB38 #3893AB #8A38AB
square
#AB5038 #59AB38 #3893AB #8A38AB
split-complementary
#AB5038 #38AB8A #3859AB
monochromatic
#4F251A #7D3A29 #AB5038 #C86F58 #D79786

Accessibility & contrast

On white

5.34
#AB5038 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#AB5038 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB5038
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB5038#FFFFFF#000000##FFFFFF
##AB50381.005.343.945.34
#FFFFFF5.341.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685F35
Deuteranopia (green-blind)
#7E7336
Tritanopia (blue-blind)
#BB3E4A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #ab5038;
/* rgb */ color: rgb(171, 80, 56);
/* oklch */ color: oklch(54.1% 0.125 35.8);
Tailwind
colors: {
  custom: {
    50: '#ca836f',
    500: '#ab5038',
    950: '#000000',
  },
}
SCSS
$custom: #ab5038;
$custom-light: #ca836f;
$custom-dark: #000000;
JSON
{
  "hex": "#ab5038",
  "rgb": {
    "r": 171,
    "g": 80,
    "b": 56
  },
  "hsl": {
    "h": 12.522,
    "s": 50.661,
    "l": 44.51
  },
  "oklch": {
    "l": 0.54097,
    "c": 0.12549,
    "h": 35.8
  },
  "luminance": 0.14681
}

Semantic roles & 50–950 ramp

primary
#AB5038
secondary
#7DB3C1
accent
#BDDA4E
background
#FDF8F6
surface
#FAEFEC
border
#D3CAC7
text
#140B07
muted
#837C7A

Preview Lab

Preview with #AB5038

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

Preview Lab → · Contrast checker → · Palette generator →

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