#AB2D30#AB2D30

#AB2D30 is a mid, vivid red. Relative luminance 0.107; OKLCH L 49.5% C 0.162 H 24.2°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#AB2D30
RGBrgb(171, 45, 48)
HSLhsl(359, 58%, 42%)
HSVhsv(359, 74%, 67%)
CMYKcmyk(0%, 73.7%, 71.9%, 32.9%)
CIE-LABlab(39.16, 50.80, 29.12)
CIE-LCHlch(39.16, 58.56, 29.82°)
OKLaboklab(49.51% 0.1481 0.0667)
OKLCHoklch(49.51% 0.162 24.2)
XYZxyz(18.2685, 10.7509, 3.9089)
Luminance0.1075 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2D30 #2DABA8
analogous
#AB2D6F #AB2D30 #AB692D
triadic
#AB2D30 #30AB2D #2D30AB
tetradic
#AB2D30 #6FAB2D #2DABA8 #692DAB
square
#AB2D30 #6FAB2D #2DABA8 #692DAB
split-complementary
#AB2D30 #2DAB69 #2D6FAB
monochromatic
#4A1415 #7B2022 #AB2D30 #CE474A #DB777A

Accessibility & contrast

On white

6.67
#AB2D30 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AB2D30
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2D30#FFFFFF#000000##FFFFFF
##AB2D301.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524B2F
Deuteranopia (green-blind)
#71662C
Tritanopia (blue-blind)
#BC0030
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #ab2d30;
/* rgb */ color: rgb(171, 45, 48);
/* oklch */ color: oklch(49.5% 0.162 24.2);
Tailwind
colors: {
  custom: {
    50: '#cc7068',
    500: '#ab2d30',
    950: '#000000',
  },
}
SCSS
$custom: #ab2d30;
$custom-light: #cc7068;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2d30",
  "rgb": {
    "r": 171,
    "g": 45,
    "b": 48
  },
  "hsl": {
    "h": 358.571,
    "s": 58.333,
    "l": 42.353
  },
  "oklch": {
    "l": 0.49513,
    "c": 0.16243,
    "h": 24.2
  },
  "luminance": 0.10748
}

Semantic roles & 50–950 ramp

primary
#AB2D30
secondary
#71C3C1
accent
#E2DE46
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150806
muted
#837B7A

Preview Lab

Preview with #AB2D30

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

Preview Lab → · Contrast checker → · Palette generator →

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