#AB5239#AB5239

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

Color values

HEX#AB5239
RGBrgb(171, 82, 57)
HSLhsl(13, 50%, 45%)
HSVhsv(13, 67%, 67%)
CMYKcmyk(0%, 52%, 66.7%, 32.9%)
CIE-LABlab(45.62, 34.50, 31.51)
CIE-LCHlch(45.62, 46.72, 42.41°)
OKLaboklab(54.42% 0.0989 0.0734)
OKLCHoklch(54.42% 0.123 36.6)
XYZxyz(20.5522, 14.9904, 5.6812)
Luminance0.1499 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB5239 #3992AB
analogous
#AB3959 #AB5239 #AB8B39
triadic
#AB5239 #39AB52 #5239AB
tetradic
#AB5239 #59AB39 #3992AB #8B39AB
square
#AB5239 #59AB39 #3992AB #8B39AB
split-complementary
#AB5239 #39AB8B #3959AB
monochromatic
#4F261A #7D3C2A #AB5239 #C87259 #D79987

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB5239#FFFFFF#000000##FFFFFF
##AB52391.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)
#696036
Deuteranopia (green-blind)
#7F7337
Tritanopia (blue-blind)
#BB414C
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #ab5239;
/* rgb */ color: rgb(171, 82, 57);
/* oklch */ color: oklch(54.4% 0.123 36.6);
Tailwind
colors: {
  custom: {
    50: '#ca8570',
    500: '#ab5239',
    950: '#000000',
  },
}
SCSS
$custom: #ab5239;
$custom-light: #ca8570;
$custom-dark: #000000;
JSON
{
  "hex": "#ab5239",
  "rgb": {
    "r": 171,
    "g": 82,
    "b": 57
  },
  "hsl": {
    "h": 13.158,
    "s": 50,
    "l": 44.706
  },
  "oklch": {
    "l": 0.54424,
    "c": 0.1232,
    "h": 36.6
  },
  "luminance": 0.14988
}

Semantic roles & 50–950 ramp

primary
#AB5239
secondary
#7FB3C1
accent
#BBDA4E
background
#FDF8F6
surface
#FAEFEC
border
#D3CAC7
text
#140B07
muted
#837C7A

Preview Lab

Preview with #AB5239

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

Preview Lab → · Contrast checker → · Palette generator →

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