#AB2A33#AB2A33

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

Color values

HEX#AB2A33
RGBrgb(171, 42, 51)
HSLhsl(356, 61%, 42%)
HSVhsv(356, 75%, 67%)
CMYKcmyk(0%, 75.4%, 70.2%, 32.9%)
CIE-LABlab(38.82, 52.01, 26.89)
CIE-LCHlch(38.82, 58.55, 27.34°)
OKLaboklab(49.28% 0.1526 0.0623)
OKLCHoklch(49.28% 0.165 22.2)
XYZxyz(18.2221, 10.5556, 4.2093)
Luminance0.1055 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2A33 #2AABA2
analogous
#AB2A74 #AB2A33 #AB622A
triadic
#AB2A33 #33AB2A #2A33AB
tetradic
#AB2A33 #74AB2A #2AABA2 #622AAB
square
#AB2A33 #74AB2A #2AABA2 #622AAB
split-complementary
#AB2A33 #2AAB62 #2A74AB
monochromatic
#491216 #7A1E24 #AB2A33 #D1424C #DD737A

Accessibility & contrast

On white

6.75
#AB2A33 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#AB2A33 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2A33
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2A33#FFFFFF#000000##FFFFFF
##AB2A331.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504A32
Deuteranopia (green-blind)
#70652F
Tritanopia (blue-blind)
#BC002F
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #ab2a33;
/* rgb */ color: rgb(171, 42, 51);
/* oklch */ color: oklch(49.3% 0.165 22.2);
Tailwind
colors: {
  custom: {
    50: '#cc6e6a',
    500: '#ab2a33',
    950: '#000000',
  },
}
SCSS
$custom: #ab2a33;
$custom-light: #cc6e6a;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2a33",
  "rgb": {
    "r": 171,
    "g": 42,
    "b": 51
  },
  "hsl": {
    "h": 355.814,
    "s": 60.563,
    "l": 41.765
  },
  "oklch": {
    "l": 0.49277,
    "c": 0.16483,
    "h": 22.2
  },
  "luminance": 0.10553
}

Semantic roles & 50–950 ramp

primary
#AB2A33
secondary
#6DC4BE
accent
#E4D944
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150806
muted
#837B7A

Preview Lab

Preview with #AB2A33

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

Preview Lab → · Contrast checker → · Palette generator →

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