#AB335C#AB335C

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

Color values

HEX#AB335C
RGBrgb(171, 51, 92)
HSLhsl(340, 54%, 44%)
HSVhsv(340, 70%, 67%)
CMYKcmyk(0%, 70.2%, 46.2%, 32.9%)
CIE-LABlab(40.90, 51.71, 3.97)
CIE-LCHlch(40.90, 51.86, 4.39°)
OKLaboklab(51.11% 0.1581 0.0107)
OKLCHoklch(51.11% 0.158 3.9)
XYZxyz(19.9117, 11.8008, 11.3524)
Luminance0.1180 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB335C #33AB82
analogous
#AB3398 #AB335C #AB4633
triadic
#AB335C #5CAB33 #335CAB
tetradic
#AB335C #98AB33 #33AB82 #4633AB
square
#AB335C #98AB33 #33AB82 #4633AB
split-complementary
#AB335C #33AB46 #3398AB
monochromatic
#4D1729 #7C2543 #AB335C #CB507A #D97F9E

Accessibility & contrast

On white

6.25
#AB335C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#AB335C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB335C
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB335C#FFFFFF#000000##FFFFFF
##AB335C1.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D515D
Deuteranopia (green-blind)
#6D6959
Tritanopia (blue-blind)
#BA2044
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #ab335c;
/* rgb */ color: rgb(171, 51, 92);
/* oklch */ color: oklch(51.1% 0.158 3.9);
Tailwind
colors: {
  custom: {
    50: '#c9748a',
    500: '#ab335c',
    950: '#000000',
  },
}
SCSS
$custom: #ab335c;
$custom-light: #c9748a;
$custom-dark: #000000;
JSON
{
  "hex": "#ab335c",
  "rgb": {
    "r": 171,
    "g": 51,
    "b": 92
  },
  "hsl": {
    "h": 339.5,
    "s": 54.054,
    "l": 43.529
  },
  "oklch": {
    "l": 0.51106,
    "c": 0.15844,
    "h": 3.9
  },
  "luminance": 0.11798
}

Semantic roles & 50–950 ramp

primary
#AB335C
secondary
#78C2A9
accent
#DDAB4A
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14090B
muted
#837B7C

Preview Lab

Preview with #AB335C

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

Preview Lab → · Contrast checker → · Palette generator →

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