#AB2A36#AB2A36

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

Color values

HEX#AB2A36
RGBrgb(171, 42, 54)
HSLhsl(354, 61%, 42%)
HSVhsv(354, 75%, 67%)
CMYKcmyk(0%, 75.4%, 68.4%, 32.9%)
CIE-LABlab(38.87, 52.16, 25.10)
CIE-LCHlch(38.87, 57.89, 25.70°)
OKLaboklab(49.33% 0.1537 0.0588)
OKLCHoklch(49.33% 0.165 20.9)
XYZxyz(18.2904, 10.5830, 4.5689)
Luminance0.1058 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2A36 #2AAB9F
analogous
#AB2A76 #AB2A36 #AB5F2A
triadic
#AB2A36 #36AB2A #2A36AB
tetradic
#AB2A36 #76AB2A #2AAB9F #5F2AAB
square
#AB2A36 #76AB2A #2AAB9F #5F2AAB
split-complementary
#AB2A36 #2AAB5F #2A76AB
monochromatic
#491217 #7A1E26 #AB2A36 #D1424F #DD737D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB2A36#FFFFFF#000000##FFFFFF
##AB2A361.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)
#4F4A35
Deuteranopia (green-blind)
#706532
Tritanopia (blue-blind)
#BC0030
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #ab2a36;
/* rgb */ color: rgb(171, 42, 54);
/* oklch */ color: oklch(49.3% 0.165 20.9);
Tailwind
colors: {
  custom: {
    50: '#cc6e6d',
    500: '#ab2a36',
    950: '#000000',
  },
}
SCSS
$custom: #ab2a36;
$custom-light: #cc6e6d;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2a36",
  "rgb": {
    "r": 171,
    "g": 42,
    "b": 54
  },
  "hsl": {
    "h": 354.419,
    "s": 60.563,
    "l": 41.765
  },
  "oklch": {
    "l": 0.49327,
    "c": 0.16461,
    "h": 20.9
  },
  "luminance": 0.1058
}

Semantic roles & 50–950 ramp

primary
#AB2A36
secondary
#6DC4BC
accent
#E4D544
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150807
muted
#837B7A

Preview Lab

Preview with #AB2A36

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

Preview Lab → · Contrast checker → · Palette generator →

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