#AB2F6E#AB2F6E

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

Color values

HEX#AB2F6E
RGBrgb(171, 47, 110)
HSLhsl(330, 57%, 43%)
HSVhsv(330, 73%, 67%)
CMYKcmyk(0%, 72.5%, 35.7%, 32.9%)
CIE-LABlab(40.93, 55.09, -7.27)
CIE-LCHlch(40.93, 55.57, 352.49°)
OKLaboklab(51.31% 0.1688 -0.0185)
OKLCHoklch(51.31% 0.17 353.7)
XYZxyz(20.6268, 11.8192, 15.9439)
Luminance0.1182 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2F6E #2FAB6C
analogous
#AA2FAB #AB2F6E #AB2F30
triadic
#AB2F6E #6EAB2F #2F6EAB
tetradic
#AB2F6E #ABAA2F #2FAB6C #2F30AB
square
#AB2F6E #ABAA2F #2FAB6C #2F30AB
split-complementary
#AB2F6E #30AB2F #2FABAA
monochromatic
#4B1530 #7B224F #AB2F6E #CD4A8D #DA7AAB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB2F6E#FFFFFF#000000##FFFFFF
##AB2F6E1.006.243.366.24
#FFFFFF6.241.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#455270
Deuteranopia (green-blind)
#68696B
Tritanopia (blue-blind)
#B8244A
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #ab2f6e;
/* rgb */ color: rgb(171, 47, 110);
/* oklch */ color: oklch(51.3% 0.170 353.7);
Tailwind
colors: {
  custom: {
    50: '#c87297',
    500: '#ab2f6e',
    950: '#000000',
  },
}
SCSS
$custom: #ab2f6e;
$custom-light: #c87297;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2f6e",
  "rgb": {
    "r": 171,
    "g": 47,
    "b": 110
  },
  "hsl": {
    "h": 329.516,
    "s": 56.881,
    "l": 42.745
  },
  "oklch": {
    "l": 0.51313,
    "c": 0.16981,
    "h": 353.7
  },
  "luminance": 0.11817
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AB2F6E

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

Preview Lab → · Contrast checker → · Palette generator →

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