#AB5138#AB5138

#AB5138 is a mid, vivid red. Relative luminance 0.148; OKLCH L 54.3% C 0.125 H 36.4°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#AB5138
RGBrgb(171, 81, 56)
HSLhsl(13, 51%, 45%)
HSVhsv(13, 67%, 67%)
CMYKcmyk(0%, 52.6%, 67.3%, 32.9%)
CIE-LABlab(45.40, 34.96, 31.82)
CIE-LCHlch(45.40, 47.27, 42.30°)
OKLaboklab(54.25% 0.1002 0.074)
OKLCHoklch(54.25% 0.125 36.4)
XYZxyz(20.4527, 14.8308, 5.5262)
Luminance0.1483 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB5138 #3892AB
analogous
#AB3859 #AB5138 #AB8A38
triadic
#AB5138 #38AB51 #5138AB
tetradic
#AB5138 #59AB38 #3892AB #8A38AB
square
#AB5138 #59AB38 #3892AB #8A38AB
split-complementary
#AB5138 #38AB8A #3859AB
monochromatic
#4F251A #7D3B29 #AB5138 #C87058 #D79886

Accessibility & contrast

On white

5.30
#AB5138 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#AB5138 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB5138
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB5138#FFFFFF#000000##FFFFFF
##AB51381.005.303.975.30
#FFFFFF5.301.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695F35
Deuteranopia (green-blind)
#7F7336
Tritanopia (blue-blind)
#BB404B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #ab5138;
/* rgb */ color: rgb(171, 81, 56);
/* oklch */ color: oklch(54.3% 0.125 36.4);
Tailwind
colors: {
  custom: {
    50: '#ca846f',
    500: '#ab5138',
    950: '#000000',
  },
}
SCSS
$custom: #ab5138;
$custom-light: #ca846f;
$custom-dark: #000000;
JSON
{
  "hex": "#ab5138",
  "rgb": {
    "r": 171,
    "g": 81,
    "b": 56
  },
  "hsl": {
    "h": 13.043,
    "s": 50.661,
    "l": 44.51
  },
  "oklch": {
    "l": 0.54252,
    "c": 0.12451,
    "h": 36.4
  },
  "luminance": 0.14828
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AB5138

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

Preview Lab → · Contrast checker → · Palette generator →

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