#AB2F4C#AB2F4C

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

Color values

HEX#AB2F4C
RGBrgb(171, 47, 76)
HSLhsl(346, 57%, 43%)
HSVhsv(346, 73%, 67%)
CMYKcmyk(0%, 72.5%, 55.6%, 32.9%)
CIE-LABlab(39.94, 51.83, 12.70)
CIE-LCHlch(39.94, 53.36, 13.77°)
OKLaboklab(50.26% 0.1568 0.032)
OKLCHoklch(50.26% 0.16 11.5)
XYZxyz(19.1174, 11.2154, 7.9942)
Luminance0.1121 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2F4C #2FAB8E
analogous
#AB2F8A #AB2F4C #AB502F
triadic
#AB2F4C #4CAB2F #2F4CAB
tetradic
#AB2F4C #8AAB2F #2FAB8E #502FAB
square
#AB2F4C #8AAB2F #2FAB8E #502FAB
split-complementary
#AB2F4C #2FAB50 #2F8AAB
monochromatic
#4B1521 #7B2237 #AB2F4C #CD4A69 #DA7A91

Accessibility & contrast

On white

6.48
#AB2F4C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AB2F4C
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2F4C#FFFFFF#000000##FFFFFF
##AB2F4C1.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4E4C
Deuteranopia (green-blind)
#6F6749
Tritanopia (blue-blind)
#BB103B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #ab2f4c;
/* rgb */ color: rgb(171, 47, 76);
/* oklch */ color: oklch(50.3% 0.160 11.5);
Tailwind
colors: {
  custom: {
    50: '#ca717d',
    500: '#ab2f4c',
    950: '#000000',
  },
}
SCSS
$custom: #ab2f4c;
$custom-light: #ca717d;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2f4c",
  "rgb": {
    "r": 171,
    "g": 47,
    "b": 76
  },
  "hsl": {
    "h": 345.968,
    "s": 56.881,
    "l": 42.745
  },
  "oklch": {
    "l": 0.50263,
    "c": 0.16004,
    "h": 11.5
  },
  "luminance": 0.11213
}

Semantic roles & 50–950 ramp

primary
#AB2F4C
secondary
#73C3B0
accent
#E0BC48
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#140809
muted
#837B7B

Preview Lab

Preview with #AB2F4C

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

Preview Lab → · Contrast checker → · Palette generator →

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