#AB335D#AB335D

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

Color values

HEX#AB335D
RGBrgb(171, 51, 93)
HSLhsl(339, 54%, 44%)
HSVhsv(339, 70%, 67%)
CMYKcmyk(0%, 70.2%, 45.6%, 32.9%)
CIE-LABlab(40.93, 51.80, 3.38)
CIE-LCHlch(40.93, 51.91, 3.73°)
OKLaboklab(51.14% 0.1585 0.0093)
OKLCHoklch(51.14% 0.159 3.3)
XYZxyz(19.9557, 11.8184, 11.5841)
Luminance0.1182 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB335D #33AB81
analogous
#AB3399 #AB335D #AB4533
triadic
#AB335D #5DAB33 #335DAB
tetradic
#AB335D #99AB33 #33AB81 #4533AB
square
#AB335D #99AB33 #33AB81 #4533AB
split-complementary
#AB335D #33AB45 #3399AB
monochromatic
#4D172A #7C2543 #AB335D #CB507B #D97F9F

Accessibility & contrast

On white

6.24
#AB335D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AB335D
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB335D#FFFFFF#000000##FFFFFF
##AB335D1.006.243.366.24
#FFFFFF6.241.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D525E
Deuteranopia (green-blind)
#6D695A
Tritanopia (blue-blind)
#BA2144
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #ab335d;
/* rgb */ color: rgb(171, 51, 93);
/* oklch */ color: oklch(51.1% 0.159 3.3);
Tailwind
colors: {
  custom: {
    50: '#c9748a',
    500: '#ab335d',
    950: '#000000',
  },
}
SCSS
$custom: #ab335d;
$custom-light: #c9748a;
$custom-dark: #000000;
JSON
{
  "hex": "#ab335d",
  "rgb": {
    "r": 171,
    "g": 51,
    "b": 93
  },
  "hsl": {
    "h": 339,
    "s": 54.054,
    "l": 43.529
  },
  "oklch": {
    "l": 0.51136,
    "c": 0.15872,
    "h": 3.3
  },
  "luminance": 0.11816
}

Semantic roles & 50–950 ramp

primary
#AB335D
secondary
#78C2A8
accent
#DDAA4A
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14090B
muted
#837B7C

Preview Lab

Preview with #AB335D

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

Preview Lab → · Contrast checker → · Palette generator →

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