#AB336E#AB336E

#AB336E is a mid, vivid pink. Relative luminance 0.122; OKLCH L 51.7% C 0.165 H 354.3°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#AB336E
RGBrgb(171, 51, 110)
HSLhsl(331, 54%, 44%)
HSVhsv(331, 70%, 67%)
CMYKcmyk(0%, 70.2%, 35.7%, 32.9%)
CIE-LABlab(41.46, 53.61, -6.47)
CIE-LCHlch(41.46, 54.00, 353.12°)
OKLaboklab(51.7% 0.1641 -0.0164)
OKLCHoklch(51.7% 0.165 354.3)
XYZxyz(20.7941, 12.1538, 15.9997)
Luminance0.1215 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB336E #33AB70
analogous
#AB33AA #AB336E #AB3433
triadic
#AB336E #6EAB33 #336EAB
tetradic
#AB336E #AAAB33 #33AB70 #3433AB
square
#AB336E #AAAB33 #33AB70 #3433AB
split-complementary
#AB336E #33AB34 #33AAAB
monochromatic
#4D1731 #7C2550 #AB336E #CB508D #D97FAB

Accessibility & contrast

On white

6.12
#AB336E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#AB336E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB336E
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB336E#FFFFFF#000000##FFFFFF
##AB336E1.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#485470
Deuteranopia (green-blind)
#696A6B
Tritanopia (blue-blind)
#B8294C
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #ab336e;
/* rgb */ color: rgb(171, 51, 110);
/* oklch */ color: oklch(51.7% 0.165 354.3);
Tailwind
colors: {
  custom: {
    50: '#c87497',
    500: '#ab336e',
    950: '#000000',
  },
}
SCSS
$custom: #ab336e;
$custom-light: #c87497;
$custom-dark: #000000;
JSON
{
  "hex": "#ab336e",
  "rgb": {
    "r": 171,
    "g": 51,
    "b": 110
  },
  "hsl": {
    "h": 330.5,
    "s": 54.054,
    "l": 43.529
  },
  "oklch": {
    "l": 0.51704,
    "c": 0.16494,
    "h": 354.3
  },
  "luminance": 0.12151
}

Semantic roles & 50–950 ramp

primary
#AB336E
secondary
#78C29E
accent
#DD954A
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14090D
muted
#827B7E

Preview Lab

Preview with #AB336E

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

Preview Lab → · Contrast checker → · Palette generator →

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