#AB4138#AB4138

#AB4138 is a mid, vivid red. Relative luminance 0.127; OKLCH L 51.9% C 0.141 H 27.8°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#AB4138
RGBrgb(171, 65, 56)
HSLhsl(5, 51%, 45%)
HSVhsv(5, 67%, 67%)
CMYKcmyk(0%, 62%, 67.3%, 32.9%)
CIE-LABlab(42.35, 42.89, 28.15)
CIE-LCHlch(42.35, 51.31, 33.28°)
OKLaboklab(51.94% 0.1248 0.0659)
OKLCHoklch(51.94% 0.141 27.8)
XYZxyz(19.4006, 12.7267, 5.1755)
Luminance0.1272 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4138 #38A2AB
analogous
#AB3868 #AB4138 #AB7B38
triadic
#AB4138 #38AB41 #4138AB
tetradic
#AB4138 #68AB38 #38A2AB #7B38AB
square
#AB4138 #68AB38 #38A2AB #7B38AB
split-complementary
#AB4138 #38AB7B #3868AB
monochromatic
#4F1E1A #7D2F29 #AB4138 #C86158 #D78C86

Accessibility & contrast

On white

5.92
#AB4138 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#AB4138 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB4138
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4138#FFFFFF#000000##FFFFFF
##AB41381.005.923.545.92
#FFFFFF5.921.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D5636
Deuteranopia (green-blind)
#776D35
Tritanopia (blue-blind)
#BC2A40
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ab4138;
/* rgb */ color: rgb(171, 65, 56);
/* oklch */ color: oklch(51.9% 0.141 27.8);
Tailwind
colors: {
  custom: {
    50: '#cb7a6f',
    500: '#ab4138',
    950: '#000000',
  },
}
SCSS
$custom: #ab4138;
$custom-light: #cb7a6f;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4138",
  "rgb": {
    "r": 171,
    "g": 65,
    "b": 56
  },
  "hsl": {
    "h": 4.696,
    "s": 50.661,
    "l": 44.51
  },
  "oklch": {
    "l": 0.51941,
    "c": 0.14115,
    "h": 27.8
  },
  "luminance": 0.12724
}

Semantic roles & 50–950 ramp

primary
#AB4138
secondary
#7DBCC1
accent
#CFDA4E
background
#FDF7F6
surface
#FAEEEC
border
#D3C9C7
text
#150907
muted
#837B7A

Preview Lab

Preview with #AB4138

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

Preview Lab → · Contrast checker → · Palette generator →

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