#AB4F38#AB4F38

#AB4F38 is a mid, vivid red. Relative luminance 0.145; OKLCH L 53.9% C 0.126 H 35.2°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#AB4F38
RGBrgb(171, 79, 56)
HSLhsl(12, 51%, 45%)
HSVhsv(12, 67%, 67%)
CMYKcmyk(0%, 53.8%, 67.3%, 32.9%)
CIE-LABlab(44.99, 36.00, 31.33)
CIE-LCHlch(44.99, 47.72, 41.04°)
OKLaboklab(53.94% 0.1034 0.0729)
OKLCHoklch(53.94% 0.126 35.2)
XYZxyz(20.3062, 14.5379, 5.4774)
Luminance0.1454 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4F38 #3894AB
analogous
#AB385B #AB4F38 #AB8938
triadic
#AB4F38 #38AB4F #4F38AB
tetradic
#AB4F38 #5BAB38 #3894AB #8938AB
square
#AB4F38 #5BAB38 #3894AB #8938AB
split-complementary
#AB4F38 #38AB89 #385BAB
monochromatic
#4F241A #7D3A29 #AB4F38 #C86E58 #D79686

Accessibility & contrast

On white

5.37
#AB4F38 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#AB4F38 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB4F38
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4F38#FFFFFF#000000##FFFFFF
##AB4F381.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675E36
Deuteranopia (green-blind)
#7E7236
Tritanopia (blue-blind)
#BB3D4A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #ab4f38;
/* rgb */ color: rgb(171, 79, 56);
/* oklch */ color: oklch(53.9% 0.126 35.2);
Tailwind
colors: {
  custom: {
    50: '#ca836f',
    500: '#ab4f38',
    950: '#000000',
  },
}
SCSS
$custom: #ab4f38;
$custom-light: #ca836f;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4f38",
  "rgb": {
    "r": 171,
    "g": 79,
    "b": 56
  },
  "hsl": {
    "h": 12,
    "s": 50.661,
    "l": 44.51
  },
  "oklch": {
    "l": 0.53943,
    "c": 0.12648,
    "h": 35.2
  },
  "luminance": 0.14535
}

Semantic roles & 50–950 ramp

primary
#AB4F38
secondary
#7DB4C1
accent
#BEDA4E
background
#FDF8F6
surface
#FAEFEC
border
#D3CAC7
text
#140B07
muted
#837C7A

Preview Lab

Preview with #AB4F38

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

Preview Lab → · Contrast checker → · Palette generator →

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