#AB2A37#AB2A37

#AB2A37 is a mid, vivid red. Relative luminance 0.106; OKLCH L 49.3% C 0.165 H 20.5°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#AB2A37
RGBrgb(171, 42, 55)
HSLhsl(354, 61%, 42%)
HSVhsv(354, 75%, 67%)
CMYKcmyk(0%, 75.4%, 67.8%, 32.9%)
CIE-LABlab(38.89, 52.22, 24.50)
CIE-LCHlch(38.89, 57.68, 25.14°)
OKLaboklab(49.35% 0.1541 0.0576)
OKLCHoklch(49.35% 0.165 20.5)
XYZxyz(18.3141, 10.5925, 4.6939)
Luminance0.1059 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2A37 #2AAB9E
analogous
#AB2A78 #AB2A37 #AB5D2A
triadic
#AB2A37 #37AB2A #2A37AB
tetradic
#AB2A37 #78AB2A #2AAB9E #5D2AAB
square
#AB2A37 #78AB2A #2AAB9E #5D2AAB
split-complementary
#AB2A37 #2AAB5D #2A78AB
monochromatic
#491217 #7A1E27 #AB2A37 #D14250 #DD737D

Accessibility & contrast

On white

6.74
#AB2A37 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#AB2A37 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2A37
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2A37#FFFFFF#000000##FFFFFF
##AB2A371.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4A36
Deuteranopia (green-blind)
#706533
Tritanopia (blue-blind)
#BC0030
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #ab2a37;
/* rgb */ color: rgb(171, 42, 55);
/* oklch */ color: oklch(49.3% 0.165 20.5);
Tailwind
colors: {
  custom: {
    50: '#cc6e6d',
    500: '#ab2a37',
    950: '#000000',
  },
}
SCSS
$custom: #ab2a37;
$custom-light: #cc6e6d;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2a37",
  "rgb": {
    "r": 171,
    "g": 42,
    "b": 55
  },
  "hsl": {
    "h": 353.953,
    "s": 60.563,
    "l": 41.765
  },
  "oklch": {
    "l": 0.49345,
    "c": 0.16455,
    "h": 20.5
  },
  "luminance": 0.1059
}

Semantic roles & 50–950 ramp

primary
#AB2A37
secondary
#6DC4BB
accent
#E4D444
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150807
muted
#837B7A

Preview Lab

Preview with #AB2A37

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

Preview Lab → · Contrast checker → · Palette generator →

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