#AB2B42#AB2B42

#AB2B42 is a mid, vivid red. Relative luminance 0.108; OKLCH L 49.7% C 0.163 H 15.6°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#AB2B42
RGBrgb(171, 43, 66)
HSLhsl(349, 60%, 42%)
HSVhsv(349, 75%, 67%)
CMYKcmyk(0%, 74.9%, 61.4%, 32.9%)
CIE-LABlab(39.21, 52.54, 18.03)
CIE-LCHlch(39.21, 55.55, 18.94°)
OKLaboklab(49.65% 0.1574 0.044)
OKLCHoklch(49.65% 0.163 15.6)
XYZxyz(18.6437, 10.7817, 6.2526)
Luminance0.1078 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2B42 #2BAB94
analogous
#AB2B82 #AB2B42 #AB542B
triadic
#AB2B42 #42AB2B #2B42AB
tetradic
#AB2B42 #82AB2B #2BAB94 #542BAB
square
#AB2B42 #82AB2B #2BAB94 #542BAB
split-complementary
#AB2B42 #2BAB54 #2B82AB
monochromatic
#49121C #7A1F2F #AB2B42 #D0435D #DC7487

Accessibility & contrast

On white

6.65
#AB2B42 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#AB2B42 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2B42
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2B42#FFFFFF#000000##FFFFFF
##AB2B421.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ab2b42;
/* rgb */ color: rgb(171, 43, 66);
/* oklch */ color: oklch(49.7% 0.163 15.6);
Tailwind
colors: {
  custom: {
    50: '#cb6f76',
    500: '#ab2b42',
    950: '#000000',
  },
}
SCSS
$custom: #ab2b42;
$custom-light: #cb6f76;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2b42",
  "rgb": {
    "r": 171,
    "g": 43,
    "b": 66
  },
  "hsl": {
    "h": 349.219,
    "s": 59.813,
    "l": 41.961
  },
  "oklch": {
    "l": 0.49651,
    "c": 0.16344,
    "h": 15.6
  },
  "luminance": 0.10779
}

Semantic roles & 50–950 ramp

primary
#AB2B42
secondary
#6EC4B4
accent
#E3C745
background
#FDF7F7
surface
#FAEDED
border
#D3C8C8
text
#150808
muted
#837B7B

Preview Lab

Preview with #AB2B42

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

Preview Lab → · Contrast checker → · Palette generator →

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