#AB2A38#AB2A38

#AB2A38 is a mid, vivid red. Relative luminance 0.106; OKLCH L 49.4% C 0.164 H 20.1°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#AB2A38
RGBrgb(171, 42, 56)
HSLhsl(353, 61%, 42%)
HSVhsv(353, 75%, 67%)
CMYKcmyk(0%, 75.4%, 67.3%, 32.9%)
CIE-LABlab(38.90, 52.27, 23.90)
CIE-LCHlch(38.90, 57.48, 24.57°)
OKLaboklab(49.36% 0.1545 0.0564)
OKLCHoklch(49.36% 0.164 20.1)
XYZxyz(18.3384, 10.6021, 4.8214)
Luminance0.1060 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2A38 #2AAB9D
analogous
#AB2A79 #AB2A38 #AB5C2A
triadic
#AB2A38 #38AB2A #2A38AB
tetradic
#AB2A38 #79AB2A #2AAB9D #5C2AAB
square
#AB2A38 #79AB2A #2AAB9D #5C2AAB
split-complementary
#AB2A38 #2AAB5C #2A79AB
monochromatic
#491218 #7A1E28 #AB2A38 #D14251 #DD737E

Accessibility & contrast

On white

6.73
#AB2A38 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AB2A38
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2A38#FFFFFF#000000##FFFFFF
##AB2A381.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4A38
Deuteranopia (green-blind)
#706634
Tritanopia (blue-blind)
#BC0030
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #ab2a38;
/* rgb */ color: rgb(171, 42, 56);
/* oklch */ color: oklch(49.4% 0.164 20.1);
Tailwind
colors: {
  custom: {
    50: '#cc6e6e',
    500: '#ab2a38',
    950: '#000000',
  },
}
SCSS
$custom: #ab2a38;
$custom-light: #cc6e6e;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2a38",
  "rgb": {
    "r": 171,
    "g": 42,
    "b": 56
  },
  "hsl": {
    "h": 353.488,
    "s": 60.563,
    "l": 41.765
  },
  "oklch": {
    "l": 0.49363,
    "c": 0.16449,
    "h": 20.1
  },
  "luminance": 0.10599
}

Semantic roles & 50–950 ramp

primary
#AB2A38
secondary
#6DC4BA
accent
#E4D244
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150807
muted
#837B7A

Preview Lab

Preview with #AB2A38

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

Preview Lab → · Contrast checker → · Palette generator →

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