#AB3161#AB3161

#AB3161 is a mid, vivid pink. Relative luminance 0.117; OKLCH L 51.1% C 0.162 H 0.8°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#AB3161
RGBrgb(171, 49, 97)
HSLhsl(336, 55%, 43%)
HSVhsv(336, 71%, 67%)
CMYKcmyk(0%, 71.3%, 43.3%, 32.9%)
CIE-LABlab(40.77, 52.96, 0.64)
CIE-LCHlch(40.77, 52.97, 0.69°)
OKLaboklab(51.06% 0.1623 0.0023)
OKLCHoklch(51.06% 0.162 0.8)
XYZxyz(20.0520, 11.7201, 12.5132)
Luminance0.1172 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3161 #31AB7B
analogous
#AB319E #AB3161 #AB3E31
triadic
#AB3161 #61AB31 #3161AB
tetradic
#AB3161 #9EAB31 #31AB7B #3E31AB
square
#AB3161 #9EAB31 #31AB7B #3E31AB
split-complementary
#AB3161 #31AB3E #319EAB
monochromatic
#4C162B #7B2346 #AB3161 #CC4D7F #DA7DA1

Accessibility & contrast

On white

6.28
#AB3161 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#AB3161 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3161
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3161#FFFFFF#000000##FFFFFF
##AB31611.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B5162
Deuteranopia (green-blind)
#6C695E
Tritanopia (blue-blind)
#B92045
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #ab3161;
/* rgb */ color: rgb(171, 49, 97);
/* oklch */ color: oklch(51.1% 0.162 0.8);
Tailwind
colors: {
  custom: {
    50: '#c9738d',
    500: '#ab3161',
    950: '#000000',
  },
}
SCSS
$custom: #ab3161;
$custom-light: #c9738d;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3161",
  "rgb": {
    "r": 171,
    "g": 49,
    "b": 97
  },
  "hsl": {
    "h": 336.393,
    "s": 55.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.51057,
    "c": 0.16232,
    "h": 0.8
  },
  "luminance": 0.11718
}

Semantic roles & 50–950 ramp

primary
#AB3161
secondary
#75C2A4
accent
#DFA449
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14090C
muted
#837B7D

Preview Lab

Preview with #AB3161

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

Preview Lab → · Contrast checker → · Palette generator →

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