#AB3366#AB3366

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

Color values

HEX#AB3366
RGBrgb(171, 51, 102)
HSLhsl(335, 54%, 44%)
HSVhsv(335, 70%, 67%)
CMYKcmyk(0%, 70.2%, 40.4%, 32.9%)
CIE-LABlab(41.20, 52.72, -1.87)
CIE-LCHlch(41.20, 52.76, 357.97°)
OKLaboklab(51.42% 0.1616 -0.0042)
OKLCHoklch(51.42% 0.162 358.5)
XYZxyz(20.3781, 11.9874, 13.8085)
Luminance0.1198 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3366 #33AB78
analogous
#AB33A2 #AB3366 #AB3C33
triadic
#AB3366 #66AB33 #3366AB
tetradic
#AB3366 #A2AB33 #33AB78 #3C33AB
square
#AB3366 #A2AB33 #33AB78 #3C33AB
split-complementary
#AB3366 #33AB3C #33A2AB
monochromatic
#4D172E #7C254A #AB3366 #CB5084 #D97FA5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB3366#FFFFFF#000000##FFFFFF
##AB33661.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)
#4B5367
Deuteranopia (green-blind)
#6B6963
Tritanopia (blue-blind)
#B92548
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #ab3366;
/* rgb */ color: rgb(171, 51, 102);
/* oklch */ color: oklch(51.4% 0.162 358.5);
Tailwind
colors: {
  custom: {
    50: '#c97491',
    500: '#ab3366',
    950: '#000000',
  },
}
SCSS
$custom: #ab3366;
$custom-light: #c97491;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3366",
  "rgb": {
    "r": 171,
    "g": 51,
    "b": 102
  },
  "hsl": {
    "h": 334.5,
    "s": 54.054,
    "l": 43.529
  },
  "oklch": {
    "l": 0.51424,
    "c": 0.16164,
    "h": 358.5
  },
  "luminance": 0.11985
}

Semantic roles & 50–950 ramp

primary
#AB3366
secondary
#78C2A2
accent
#DD9F4A
background
#FCF7F8
surface
#F9EDF0
border
#D2C8CB
text
#14090C
muted
#827B7D

Preview Lab

Preview with #AB3366

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

Preview Lab → · Contrast checker → · Palette generator →

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