#AB2C6F#AB2C6F

#AB2C6F is a mid, vivid pink. Relative luminance 0.116; OKLCH L 51.1% C 0.174 H 352.9°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#AB2C6F
RGBrgb(171, 44, 111)
HSLhsl(328, 59%, 42%)
HSVhsv(328, 74%, 67%)
CMYKcmyk(0%, 74.3%, 35.1%, 32.9%)
CIE-LABlab(40.59, 56.26, -8.40)
CIE-LCHlch(40.59, 56.88, 351.51°)
OKLaboklab(51.08% 0.1724 -0.0215)
OKLCHoklch(51.08% 0.174 352.9)
XYZxyz(20.5658, 11.6094, 16.1937)
Luminance0.1161 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2C6F #2CAB68
analogous
#A72CAB #AB2C6F #AB2C30
triadic
#AB2C6F #6FAB2C #2C6FAB
tetradic
#AB2C6F #ABA72C #2CAB68 #2C30AB
square
#AB2C6F #ABA72C #2CAB68 #2C30AB
split-complementary
#AB2C6F #30AB2C #2CABA7
monochromatic
#4A1330 #7A1F4F #AB2C6F #CF458E #DC76AC

Accessibility & contrast

On white

6.32
#AB2C6F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#AB2C6F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2C6F
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2C6F#FFFFFF#000000##FFFFFF
##AB2C6F1.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#435171
Deuteranopia (green-blind)
#67686C
Tritanopia (blue-blind)
#B8214A
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #ab2c6f;
/* rgb */ color: rgb(171, 44, 111);
/* oklch */ color: oklch(51.1% 0.174 352.9);
Tailwind
colors: {
  custom: {
    50: '#c97198',
    500: '#ab2c6f',
    950: '#000000',
  },
}
SCSS
$custom: #ab2c6f;
$custom-light: #c97198;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2c6f",
  "rgb": {
    "r": 171,
    "g": 44,
    "b": 111
  },
  "hsl": {
    "h": 328.346,
    "s": 59.07,
    "l": 42.157
  },
  "oklch": {
    "l": 0.51077,
    "c": 0.17374,
    "h": 352.9
  },
  "luminance": 0.11607
}

Semantic roles & 50–950 ramp

primary
#AB2C6F
secondary
#6FC397
accent
#E29046
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14080D
muted
#827B7E

Preview Lab

Preview with #AB2C6F

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

Preview Lab → · Contrast checker → · Palette generator →

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