#AB335A#AB335A

#AB335A is a mid, vivid pink. Relative luminance 0.118; OKLCH L 51.0% C 0.158 H 5.0°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#AB335A
RGBrgb(171, 51, 90)
HSLhsl(341, 54%, 44%)
HSVhsv(341, 70%, 67%)
CMYKcmyk(0%, 70.2%, 47.4%, 32.9%)
CIE-LABlab(40.84, 51.52, 5.14)
CIE-LCHlch(40.84, 51.77, 5.70°)
OKLaboklab(51.05% 0.1574 0.0137)
OKLCHoklch(51.05% 0.158 5)
XYZxyz(19.8255, 11.7663, 10.8980)
Luminance0.1176 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB335A #33AB84
analogous
#AB3396 #AB335A #AB4833
triadic
#AB335A #5AAB33 #335AAB
tetradic
#AB335A #96AB33 #33AB84 #4833AB
square
#AB335A #96AB33 #33AB84 #4833AB
split-complementary
#AB335A #33AB48 #3396AB
monochromatic
#4D1728 #7C2541 #AB335A #CB5078 #D97F9D

Accessibility & contrast

On white

6.26
#AB335A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#AB335A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB335A
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB335A#FFFFFF#000000##FFFFFF
##AB335A1.006.263.356.26
#FFFFFF6.261.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E515B
Deuteranopia (green-blind)
#6E6957
Tritanopia (blue-blind)
#BA1F43
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #ab335a;
/* rgb */ color: rgb(171, 51, 90);
/* oklch */ color: oklch(51.0% 0.158 5.0);
Tailwind
colors: {
  custom: {
    50: '#c97388',
    500: '#ab335a',
    950: '#000000',
  },
}
SCSS
$custom: #ab335a;
$custom-light: #c97388;
$custom-dark: #000000;
JSON
{
  "hex": "#ab335a",
  "rgb": {
    "r": 171,
    "g": 51,
    "b": 90
  },
  "hsl": {
    "h": 340.5,
    "s": 54.054,
    "l": 43.529
  },
  "oklch": {
    "l": 0.51047,
    "c": 0.15794,
    "h": 5
  },
  "luminance": 0.11764
}

Semantic roles & 50–950 ramp

primary
#AB335A
secondary
#78C2AA
accent
#DDAE4A
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#14090B
muted
#837B7C

Preview Lab

Preview with #AB335A

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

Preview Lab → · Contrast checker → · Palette generator →

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