#AB2D45#AB2D45

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

Color values

HEX#AB2D45
RGBrgb(171, 45, 69)
HSLhsl(349, 58%, 42%)
HSVhsv(349, 74%, 67%)
CMYKcmyk(0%, 73.7%, 59.6%, 32.9%)
CIE-LABlab(39.52, 52.04, 16.56)
CIE-LCHlch(39.52, 54.61, 17.65°)
OKLaboklab(49.91% 0.1564 0.0408)
OKLCHoklch(49.91% 0.162 14.6)
XYZxyz(18.8090, 10.9671, 6.7555)
Luminance0.1096 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2D45 #2DAB93
analogous
#AB2D84 #AB2D45 #AB542D
triadic
#AB2D45 #45AB2D #2D45AB
tetradic
#AB2D45 #84AB2D #2DAB93 #542DAB
square
#AB2D45 #84AB2D #2DAB93 #542DAB
split-complementary
#AB2D45 #2DAB54 #2D84AB
monochromatic
#4A141E #7B2031 #AB2D45 #CE4761 #DB778A

Accessibility & contrast

On white

6.58
#AB2D45 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#AB2D45 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2D45
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2D45#FFFFFF#000000##FFFFFF
##AB2D451.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4C45
Deuteranopia (green-blind)
#6F6742
Tritanopia (blue-blind)
#BB0437
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #ab2d45;
/* rgb */ color: rgb(171, 45, 69);
/* oklch */ color: oklch(49.9% 0.162 14.6);
Tailwind
colors: {
  custom: {
    50: '#cb7078',
    500: '#ab2d45',
    950: '#000000',
  },
}
SCSS
$custom: #ab2d45;
$custom-light: #cb7078;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2d45",
  "rgb": {
    "r": 171,
    "g": 45,
    "b": 69
  },
  "hsl": {
    "h": 348.571,
    "s": 58.333,
    "l": 42.353
  },
  "oklch": {
    "l": 0.49905,
    "c": 0.16158,
    "h": 14.6
  },
  "luminance": 0.10964
}

Semantic roles & 50–950 ramp

primary
#AB2D45
secondary
#71C3B3
accent
#E2C446
background
#FDF7F7
surface
#FAEDED
border
#D3C8C8
text
#150808
muted
#837B7B

Preview Lab

Preview with #AB2D45

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

Preview Lab → · Contrast checker → · Palette generator →

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