#AB337A#AB337A

#AB337A is a mid, vivid pink. Relative luminance 0.124; OKLCH L 52.2% C 0.171 H 348.3°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#AB337A
RGBrgb(171, 51, 122)
HSLhsl(325, 54%, 44%)
HSVhsv(325, 70%, 67%)
CMYKcmyk(0%, 70.2%, 28.7%, 32.9%)
CIE-LABlab(41.90, 55.06, -13.25)
CIE-LCHlch(41.90, 56.63, 346.47°)
OKLaboklab(52.17% 0.1674 -0.0348)
OKLCHoklch(52.17% 0.171 348.3)
XYZxyz(21.4923, 12.4330, 19.6765)
Luminance0.1243 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB337A #33AB64
analogous
#A033AB #AB337A #AB333E
triadic
#AB337A #7AAB33 #337AAB
tetradic
#AB337A #ABA033 #33AB64 #333EAB
square
#AB337A #ABA033 #33AB64 #333EAB
split-complementary
#AB337A #3EAB33 #33ABA0
monochromatic
#4D1737 #7C2558 #AB337A #CB5099 #D97FB4

Accessibility & contrast

On white

6.02
#AB337A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#AB337A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB337A
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB337A#FFFFFF#000000##FFFFFF
##AB337A1.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#44567C
Deuteranopia (green-blind)
#666A77
Tritanopia (blue-blind)
#B72E52
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ab337a;
/* rgb */ color: rgb(171, 51, 122);
/* oklch */ color: oklch(52.2% 0.171 348.3);
Tailwind
colors: {
  custom: {
    50: '#c874a0',
    500: '#ab337a',
    950: '#000000',
  },
}
SCSS
$custom: #ab337a;
$custom-light: #c874a0;
$custom-dark: #000000;
JSON
{
  "hex": "#ab337a",
  "rgb": {
    "r": 171,
    "g": 51,
    "b": 122
  },
  "hsl": {
    "h": 324.5,
    "s": 54.054,
    "l": 43.529
  },
  "oklch": {
    "l": 0.52168,
    "c": 0.171,
    "h": 348.3
  },
  "luminance": 0.12431
}

Semantic roles & 50–950 ramp

primary
#AB337A
secondary
#78C296
accent
#DD864A
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14090E
muted
#827B7E

Preview Lab

Preview with #AB337A

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

Preview Lab → · Contrast checker → · Palette generator →

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