#AB2F31#AB2F31

#AB2F31 is a mid, vivid red. Relative luminance 0.109; OKLCH L 49.7% C 0.160 H 24.4°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#AB2F31
RGBrgb(171, 47, 49)
HSLhsl(359, 57%, 43%)
HSVhsv(359, 73%, 67%)
CMYKcmyk(0%, 72.5%, 71.3%, 32.9%)
CIE-LABlab(39.44, 50.12, 28.85)
CIE-LCHlch(39.44, 57.83, 29.93°)
OKLaboklab(49.73% 0.1462 0.0663)
OKLCHoklch(49.73% 0.16 24.4)
XYZxyz(18.3675, 10.9155, 4.0449)
Luminance0.1091 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2F31 #2FABA9
analogous
#AB2F6F #AB2F31 #AB6B2F
triadic
#AB2F31 #31AB2F #2F31AB
tetradic
#AB2F31 #6FAB2F #2FABA9 #6B2FAB
square
#AB2F31 #6FAB2F #2FABA9 #6B2FAB
split-complementary
#AB2F31 #2FAB6B #2F6FAB
monochromatic
#4B1515 #7B2223 #AB2F31 #CD4A4C #DA7A7C

Accessibility & contrast

On white

6.60
#AB2F31 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#AB2F31 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2F31
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2F31#FFFFFF#000000##FFFFFF
##AB2F311.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534C30
Deuteranopia (green-blind)
#72672D
Tritanopia (blue-blind)
#BC0031
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #ab2f31;
/* rgb */ color: rgb(171, 47, 49);
/* oklch */ color: oklch(49.7% 0.160 24.4);
Tailwind
colors: {
  custom: {
    50: '#cc7169',
    500: '#ab2f31',
    950: '#000000',
  },
}
SCSS
$custom: #ab2f31;
$custom-light: #cc7169;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2f31",
  "rgb": {
    "r": 171,
    "g": 47,
    "b": 49
  },
  "hsl": {
    "h": 359.032,
    "s": 56.881,
    "l": 42.745
  },
  "oklch": {
    "l": 0.49726,
    "c": 0.16048,
    "h": 24.4
  },
  "luminance": 0.10913
}

Semantic roles & 50–950 ramp

primary
#AB2F31
secondary
#73C3C1
accent
#E0DE48
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150806
muted
#837B7A

Preview Lab

Preview with #AB2F31

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

Preview Lab → · Contrast checker → · Palette generator →

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