#AB2F6B#AB2F6B

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

Color values

HEX#AB2F6B
RGBrgb(171, 47, 107)
HSLhsl(331, 57%, 43%)
HSVhsv(331, 73%, 67%)
CMYKcmyk(0%, 72.5%, 37.4%, 32.9%)
CIE-LABlab(40.82, 54.76, -5.55)
CIE-LCHlch(40.82, 55.04, 354.22°)
OKLaboklab(51.2% 0.1679 -0.0139)
OKLCHoklch(51.2% 0.168 355.3)
XYZxyz(20.4663, 11.7550, 15.0982)
Luminance0.1175 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2F6B #2FAB6F
analogous
#AB2FA9 #AB2F6B #AB312F
triadic
#AB2F6B #6BAB2F #2F6BAB
tetradic
#AB2F6B #A9AB2F #2FAB6F #312FAB
square
#AB2F6B #A9AB2F #2FAB6F #312FAB
split-complementary
#AB2F6B #2FAB31 #2FA9AB
monochromatic
#4B152F #7B224D #AB2F6B #CD4A89 #DA7AA9

Accessibility & contrast

On white

6.27
#AB2F6B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AB2F6B
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2F6B#FFFFFF#000000##FFFFFF
##AB2F6B1.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#46526D
Deuteranopia (green-blind)
#696968
Tritanopia (blue-blind)
#B92249
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #ab2f6b;
/* rgb */ color: rgb(171, 47, 107);
/* oklch */ color: oklch(51.2% 0.168 355.3);
Tailwind
colors: {
  custom: {
    50: '#c97295',
    500: '#ab2f6b',
    950: '#000000',
  },
}
SCSS
$custom: #ab2f6b;
$custom-light: #c97295;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2f6b",
  "rgb": {
    "r": 171,
    "g": 47,
    "b": 107
  },
  "hsl": {
    "h": 330.968,
    "s": 56.881,
    "l": 42.745
  },
  "oklch": {
    "l": 0.51204,
    "c": 0.16849,
    "h": 355.3
  },
  "luminance": 0.11752
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AB2F6B

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

Preview Lab → · Contrast checker → · Palette generator →

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