#AB2F6D#AB2F6D

#AB2F6D is a mid, vivid pink. Relative luminance 0.118; OKLCH L 51.3% C 0.169 H 354.2°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#AB2F6D
RGBrgb(171, 47, 109)
HSLhsl(330, 57%, 43%)
HSVhsv(330, 73%, 67%)
CMYKcmyk(0%, 72.5%, 36.3%, 32.9%)
CIE-LABlab(40.89, 54.98, -6.69)
CIE-LCHlch(40.89, 55.39, 353.06°)
OKLaboklab(51.28% 0.1685 -0.017)
OKLCHoklch(51.28% 0.169 354.2)
XYZxyz(20.5727, 11.7975, 15.6588)
Luminance0.1179 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2F6D #2FAB6D
analogous
#AB2FAB #AB2F6D #AB2F2F
triadic
#AB2F6D #6DAB2F #2F6DAB
tetradic
#AB2F6D #ABAB2F #2FAB6D #2F2FAB
square
#AB2F6D #ABAB2F #2FAB6D #2F2FAB
split-complementary
#AB2F6D #2FAB2F #2FABAB
monochromatic
#4B1530 #7B224E #AB2F6D #CD4A8C #DA7AAA

Accessibility & contrast

On white

6.25
#AB2F6D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#AB2F6D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2F6D
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2F6D#FFFFFF#000000##FFFFFF
##AB2F6D1.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#46526F
Deuteranopia (green-blind)
#68696A
Tritanopia (blue-blind)
#B8234A
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #ab2f6d;
/* rgb */ color: rgb(171, 47, 109);
/* oklch */ color: oklch(51.3% 0.169 354.2);
Tailwind
colors: {
  custom: {
    50: '#c97296',
    500: '#ab2f6d',
    950: '#000000',
  },
}
SCSS
$custom: #ab2f6d;
$custom-light: #c97296;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2f6d",
  "rgb": {
    "r": 171,
    "g": 47,
    "b": 109
  },
  "hsl": {
    "h": 330,
    "s": 56.881,
    "l": 42.745
  },
  "oklch": {
    "l": 0.51276,
    "c": 0.16936,
    "h": 354.2
  },
  "luminance": 0.11795
}

Semantic roles & 50–950 ramp

primary
#AB2F6D
secondary
#73C39B
accent
#E09448
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14090D
muted
#827B7E

Preview Lab

Preview with #AB2F6D

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

Preview Lab → · Contrast checker → · Palette generator →

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