#AB2E38#AB2E38

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

Color values

HEX#AB2E38
RGBrgb(171, 46, 56)
HSLhsl(355, 58%, 43%)
HSVhsv(355, 73%, 67%)
CMYKcmyk(0%, 73.1%, 67.3%, 32.9%)
CIE-LABlab(39.41, 50.86, 24.54)
CIE-LCHlch(39.41, 56.47, 25.76°)
OKLaboklab(49.74% 0.15 0.0578)
OKLCHoklch(49.74% 0.161 21.1)
XYZxyz(18.4874, 10.9002, 4.8711)
Luminance0.1090 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2E38 #2EABA1
analogous
#AB2E76 #AB2E38 #AB622E
triadic
#AB2E38 #38AB2E #2E38AB
tetradic
#AB2E38 #76AB2E #2EABA1 #622EAB
square
#AB2E38 #76AB2E #2EABA1 #622EAB
split-complementary
#AB2E38 #2EAB62 #2E76AB
monochromatic
#4B1418 #7B2128 #AB2E38 #CE4853 #DB7980

Accessibility & contrast

On white

6.61
#AB2E38 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#AB2E38 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2E38
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2E38#FFFFFF#000000##FFFFFF
##AB2E381.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514C37
Deuteranopia (green-blind)
#716734
Tritanopia (blue-blind)
#BC0033
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #ab2e38;
/* rgb */ color: rgb(171, 46, 56);
/* oklch */ color: oklch(49.7% 0.161 21.1);
Tailwind
colors: {
  custom: {
    50: '#cb706e',
    500: '#ab2e38',
    950: '#000000',
  },
}
SCSS
$custom: #ab2e38;
$custom-light: #cb706e;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2e38",
  "rgb": {
    "r": 171,
    "g": 46,
    "b": 56
  },
  "hsl": {
    "h": 355.2,
    "s": 57.604,
    "l": 42.549
  },
  "oklch": {
    "l": 0.49742,
    "c": 0.16076,
    "h": 21.1
  },
  "luminance": 0.10897
}

Semantic roles & 50–950 ramp

primary
#AB2E38
secondary
#72C3BC
accent
#E1D547
background
#FDF7F6
surface
#FAEDEB
border
#D3C8C6
text
#150807
muted
#837B7A

Preview Lab

Preview with #AB2E38

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

Preview Lab → · Contrast checker → · Palette generator →

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