#AB2E47#AB2E47

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

Color values

HEX#AB2E47
RGBrgb(171, 46, 71)
HSLhsl(348, 58%, 43%)
HSVhsv(348, 73%, 67%)
CMYKcmyk(0%, 73.1%, 58.5%, 32.9%)
CIE-LABlab(39.70, 51.82, 15.53)
CIE-LCHlch(39.70, 54.10, 16.68°)
OKLaboklab(50.05% 0.156 0.0385)
OKLCHoklch(50.05% 0.161 13.9)
XYZxyz(18.9107, 11.0695, 7.1009)
Luminance0.1107 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2E47 #2EAB92
analogous
#AB2E86 #AB2E47 #AB532E
triadic
#AB2E47 #47AB2E #2E47AB
tetradic
#AB2E47 #86AB2E #2EAB92 #532EAB
square
#AB2E47 #86AB2E #2EAB92 #532EAB
split-complementary
#AB2E47 #2EAB53 #2E86AB
monochromatic
#4B141F #7B2133 #AB2E47 #CE4863 #DB798C

Accessibility & contrast

On white

6.54
#AB2E47 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#AB2E47 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2E47
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2E47#FFFFFF#000000##FFFFFF
##AB2E471.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4D47
Deuteranopia (green-blind)
#6F6744
Tritanopia (blue-blind)
#BB0938
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #ab2e47;
/* rgb */ color: rgb(171, 46, 71);
/* oklch */ color: oklch(50.0% 0.161 13.9);
Tailwind
colors: {
  custom: {
    50: '#ca717a',
    500: '#ab2e47',
    950: '#000000',
  },
}
SCSS
$custom: #ab2e47;
$custom-light: #ca717a;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2e47",
  "rgb": {
    "r": 171,
    "g": 46,
    "b": 71
  },
  "hsl": {
    "h": 348,
    "s": 57.604,
    "l": 42.549
  },
  "oklch": {
    "l": 0.50046,
    "c": 0.16066,
    "h": 13.9
  },
  "luminance": 0.11067
}

Semantic roles & 50–950 ramp

primary
#AB2E47
secondary
#72C3B3
accent
#E1C247
background
#FDF7F7
surface
#FAEDED
border
#D3C8C8
text
#140809
muted
#837B7B

Preview Lab

Preview with #AB2E47

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

Preview Lab → · Contrast checker → · Palette generator →

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