#AB2F42#AB2F42

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

Color values

HEX#AB2F42
RGBrgb(171, 47, 66)
HSLhsl(351, 57%, 43%)
HSVhsv(351, 73%, 67%)
CMYKcmyk(0%, 72.5%, 61.4%, 32.9%)
CIE-LABlab(39.73, 51.10, 18.71)
CIE-LCHlch(39.73, 54.42, 20.11°)
OKLaboklab(50.04% 0.1528 0.0456)
OKLCHoklch(50.04% 0.159 16.6)
XYZxyz(18.7964, 11.0870, 6.3035)
Luminance0.1108 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2F42 #2FAB98
analogous
#AB2F80 #AB2F42 #AB5A2F
triadic
#AB2F42 #42AB2F #2F42AB
tetradic
#AB2F42 #80AB2F #2FAB98 #5A2FAB
square
#AB2F42 #80AB2F #2FAB98 #5A2FAB
split-complementary
#AB2F42 #2FAB5A #2F80AB
monochromatic
#4B151D #7B222F #AB2F42 #CD4A5E #DA7A89

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB2F42#FFFFFF#000000##FFFFFF
##AB2F421.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)
#504D42
Deuteranopia (green-blind)
#70673F
Tritanopia (blue-blind)
#BB0837
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #ab2f42;
/* rgb */ color: rgb(171, 47, 66);
/* oklch */ color: oklch(50.0% 0.159 16.6);
Tailwind
colors: {
  custom: {
    50: '#cb7176',
    500: '#ab2f42',
    950: '#000000',
  },
}
SCSS
$custom: #ab2f42;
$custom-light: #cb7176;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2f42",
  "rgb": {
    "r": 171,
    "g": 47,
    "b": 66
  },
  "hsl": {
    "h": 350.806,
    "s": 56.881,
    "l": 42.745
  },
  "oklch": {
    "l": 0.50035,
    "c": 0.15946,
    "h": 16.6
  },
  "luminance": 0.11084
}

Semantic roles & 50–950 ramp

primary
#AB2F42
secondary
#73C3B7
accent
#E0C948
background
#FDF7F7
surface
#FAEDED
border
#D3C8C8
text
#150808
muted
#837B7B

Preview Lab

Preview with #AB2F42

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

Preview Lab → · Contrast checker → · Palette generator →

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