#AB2F4F#AB2F4F

#AB2F4F is a mid, vivid pink. Relative luminance 0.113; OKLCH L 50.3% C 0.160 H 10.0°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#AB2F4F
RGBrgb(171, 47, 79)
HSLhsl(345, 57%, 43%)
HSVhsv(345, 73%, 67%)
CMYKcmyk(0%, 72.5%, 53.8%, 32.9%)
CIE-LABlab(40.01, 52.07, 10.91)
CIE-LCHlch(40.01, 53.20, 11.83°)
OKLaboklab(50.34% 0.158 0.0277)
OKLCHoklch(50.34% 0.16 10)
XYZxyz(19.2241, 11.2581, 8.5564)
Luminance0.1125 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2F4F #2FAB8B
analogous
#AB2F8D #AB2F4F #AB4D2F
triadic
#AB2F4F #4FAB2F #2F4FAB
tetradic
#AB2F4F #8DAB2F #2FAB8B #4D2FAB
square
#AB2F4F #8DAB2F #2FAB8B #4D2FAB
split-complementary
#AB2F4F #2FAB4D #2F8DAB
monochromatic
#4B1523 #7B2239 #AB2F4F #CD4A6C #DA7A93

Accessibility & contrast

On white

6.46
#AB2F4F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AB2F4F
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2F4F#FFFFFF#000000##FFFFFF
##AB2F4F1.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4E50
Deuteranopia (green-blind)
#6E674C
Tritanopia (blue-blind)
#BB123C
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #ab2f4f;
/* rgb */ color: rgb(171, 47, 79);
/* oklch */ color: oklch(50.3% 0.160 10.0);
Tailwind
colors: {
  custom: {
    50: '#ca7180',
    500: '#ab2f4f',
    950: '#000000',
  },
}
SCSS
$custom: #ab2f4f;
$custom-light: #ca7180;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2f4f",
  "rgb": {
    "r": 171,
    "g": 47,
    "b": 79
  },
  "hsl": {
    "h": 344.516,
    "s": 56.881,
    "l": 42.745
  },
  "oklch": {
    "l": 0.50339,
    "c": 0.16041,
    "h": 10
  },
  "luminance": 0.11255
}

Semantic roles & 50–950 ramp

primary
#AB2F4F
secondary
#73C3AE
accent
#E0B948
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#14080A
muted
#837B7C

Preview Lab

Preview with #AB2F4F

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

Preview Lab → · Contrast checker → · Palette generator →

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