#AB2D42#AB2D42

#AB2D42 is a mid, vivid red. Relative luminance 0.109; OKLCH L 49.8% C 0.161 H 16.1°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#AB2D42
RGBrgb(171, 45, 66)
HSLhsl(350, 58%, 42%)
HSVhsv(350, 74%, 67%)
CMYKcmyk(0%, 73.7%, 61.4%, 32.9%)
CIE-LABlab(39.46, 51.83, 18.36)
CIE-LCHlch(39.46, 54.99, 19.51°)
OKLaboklab(49.84% 0.1551 0.0448)
OKLCHoklch(49.84% 0.161 16.1)
XYZxyz(18.7182, 10.9308, 6.2774)
Luminance0.1093 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2D42 #2DAB96
analogous
#AB2D81 #AB2D42 #AB572D
triadic
#AB2D42 #42AB2D #2D42AB
tetradic
#AB2D42 #81AB2D #2DAB96 #572DAB
square
#AB2D42 #81AB2D #2DAB96 #572DAB
split-complementary
#AB2D42 #2DAB57 #2D81AB
monochromatic
#4A141D #7B202F #AB2D42 #CE475D #DB7788

Accessibility & contrast

On white

6.59
#AB2D42 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#AB2D42 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2D42
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2D42#FFFFFF#000000##FFFFFF
##AB2D421.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4C42
Deuteranopia (green-blind)
#6F673F
Tritanopia (blue-blind)
#BB0236
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #ab2d42;
/* rgb */ color: rgb(171, 45, 66);
/* oklch */ color: oklch(49.8% 0.161 16.1);
Tailwind
colors: {
  custom: {
    50: '#cb7076',
    500: '#ab2d42',
    950: '#000000',
  },
}
SCSS
$custom: #ab2d42;
$custom-light: #cb7076;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2d42",
  "rgb": {
    "r": 171,
    "g": 45,
    "b": 66
  },
  "hsl": {
    "h": 350,
    "s": 58.333,
    "l": 42.353
  },
  "oklch": {
    "l": 0.49839,
    "c": 0.16147,
    "h": 16.1
  },
  "luminance": 0.10928
}

Semantic roles & 50–950 ramp

primary
#AB2D42
secondary
#71C3B5
accent
#E2C846
background
#FDF7F7
surface
#FAEDED
border
#D3C8C8
text
#150808
muted
#837B7B

Preview Lab

Preview with #AB2D42

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

Preview Lab → · Contrast checker → · Palette generator →

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