#AB2A34#AB2A34

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

Color values

HEX#AB2A34
RGBrgb(171, 42, 52)
HSLhsl(355, 61%, 42%)
HSVhsv(355, 75%, 67%)
CMYKcmyk(0%, 75.4%, 69.6%, 32.9%)
CIE-LABlab(38.84, 52.06, 26.30)
CIE-LCHlch(38.84, 58.32, 26.80°)
OKLaboklab(49.29% 0.153 0.0612)
OKLCHoklch(49.29% 0.165 21.8)
XYZxyz(18.2444, 10.5646, 4.3266)
Luminance0.1056 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2A34 #2AABA1
analogous
#AB2A75 #AB2A34 #AB612A
triadic
#AB2A34 #34AB2A #2A34AB
tetradic
#AB2A34 #75AB2A #2AABA1 #612AAB
square
#AB2A34 #75AB2A #2AABA1 #612AAB
split-complementary
#AB2A34 #2AAB61 #2A75AB
monochromatic
#491216 #7A1E25 #AB2A34 #D1424D #DD737B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB2A34#FFFFFF#000000##FFFFFF
##AB2A341.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)
#504A33
Deuteranopia (green-blind)
#706530
Tritanopia (blue-blind)
#BC002F
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #ab2a34;
/* rgb */ color: rgb(171, 42, 52);
/* oklch */ color: oklch(49.3% 0.165 21.8);
Tailwind
colors: {
  custom: {
    50: '#cc6e6b',
    500: '#ab2a34',
    950: '#000000',
  },
}
SCSS
$custom: #ab2a34;
$custom-light: #cc6e6b;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2a34",
  "rgb": {
    "r": 171,
    "g": 42,
    "b": 52
  },
  "hsl": {
    "h": 355.349,
    "s": 60.563,
    "l": 41.765
  },
  "oklch": {
    "l": 0.49294,
    "c": 0.16475,
    "h": 21.8
  },
  "luminance": 0.10562
}

Semantic roles & 50–950 ramp

primary
#AB2A34
secondary
#6DC4BD
accent
#E4D744
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150806
muted
#837B7A

Preview Lab

Preview with #AB2A34

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

Preview Lab → · Contrast checker → · Palette generator →

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