#AB4938#AB4938

#AB4938 is a mid, vivid red. Relative luminance 0.137; OKLCH L 53.0% C 0.133 H 31.8°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#AB4938
RGBrgb(171, 73, 56)
HSLhsl(9, 51%, 45%)
HSVhsv(9, 67%, 67%)
CMYKcmyk(0%, 57.3%, 67.3%, 32.9%)
CIE-LABlab(43.82, 39.04, 29.92)
CIE-LCHlch(43.82, 49.19, 37.47°)
OKLaboklab(53.05% 0.1128 0.0698)
OKLCHoklch(53.05% 0.133 31.8)
XYZxyz(19.8928, 13.7111, 5.3396)
Luminance0.1371 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4938 #389AAB
analogous
#AB3860 #AB4938 #AB8338
triadic
#AB4938 #38AB49 #4938AB
tetradic
#AB4938 #60AB38 #389AAB #8338AB
square
#AB4938 #60AB38 #389AAB #8338AB
split-complementary
#AB4938 #38AB83 #3860AB
monochromatic
#4F221A #7D3529 #AB4938 #C86958 #D79286

Accessibility & contrast

On white

5.61
#AB4938 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#AB4938 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB4938
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4938#FFFFFF#000000##FFFFFF
##AB49381.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#635A36
Deuteranopia (green-blind)
#7B7036
Tritanopia (blue-blind)
#BB3545
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #ab4938;
/* rgb */ color: rgb(171, 73, 56);
/* oklch */ color: oklch(53.0% 0.133 31.8);
Tailwind
colors: {
  custom: {
    50: '#ca7f6f',
    500: '#ab4938',
    950: '#000000',
  },
}
SCSS
$custom: #ab4938;
$custom-light: #ca7f6f;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4938",
  "rgb": {
    "r": 171,
    "g": 73,
    "b": 56
  },
  "hsl": {
    "h": 8.87,
    "s": 50.661,
    "l": 44.51
  },
  "oklch": {
    "l": 0.53049,
    "c": 0.13263,
    "h": 31.8
  },
  "luminance": 0.13709
}

Semantic roles & 50–950 ramp

primary
#AB4938
secondary
#7DB7C1
accent
#C5DA4E
background
#FDF7F6
surface
#FAEEEC
border
#D3C9C7
text
#140A07
muted
#837C7A

Preview Lab

Preview with #AB4938

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

Preview Lab → · Contrast checker → · Palette generator →

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