#AB2F6F#AB2F6F

#AB2F6F is a mid, vivid pink. Relative luminance 0.118; OKLCH L 51.4% C 0.170 H 353.2°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#AB2F6F
RGBrgb(171, 47, 111)
HSLhsl(329, 57%, 43%)
HSVhsv(329, 73%, 67%)
CMYKcmyk(0%, 72.5%, 35.1%, 32.9%)
CIE-LABlab(40.96, 55.21, -7.84)
CIE-LCHlch(40.96, 55.76, 351.92°)
OKLaboklab(51.35% 0.1691 -0.0201)
OKLCHoklch(51.35% 0.17 353.2)
XYZxyz(20.6816, 11.8411, 16.2323)
Luminance0.1184 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2F6F #2FAB6B
analogous
#A92FAB #AB2F6F #AB2F31
triadic
#AB2F6F #6FAB2F #2F6FAB
tetradic
#AB2F6F #ABA92F #2FAB6B #2F31AB
square
#AB2F6F #ABA92F #2FAB6B #2F31AB
split-complementary
#AB2F6F #31AB2F #2FABA9
monochromatic
#4B1531 #7B2250 #AB2F6F #CD4A8E #DA7AAC

Accessibility & contrast

On white

6.24
#AB2F6F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#AB2F6F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2F6F
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2F6F#FFFFFF#000000##FFFFFF
##AB2F6F1.006.243.376.24
#FFFFFF6.241.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#455271
Deuteranopia (green-blind)
#68696C
Tritanopia (blue-blind)
#B8244B
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #ab2f6f;
/* rgb */ color: rgb(171, 47, 111);
/* oklch */ color: oklch(51.4% 0.170 353.2);
Tailwind
colors: {
  custom: {
    50: '#c87298',
    500: '#ab2f6f',
    950: '#000000',
  },
}
SCSS
$custom: #ab2f6f;
$custom-light: #c87298;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2f6f",
  "rgb": {
    "r": 171,
    "g": 47,
    "b": 111
  },
  "hsl": {
    "h": 329.032,
    "s": 56.881,
    "l": 42.745
  },
  "oklch": {
    "l": 0.51351,
    "c": 0.17028,
    "h": 353.2
  },
  "luminance": 0.11839
}

Semantic roles & 50–950 ramp

primary
#AB2F6F
secondary
#73C39A
accent
#E09148
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14090D
muted
#827B7E

Preview Lab

Preview with #AB2F6F

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

Preview Lab → · Contrast checker → · Palette generator →

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