#AB2F40#AB2F40

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

Color values

HEX#AB2F40
RGBrgb(171, 47, 64)
HSLhsl(352, 57%, 43%)
HSVhsv(352, 73%, 67%)
CMYKcmyk(0%, 72.5%, 62.6%, 32.9%)
CIE-LABlab(39.69, 50.97, 19.91)
CIE-LCHlch(39.69, 54.72, 21.34°)
OKLaboklab(49.99% 0.152 0.0482)
OKLCHoklch(49.99% 0.159 17.6)
XYZxyz(18.7384, 11.0638, 5.9983)
Luminance0.1106 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2F40 #2FAB9A
analogous
#AB2F7E #AB2F40 #AB5C2F
triadic
#AB2F40 #40AB2F #2F40AB
tetradic
#AB2F40 #7EAB2F #2FAB9A #5C2FAB
square
#AB2F40 #7EAB2F #2FAB9A #5C2FAB
split-complementary
#AB2F40 #2FAB5C #2F7EAB
monochromatic
#4B151C #7B222E #AB2F40 #CD4A5C #DA7A87

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB2F40#FFFFFF#000000##FFFFFF
##AB2F401.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)
#514D40
Deuteranopia (green-blind)
#70673D
Tritanopia (blue-blind)
#BC0736
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #ab2f40;
/* rgb */ color: rgb(171, 47, 64);
/* oklch */ color: oklch(50.0% 0.159 17.6);
Tailwind
colors: {
  custom: {
    50: '#cb7174',
    500: '#ab2f40',
    950: '#000000',
  },
}
SCSS
$custom: #ab2f40;
$custom-light: #cb7174;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2f40",
  "rgb": {
    "r": 171,
    "g": 47,
    "b": 64
  },
  "hsl": {
    "h": 351.774,
    "s": 56.881,
    "l": 42.745
  },
  "oklch": {
    "l": 0.49993,
    "c": 0.15946,
    "h": 17.6
  },
  "luminance": 0.11061
}

Semantic roles & 50–950 ramp

primary
#AB2F40
secondary
#73C3B8
accent
#E0CB48
background
#FDF7F7
surface
#FAEDED
border
#D3C8C8
text
#150808
muted
#837B7B

Preview Lab

Preview with #AB2F40

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

Preview Lab → · Contrast checker → · Palette generator →

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