#AB2D47#AB2D47

#AB2D47 is a mid, vivid red. Relative luminance 0.110; OKLCH L 50.0% C 0.162 H 13.6°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#AB2D47
RGBrgb(171, 45, 71)
HSLhsl(348, 58%, 42%)
HSVhsv(348, 74%, 67%)
CMYKcmyk(0%, 73.7%, 58.5%, 32.9%)
CIE-LABlab(39.57, 52.18, 15.35)
CIE-LCHlch(39.57, 54.39, 16.39°)
OKLaboklab(49.95% 0.1572 0.0381)
OKLCHoklch(49.95% 0.162 13.6)
XYZxyz(18.8721, 10.9923, 7.0880)
Luminance0.1099 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2D47 #2DAB91
analogous
#AB2D86 #AB2D47 #AB522D
triadic
#AB2D47 #47AB2D #2D47AB
tetradic
#AB2D47 #86AB2D #2DAB91 #522DAB
square
#AB2D47 #86AB2D #2DAB91 #522DAB
split-complementary
#AB2D47 #2DAB52 #2D86AB
monochromatic
#4A141F #7B2033 #AB2D47 #CE4763 #DB778C

Accessibility & contrast

On white

6.57
#AB2D47 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#AB2D47 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2D47
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2D47#FFFFFF#000000##FFFFFF
##AB2D471.006.573.206.57
#FFFFFF6.571.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4D47
Deuteranopia (green-blind)
#6F6744
Tritanopia (blue-blind)
#BB0638
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #ab2d47;
/* rgb */ color: rgb(171, 45, 71);
/* oklch */ color: oklch(50.0% 0.162 13.6);
Tailwind
colors: {
  custom: {
    50: '#ca707a',
    500: '#ab2d47',
    950: '#000000',
  },
}
SCSS
$custom: #ab2d47;
$custom-light: #ca707a;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2d47",
  "rgb": {
    "r": 171,
    "g": 45,
    "b": 71
  },
  "hsl": {
    "h": 347.619,
    "s": 58.333,
    "l": 42.353
  },
  "oklch": {
    "l": 0.4995,
    "c": 0.16169,
    "h": 13.6
  },
  "luminance": 0.1099
}

Semantic roles & 50–950 ramp

primary
#AB2D47
secondary
#71C3B2
accent
#E2C246
background
#FDF7F7
surface
#FAEDED
border
#D3C8C8
text
#140809
muted
#837B7B

Preview Lab

Preview with #AB2D47

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

Preview Lab → · Contrast checker → · Palette generator →

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