#AB2F76#AB2F76

#AB2F76 is a mid, vivid pink. Relative luminance 0.120; OKLCH L 51.6% C 0.174 H 349.8°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#AB2F76
RGBrgb(171, 47, 118)
HSLhsl(326, 57%, 43%)
HSVhsv(326, 73%, 67%)
CMYKcmyk(0%, 72.5%, 31%, 32.9%)
CIE-LABlab(41.22, 56.04, -11.81)
CIE-LCHlch(41.22, 57.27, 348.10°)
OKLaboklab(51.62% 0.171 -0.0308)
OKLCHoklch(51.62% 0.174 349.8)
XYZxyz(21.0822, 12.0013, 18.3423)
Luminance0.1200 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2F76 #2FAB64
analogous
#A22FAB #AB2F76 #AB2F38
triadic
#AB2F76 #76AB2F #2F76AB
tetradic
#AB2F76 #ABA22F #2FAB64 #2F38AB
square
#AB2F76 #ABA22F #2FAB64 #2F38AB
split-complementary
#AB2F76 #38AB2F #2FABA2
monochromatic
#4B1534 #7B2255 #AB2F76 #CD4A95 #DA7AB1

Accessibility & contrast

On white

6.18
#AB2F76 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#AB2F76 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2F76
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2F76#FFFFFF#000000##FFFFFF
##AB2F761.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425378
Deuteranopia (green-blind)
#666973
Tritanopia (blue-blind)
#B8284E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #ab2f76;
/* rgb */ color: rgb(171, 47, 118);
/* oklch */ color: oklch(51.6% 0.174 349.8);
Tailwind
colors: {
  custom: {
    50: '#c8729d',
    500: '#ab2f76',
    950: '#000000',
  },
}
SCSS
$custom: #ab2f76;
$custom-light: #c8729d;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2f76",
  "rgb": {
    "r": 171,
    "g": 47,
    "b": 118
  },
  "hsl": {
    "h": 325.645,
    "s": 56.881,
    "l": 42.745
  },
  "oklch": {
    "l": 0.51622,
    "c": 0.17376,
    "h": 349.8
  },
  "luminance": 0.11999
}

Semantic roles & 50–950 ramp

primary
#AB2F76
secondary
#73C395
accent
#E08948
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14090E
muted
#827B7E

Preview Lab

Preview with #AB2F76

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

Preview Lab → · Contrast checker → · Palette generator →

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