#AB4237#AB4237

#AB4237 is a mid, vivid red. Relative luminance 0.128; OKLCH L 52.1% C 0.140 H 28.8°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#AB4237
RGBrgb(171, 66, 55)
HSLhsl(6, 51%, 44%)
HSVhsv(6, 68%, 67%)
CMYKcmyk(0%, 61.4%, 67.8%, 32.9%)
CIE-LABlab(42.51, 42.37, 28.94)
CIE-LCHlch(42.51, 51.31, 34.34°)
OKLaboklab(52.06% 0.123 0.0675)
OKLCHoklch(52.06% 0.14 28.8)
XYZxyz(19.4343, 12.8328, 5.0673)
Luminance0.1283 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4237 #37A0AB
analogous
#AB3766 #AB4237 #AB7C37
triadic
#AB4237 #37AB42 #4237AB
tetradic
#AB4237 #66AB37 #37A0AB #7C37AB
square
#AB4237 #66AB37 #37A0AB #7C37AB
split-complementary
#AB4237 #37AB7C #3766AB
monochromatic
#4E1E19 #7D3028 #AB4237 #C96156 #D88D85

Accessibility & contrast

On white

5.89
#AB4237 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#AB4237 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB4237
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4237#FFFFFF#000000##FFFFFF
##AB42371.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5635
Deuteranopia (green-blind)
#786D34
Tritanopia (blue-blind)
#BC2B40
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ab4237;
/* rgb */ color: rgb(171, 66, 55);
/* oklch */ color: oklch(52.1% 0.140 28.8);
Tailwind
colors: {
  custom: {
    50: '#cb7b6e',
    500: '#ab4237',
    950: '#000000',
  },
}
SCSS
$custom: #ab4237;
$custom-light: #cb7b6e;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4237",
  "rgb": {
    "r": 171,
    "g": 66,
    "b": 55
  },
  "hsl": {
    "h": 5.69,
    "s": 51.327,
    "l": 44.314
  },
  "oklch": {
    "l": 0.52058,
    "c": 0.14028,
    "h": 28.8
  },
  "luminance": 0.1283
}

Semantic roles & 50–950 ramp

primary
#AB4237
secondary
#7CBBC1
accent
#CDDB4D
background
#FDF7F6
surface
#FAEEEC
border
#D3C9C7
text
#150A07
muted
#837C7A

Preview Lab

Preview with #AB4237

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

Preview Lab → · Contrast checker → · Palette generator →

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