#AB3159#AB3159

#AB3159 is a mid, vivid pink. Relative luminance 0.116; OKLCH L 50.8% C 0.160 H 5.1°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#AB3159
RGBrgb(171, 49, 89)
HSLhsl(340, 55%, 43%)
HSVhsv(340, 71%, 67%)
CMYKcmyk(0%, 71.3%, 48%, 32.9%)
CIE-LABlab(40.54, 52.19, 5.34)
CIE-LCHlch(40.54, 52.46, 5.84°)
OKLaboklab(50.81% 0.1594 0.0142)
OKLCHoklch(50.81% 0.16 5.1)
XYZxyz(19.6977, 11.5784, 10.6469)
Luminance0.1158 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3159 #31AB83
analogous
#AB3196 #AB3159 #AB4631
triadic
#AB3159 #59AB31 #3159AB
tetradic
#AB3159 #96AB31 #31AB83 #4631AB
square
#AB3159 #96AB31 #31AB83 #4631AB
split-complementary
#AB3159 #31AB46 #3196AB
monochromatic
#4C1627 #7B2340 #AB3159 #CC4D77 #DA7D9B

Accessibility & contrast

On white

6.33
#AB3159 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#AB3159 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3159
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3159#FFFFFF#000000##FFFFFF
##AB31591.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D505A
Deuteranopia (green-blind)
#6D6856
Tritanopia (blue-blind)
#BA1C41
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #ab3159;
/* rgb */ color: rgb(171, 49, 89);
/* oklch */ color: oklch(50.8% 0.160 5.1);
Tailwind
colors: {
  custom: {
    50: '#c97287',
    500: '#ab3159',
    950: '#000000',
  },
}
SCSS
$custom: #ab3159;
$custom-light: #c97287;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3159",
  "rgb": {
    "r": 171,
    "g": 49,
    "b": 89
  },
  "hsl": {
    "h": 340.328,
    "s": 55.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.50813,
    "c": 0.16005,
    "h": 5.1
  },
  "luminance": 0.11576
}

Semantic roles & 50–950 ramp

primary
#AB3159
secondary
#75C2A9
accent
#DFAE49
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#14090B
muted
#837B7C

Preview Lab

Preview with #AB3159

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

Preview Lab → · Contrast checker → · Palette generator →

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