#AB335E#AB335E

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

Color values

HEX#AB335E
RGBrgb(171, 51, 94)
HSLhsl(339, 54%, 44%)
HSVhsv(339, 70%, 67%)
CMYKcmyk(0%, 70.2%, 45%, 32.9%)
CIE-LABlab(40.95, 51.90, 2.79)
CIE-LCHlch(40.95, 51.98, 3.08°)
OKLaboklab(51.17% 0.1588 0.0078)
OKLCHoklch(51.17% 0.159 2.8)
XYZxyz(20.0003, 11.8363, 11.8189)
Luminance0.1183 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB335E #33AB80
analogous
#AB339A #AB335E #AB4433
triadic
#AB335E #5EAB33 #335EAB
tetradic
#AB335E #9AAB33 #33AB80 #4433AB
square
#AB335E #9AAB33 #33AB80 #4433AB
split-complementary
#AB335E #33AB44 #339AAB
monochromatic
#4D172A #7C2544 #AB335E #CB507C #D97FA0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB335E#FFFFFF#000000##FFFFFF
##AB335E1.006.243.376.24
#FFFFFF6.241.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D525F
Deuteranopia (green-blind)
#6D695B
Tritanopia (blue-blind)
#BA2145
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #ab335e;
/* rgb */ color: rgb(171, 51, 94);
/* oklch */ color: oklch(51.2% 0.159 2.8);
Tailwind
colors: {
  custom: {
    50: '#c9748b',
    500: '#ab335e',
    950: '#000000',
  },
}
SCSS
$custom: #ab335e;
$custom-light: #c9748b;
$custom-dark: #000000;
JSON
{
  "hex": "#ab335e",
  "rgb": {
    "r": 171,
    "g": 51,
    "b": 94
  },
  "hsl": {
    "h": 338.5,
    "s": 54.054,
    "l": 43.529
  },
  "oklch": {
    "l": 0.51167,
    "c": 0.159,
    "h": 2.8
  },
  "luminance": 0.11834
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AB335E

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

Preview Lab → · Contrast checker → · Palette generator →

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