#AB2F4D#AB2F4D

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

Color values

HEX#AB2F4D
RGBrgb(171, 47, 77)
HSLhsl(345, 57%, 43%)
HSVhsv(345, 73%, 67%)
CMYKcmyk(0%, 72.5%, 55%, 32.9%)
CIE-LABlab(39.96, 51.91, 12.10)
CIE-LCHlch(39.96, 53.30, 13.13°)
OKLaboklab(50.29% 0.1572 0.0306)
OKLCHoklch(50.29% 0.16 11)
XYZxyz(19.1524, 11.2294, 8.1787)
Luminance0.1123 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2F4D #2FAB8D
analogous
#AB2F8B #AB2F4D #AB4F2F
triadic
#AB2F4D #4DAB2F #2F4DAB
tetradic
#AB2F4D #8BAB2F #2FAB8D #4F2FAB
square
#AB2F4D #8BAB2F #2FAB8D #4F2FAB
split-complementary
#AB2F4D #2FAB4F #2F8BAB
monochromatic
#4B1522 #7B2237 #AB2F4D #CD4A6A #DA7A91

Accessibility & contrast

On white

6.47
#AB2F4D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#AB2F4D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2F4D
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2F4D#FFFFFF#000000##FFFFFF
##AB2F4D1.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4E4D
Deuteranopia (green-blind)
#6E674A
Tritanopia (blue-blind)
#BB113B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #ab2f4d;
/* rgb */ color: rgb(171, 47, 77);
/* oklch */ color: oklch(50.3% 0.160 11.0);
Tailwind
colors: {
  custom: {
    50: '#ca717e',
    500: '#ab2f4d',
    950: '#000000',
  },
}
SCSS
$custom: #ab2f4d;
$custom-light: #ca717e;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2f4d",
  "rgb": {
    "r": 171,
    "g": 47,
    "b": 77
  },
  "hsl": {
    "h": 345.484,
    "s": 56.881,
    "l": 42.745
  },
  "oklch": {
    "l": 0.50288,
    "c": 0.16014,
    "h": 11
  },
  "luminance": 0.11227
}

Semantic roles & 50–950 ramp

primary
#AB2F4D
secondary
#73C3AF
accent
#E0BB48
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#140809
muted
#837B7B

Preview Lab

Preview with #AB2F4D

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

Preview Lab → · Contrast checker → · Palette generator →

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