#AB2E48#AB2E48

#AB2E48 is a mid, vivid red. Relative luminance 0.111; OKLCH L 50.1% C 0.161 H 13.3°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#AB2E48
RGBrgb(171, 46, 72)
HSLhsl(348, 58%, 43%)
HSVhsv(348, 73%, 67%)
CMYKcmyk(0%, 73.1%, 57.9%, 32.9%)
CIE-LABlab(39.72, 51.89, 14.93)
CIE-LCHlch(39.72, 54.00, 16.05°)
OKLaboklab(50.07% 0.1564 0.0371)
OKLCHoklch(50.07% 0.161 13.3)
XYZxyz(18.9431, 11.0825, 7.2713)
Luminance0.1108 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2E48 #2EAB91
analogous
#AB2E87 #AB2E48 #AB522E
triadic
#AB2E48 #48AB2E #2E48AB
tetradic
#AB2E48 #87AB2E #2EAB91 #522EAB
square
#AB2E48 #87AB2E #2EAB91 #522EAB
split-complementary
#AB2E48 #2EAB52 #2E87AB
monochromatic
#4B141F #7B2134 #AB2E48 #CE4864 #DB798D

Accessibility & contrast

On white

6.53
#AB2E48 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#AB2E48 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2E48
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2E48#FFFFFF#000000##FFFFFF
##AB2E481.006.533.226.53
#FFFFFF6.531.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4D48
Deuteranopia (green-blind)
#6F6745
Tritanopia (blue-blind)
#BB0A39
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #ab2e48;
/* rgb */ color: rgb(171, 46, 72);
/* oklch */ color: oklch(50.1% 0.161 13.3);
Tailwind
colors: {
  custom: {
    50: '#ca717a',
    500: '#ab2e48',
    950: '#000000',
  },
}
SCSS
$custom: #ab2e48;
$custom-light: #ca717a;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2e48",
  "rgb": {
    "r": 171,
    "g": 46,
    "b": 72
  },
  "hsl": {
    "h": 347.52,
    "s": 57.604,
    "l": 42.549
  },
  "oklch": {
    "l": 0.50069,
    "c": 0.16073,
    "h": 13.3
  },
  "luminance": 0.1108
}

Semantic roles & 50–950 ramp

primary
#AB2E48
secondary
#72C3B2
accent
#E1C147
background
#FDF7F7
surface
#FAEDED
border
#D3C8C8
text
#140809
muted
#837B7B

Preview Lab

Preview with #AB2E48

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

Preview Lab → · Contrast checker → · Palette generator →

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