#AB2F6C#AB2F6C

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

Color values

HEX#AB2F6C
RGBrgb(171, 47, 108)
HSLhsl(330, 57%, 43%)
HSVhsv(330, 73%, 67%)
CMYKcmyk(0%, 72.5%, 36.8%, 32.9%)
CIE-LABlab(40.86, 54.87, -6.12)
CIE-LCHlch(40.86, 55.21, 353.63°)
OKLaboklab(51.24% 0.1682 -0.0155)
OKLCHoklch(51.24% 0.169 354.7)
XYZxyz(20.5192, 11.7761, 15.3769)
Luminance0.1177 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2F6C #2FAB6E
analogous
#AB2FAA #AB2F6C #AB302F
triadic
#AB2F6C #6CAB2F #2F6CAB
tetradic
#AB2F6C #AAAB2F #2FAB6E #302FAB
square
#AB2F6C #AAAB2F #2FAB6E #302FAB
split-complementary
#AB2F6C #2FAB30 #2FAAAB
monochromatic
#4B152F #7B224E #AB2F6C #CD4A8B #DA7AA9

Accessibility & contrast

On white

6.26
#AB2F6C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#AB2F6C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2F6C
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2F6C#FFFFFF#000000##FFFFFF
##AB2F6C1.006.263.356.26
#FFFFFF6.261.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#46526E
Deuteranopia (green-blind)
#696969
Tritanopia (blue-blind)
#B92349
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #ab2f6c;
/* rgb */ color: rgb(171, 47, 108);
/* oklch */ color: oklch(51.2% 0.169 354.7);
Tailwind
colors: {
  custom: {
    50: '#c97296',
    500: '#ab2f6c',
    950: '#000000',
  },
}
SCSS
$custom: #ab2f6c;
$custom-light: #c97296;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2f6c",
  "rgb": {
    "r": 171,
    "g": 47,
    "b": 108
  },
  "hsl": {
    "h": 330.484,
    "s": 56.881,
    "l": 42.745
  },
  "oklch": {
    "l": 0.5124,
    "c": 0.16892,
    "h": 354.7
  },
  "luminance": 0.11774
}

Semantic roles & 50–950 ramp

primary
#AB2F6C
secondary
#73C39C
accent
#E09548
background
#FCF7F9
surface
#F9EDF1
border
#D2C8CB
text
#14090D
muted
#827B7E

Preview Lab

Preview with #AB2F6C

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

Preview Lab → · Contrast checker → · Palette generator →

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