#AB2A47#AB2A47

#AB2A47 is a mid, vivid red. Relative luminance 0.108; OKLCH L 49.7% C 0.165 H 12.9°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#AB2A47
RGBrgb(171, 42, 71)
HSLhsl(347, 61%, 42%)
HSVhsv(347, 75%, 67%)
CMYKcmyk(0%, 75.4%, 58.5%, 32.9%)
CIE-LABlab(39.19, 53.23, 14.85)
CIE-LCHlch(39.19, 55.26, 15.58°)
OKLaboklab(49.67% 0.1605 0.0369)
OKLCHoklch(49.67% 0.165 12.9)
XYZxyz(18.7617, 10.7715, 7.0512)
Luminance0.1077 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2A47 #2AAB8E
analogous
#AB2A87 #AB2A47 #AB4E2A
triadic
#AB2A47 #47AB2A #2A47AB
tetradic
#AB2A47 #87AB2A #2AAB8E #4E2AAB
square
#AB2A47 #87AB2A #2AAB8E #4E2AAB
split-complementary
#AB2A47 #2AAB4E #2A87AB
monochromatic
#49121E #7A1E33 #AB2A47 #D14262 #DD738B

Accessibility & contrast

On white

6.66
#AB2A47 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#AB2A47 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2A47
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2A47#FFFFFF#000000##FFFFFF
##AB2A471.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4B47
Deuteranopia (green-blind)
#6E6644
Tritanopia (blue-blind)
#BB0036
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #ab2a47;
/* rgb */ color: rgb(171, 42, 71);
/* oklch */ color: oklch(49.7% 0.165 12.9);
Tailwind
colors: {
  custom: {
    50: '#cb6f79',
    500: '#ab2a47',
    950: '#000000',
  },
}
SCSS
$custom: #ab2a47;
$custom-light: #cb6f79;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2a47",
  "rgb": {
    "r": 171,
    "g": 42,
    "b": 71
  },
  "hsl": {
    "h": 346.512,
    "s": 60.563,
    "l": 41.765
  },
  "oklch": {
    "l": 0.49672,
    "c": 0.16468,
    "h": 12.9
  },
  "luminance": 0.10769
}

Semantic roles & 50–950 ramp

primary
#AB2A47
secondary
#6DC4B0
accent
#E4C044
background
#FDF7F7
surface
#FAEDED
border
#D3C8C8
text
#150809
muted
#837B7B

Preview Lab

Preview with #AB2A47

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

Preview Lab → · Contrast checker → · Palette generator →

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