#AB335F#AB335F

#AB335F is a mid, vivid pink. Relative luminance 0.119; OKLCH L 51.2% C 0.159 H 2.3°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#AB335F
RGBrgb(171, 51, 95)
HSLhsl(338, 54%, 44%)
HSVhsv(338, 70%, 67%)
CMYKcmyk(0%, 70.2%, 44.4%, 32.9%)
CIE-LABlab(40.98, 52.00, 2.21)
CIE-LCHlch(40.98, 52.05, 2.43°)
OKLaboklab(51.2% 0.1592 0.0063)
OKLCHoklch(51.2% 0.159 2.3)
XYZxyz(20.0455, 11.8543, 12.0568)
Luminance0.1185 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB335F #33AB7F
analogous
#AB339B #AB335F #AB4333
triadic
#AB335F #5FAB33 #335FAB
tetradic
#AB335F #9BAB33 #33AB7F #4333AB
square
#AB335F #9BAB33 #33AB7F #4333AB
split-complementary
#AB335F #33AB43 #339BAB
monochromatic
#4D172B #7C2545 #AB335F #CB507D #D97FA0

Accessibility & contrast

On white

6.23
#AB335F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#AB335F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB335F
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB335F#FFFFFF#000000##FFFFFF
##AB335F1.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D5260
Deuteranopia (green-blind)
#6D695C
Tritanopia (blue-blind)
#BA2245
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #ab335f;
/* rgb */ color: rgb(171, 51, 95);
/* oklch */ color: oklch(51.2% 0.159 2.3);
Tailwind
colors: {
  custom: {
    50: '#c9748c',
    500: '#ab335f',
    950: '#000000',
  },
}
SCSS
$custom: #ab335f;
$custom-light: #c9748c;
$custom-dark: #000000;
JSON
{
  "hex": "#ab335f",
  "rgb": {
    "r": 171,
    "g": 51,
    "b": 95
  },
  "hsl": {
    "h": 338,
    "s": 54.054,
    "l": 43.529
  },
  "oklch": {
    "l": 0.51198,
    "c": 0.15929,
    "h": 2.3
  },
  "luminance": 0.11852
}

Semantic roles & 50–950 ramp

primary
#AB335F
secondary
#78C2A7
accent
#DDA84A
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14090C
muted
#837B7D

Preview Lab

Preview with #AB335F

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

Preview Lab → · Contrast checker → · Palette generator →

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