#AB4239#AB4239

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

Color values

HEX#AB4239
RGBrgb(171, 66, 57)
HSLhsl(5, 50%, 45%)
HSVhsv(5, 67%, 67%)
CMYKcmyk(0%, 61.4%, 66.7%, 32.9%)
CIE-LABlab(42.54, 42.48, 27.79)
CIE-LCHlch(42.54, 50.77, 33.19°)
OKLaboklab(52.09% 0.1237 0.0652)
OKLCHoklch(52.09% 0.14 27.8)
XYZxyz(19.4832, 12.8524, 5.3249)
Luminance0.1285 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4239 #39A2AB
analogous
#AB3969 #AB4239 #AB7B39
triadic
#AB4239 #39AB42 #4239AB
tetradic
#AB4239 #69AB39 #39A2AB #7B39AB
square
#AB4239 #69AB39 #39A2AB #7B39AB
split-complementary
#AB4239 #39AB7B #3969AB
monochromatic
#4F1F1A #7D302A #AB4239 #C86259 #D78E87

Accessibility & contrast

On white

5.88
#AB4239 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AB4239
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4239#FFFFFF#000000##FFFFFF
##AB42391.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5637
Deuteranopia (green-blind)
#786D36
Tritanopia (blue-blind)
#BB2C40
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ab4239;
/* rgb */ color: rgb(171, 66, 57);
/* oklch */ color: oklch(52.1% 0.140 27.8);
Tailwind
colors: {
  custom: {
    50: '#ca7b6f',
    500: '#ab4239',
    950: '#000000',
  },
}
SCSS
$custom: #ab4239;
$custom-light: #ca7b6f;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4239",
  "rgb": {
    "r": 171,
    "g": 66,
    "b": 57
  },
  "hsl": {
    "h": 4.737,
    "s": 50,
    "l": 44.706
  },
  "oklch": {
    "l": 0.5209,
    "c": 0.13988,
    "h": 27.8
  },
  "luminance": 0.1285
}

Semantic roles & 50–950 ramp

primary
#AB4239
secondary
#7FBCC1
accent
#CFDA4E
background
#FDF7F6
surface
#FAEEEC
border
#D3C9C7
text
#140A07
muted
#837C7A

Preview Lab

Preview with #AB4239

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

Preview Lab → · Contrast checker → · Palette generator →

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