#AB3239#AB3239

#AB3239 is a mid, vivid red. Relative luminance 0.112; OKLCH L 50.2% C 0.157 H 21.8°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#AB3239
RGBrgb(171, 50, 57)
HSLhsl(357, 55%, 43%)
HSVhsv(357, 71%, 67%)
CMYKcmyk(0%, 70.8%, 66.7%, 32.9%)
CIE-LABlab(39.98, 49.40, 24.63)
CIE-LCHlch(39.98, 55.20, 26.50°)
OKLaboklab(50.17% 0.1456 0.0582)
OKLCHoklch(50.17% 0.157 21.8)
XYZxyz(18.6757, 11.2373, 5.0557)
Luminance0.1124 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3239 #32ABA4
analogous
#AB3275 #AB3239 #AB6732
triadic
#AB3239 #39AB32 #3239AB
tetradic
#AB3239 #75AB32 #32ABA4 #6732AB
square
#AB3239 #75AB32 #32ABA4 #6732AB
split-complementary
#AB3239 #32AB67 #3275AB
monochromatic
#4C1619 #7C2429 #AB3239 #CB4F56 #D97E83

Accessibility & contrast

On white

6.47
#AB3239 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#AB3239 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3239
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3239#FFFFFF#000000##FFFFFF
##AB32391.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534E38
Deuteranopia (green-blind)
#726835
Tritanopia (blue-blind)
#BC0C36
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #ab3239;
/* rgb */ color: rgb(171, 50, 57);
/* oklch */ color: oklch(50.2% 0.157 21.8);
Tailwind
colors: {
  custom: {
    50: '#cb726f',
    500: '#ab3239',
    950: '#000000',
  },
}
SCSS
$custom: #ab3239;
$custom-light: #cb726f;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3239",
  "rgb": {
    "r": 171,
    "g": 50,
    "b": 57
  },
  "hsl": {
    "h": 356.529,
    "s": 54.751,
    "l": 43.333
  },
  "oklch": {
    "l": 0.50168,
    "c": 0.15677,
    "h": 21.8
  },
  "luminance": 0.11235
}

Semantic roles & 50–950 ramp

primary
#AB3239
secondary
#77C2BE
accent
#DED64A
background
#FDF7F6
surface
#FAEDEC
border
#D3C8C7
text
#150807
muted
#837B7A

Preview Lab

Preview with #AB3239

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

Preview Lab → · Contrast checker → · Palette generator →

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