#AB2F4A#AB2F4A

#AB2F4A is a mid, vivid red. Relative luminance 0.112; OKLCH L 50.2% C 0.160 H 12.6°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#AB2F4A
RGBrgb(171, 47, 74)
HSLhsl(347, 57%, 43%)
HSVhsv(347, 73%, 67%)
CMYKcmyk(0%, 72.5%, 56.7%, 32.9%)
CIE-LABlab(39.90, 51.68, 13.90)
CIE-LCHlch(39.90, 53.51, 15.06°)
OKLaboklab(50.22% 0.156 0.0348)
OKLCHoklch(50.22% 0.16 12.6)
XYZxyz(19.0489, 11.1880, 7.6337)
Luminance0.1119 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2F4A #2FAB90
analogous
#AB2F88 #AB2F4A #AB522F
triadic
#AB2F4A #4AAB2F #2F4AAB
tetradic
#AB2F4A #88AB2F #2FAB90 #522FAB
square
#AB2F4A #88AB2F #2FAB90 #522FAB
split-complementary
#AB2F4A #2FAB52 #2F88AB
monochromatic
#4B1520 #7B2235 #AB2F4A #CD4A67 #DA7A8F

Accessibility & contrast

On white

6.49
#AB2F4A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#AB2F4A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2F4A
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2F4A#FFFFFF#000000##FFFFFF
##AB2F4A1.006.493.246.49
#FFFFFF6.491.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4E4A
Deuteranopia (green-blind)
#6F6747
Tritanopia (blue-blind)
#BB0F3A
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #ab2f4a;
/* rgb */ color: rgb(171, 47, 74);
/* oklch */ color: oklch(50.2% 0.160 12.6);
Tailwind
colors: {
  custom: {
    50: '#ca717c',
    500: '#ab2f4a',
    950: '#000000',
  },
}
SCSS
$custom: #ab2f4a;
$custom-light: #ca717c;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2f4a",
  "rgb": {
    "r": 171,
    "g": 47,
    "b": 74
  },
  "hsl": {
    "h": 346.935,
    "s": 56.881,
    "l": 42.745
  },
  "oklch": {
    "l": 0.50215,
    "c": 0.15984,
    "h": 12.6
  },
  "luminance": 0.11185
}

Semantic roles & 50–950 ramp

primary
#AB2F4A
secondary
#73C3B1
accent
#E0BF48
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#140809
muted
#837B7B

Preview Lab

Preview with #AB2F4A

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

Preview Lab → · Contrast checker → · Palette generator →

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