#AB336C#AB336C

#AB336C is a mid, vivid pink. Relative luminance 0.121; OKLCH L 51.6% C 0.164 H 355.3°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#AB336C
RGBrgb(171, 51, 108)
HSLhsl(332, 54%, 44%)
HSVhsv(332, 70%, 67%)
CMYKcmyk(0%, 70.2%, 36.8%, 32.9%)
CIE-LABlab(41.39, 53.38, -5.33)
CIE-LCHlch(41.39, 53.65, 354.30°)
OKLaboklab(51.63% 0.1635 -0.0134)
OKLCHoklch(51.63% 0.164 355.3)
XYZxyz(20.6865, 12.1107, 15.4327)
Luminance0.1211 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB336C #33AB72
analogous
#AB33A8 #AB336C #AB3633
triadic
#AB336C #6CAB33 #336CAB
tetradic
#AB336C #A8AB33 #33AB72 #3633AB
square
#AB336C #A8AB33 #33AB72 #3633AB
split-complementary
#AB336C #33AB36 #33A8AB
monochromatic
#4D1730 #7C254E #AB336C #CB508B #D97FAA

Accessibility & contrast

On white

6.14
#AB336C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#AB336C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB336C
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB336C#FFFFFF#000000##FFFFFF
##AB336C1.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#49536E
Deuteranopia (green-blind)
#6A6A69
Tritanopia (blue-blind)
#B8284B
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #ab336c;
/* rgb */ color: rgb(171, 51, 108);
/* oklch */ color: oklch(51.6% 0.164 355.3);
Tailwind
colors: {
  custom: {
    50: '#c87496',
    500: '#ab336c',
    950: '#000000',
  },
}
SCSS
$custom: #ab336c;
$custom-light: #c87496;
$custom-dark: #000000;
JSON
{
  "hex": "#ab336c",
  "rgb": {
    "r": 171,
    "g": 51,
    "b": 108
  },
  "hsl": {
    "h": 331.5,
    "s": 54.054,
    "l": 43.529
  },
  "oklch": {
    "l": 0.51632,
    "c": 0.16406,
    "h": 355.3
  },
  "luminance": 0.12108
}

Semantic roles & 50–950 ramp

primary
#AB336C
secondary
#78C29F
accent
#DD984A
background
#FCF7F9
surface
#F9EDF1
border
#D2C8CB
text
#14090D
muted
#827B7E

Preview Lab

Preview with #AB336C

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

Preview Lab → · Contrast checker → · Palette generator →

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