#AB2A42#AB2A42

#AB2A42 is a mid, vivid red. Relative luminance 0.107; OKLCH L 49.6% C 0.164 H 15.4°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#AB2A42
RGBrgb(171, 42, 66)
HSLhsl(349, 61%, 42%)
HSVhsv(349, 75%, 67%)
CMYKcmyk(0%, 75.4%, 61.4%, 32.9%)
CIE-LABlab(39.09, 52.88, 17.87)
CIE-LCHlch(39.09, 55.82, 18.67°)
OKLaboklab(49.56% 0.1585 0.0436)
OKLCHoklch(49.56% 0.164 15.4)
XYZxyz(18.6078, 10.7099, 6.2406)
Luminance0.1071 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2A42 #2AAB93
analogous
#AB2A83 #AB2A42 #AB532A
triadic
#AB2A42 #42AB2A #2A42AB
tetradic
#AB2A42 #83AB2A #2AAB93 #532AAB
square
#AB2A42 #83AB2A #2AAB93 #532AAB
split-complementary
#AB2A42 #2AAB53 #2A83AB
monochromatic
#49121C #7A1E2F #AB2A42 #D1425C #DD7387

Accessibility & contrast

On white

6.68
#AB2A42 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#AB2A42 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2A42
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2A42#FFFFFF#000000##FFFFFF
##AB2A421.006.683.146.68
#FFFFFF6.681.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4B42
Deuteranopia (green-blind)
#6E663F
Tritanopia (blue-blind)
#BB0034
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #ab2a42;
/* rgb */ color: rgb(171, 42, 66);
/* oklch */ color: oklch(49.6% 0.164 15.4);
Tailwind
colors: {
  custom: {
    50: '#cb6f76',
    500: '#ab2a42',
    950: '#000000',
  },
}
SCSS
$custom: #ab2a42;
$custom-light: #cb6f76;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2a42",
  "rgb": {
    "r": 171,
    "g": 42,
    "b": 66
  },
  "hsl": {
    "h": 348.837,
    "s": 60.563,
    "l": 41.765
  },
  "oklch": {
    "l": 0.4956,
    "c": 0.1644,
    "h": 15.4
  },
  "luminance": 0.10707
}

Semantic roles & 50–950 ramp

primary
#AB2A42
secondary
#6DC4B4
accent
#E4C644
background
#FDF7F7
surface
#FAEDED
border
#D3C8C8
text
#150808
muted
#837B7B

Preview Lab

Preview with #AB2A42

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

Preview Lab → · Contrast checker → · Palette generator →

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