#AB3167#AB3167

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

Color values

HEX#AB3167
RGBrgb(171, 49, 103)
HSLhsl(333, 55%, 43%)
HSVhsv(333, 71%, 67%)
CMYKcmyk(0%, 71.3%, 39.8%, 32.9%)
CIE-LABlab(40.95, 53.59, -2.85)
CIE-LCHlch(40.95, 53.66, 356.96°)
OKLaboklab(51.26% 0.1643 -0.0068)
OKLCHoklch(51.26% 0.164 357.6)
XYZxyz(20.3425, 11.8363, 14.0427)
Luminance0.1183 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3167 #31AB75
analogous
#AB31A4 #AB3167 #AB3831
triadic
#AB3167 #67AB31 #3167AB
tetradic
#AB3167 #A4AB31 #31AB75 #3831AB
square
#AB3167 #A4AB31 #31AB75 #3831AB
split-complementary
#AB3167 #31AB38 #31A4AB
monochromatic
#4C162E #7B234A #AB3167 #CC4D85 #DA7DA6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB3167#FFFFFF#000000##FFFFFF
##AB31671.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)
#495268
Deuteranopia (green-blind)
#6A6964
Tritanopia (blue-blind)
#B92348
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #ab3167;
/* rgb */ color: rgb(171, 49, 103);
/* oklch */ color: oklch(51.3% 0.164 357.6);
Tailwind
colors: {
  custom: {
    50: '#c97392',
    500: '#ab3167',
    950: '#000000',
  },
}
SCSS
$custom: #ab3167;
$custom-light: #c97392;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3167",
  "rgb": {
    "r": 171,
    "g": 49,
    "b": 103
  },
  "hsl": {
    "h": 333.443,
    "s": 55.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.51257,
    "c": 0.16446,
    "h": 357.6
  },
  "luminance": 0.11834
}

Semantic roles & 50–950 ramp

primary
#AB3167
secondary
#75C2A0
accent
#DF9C49
background
#FCF7F8
surface
#F9EDF0
border
#D2C8CB
text
#14090D
muted
#827B7D

Preview Lab

Preview with #AB3167

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

Preview Lab → · Contrast checker → · Palette generator →

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