#AB3E8D#AB3E8D

#AB3E8D is a mid, vivid pink. Relative luminance 0.140; OKLCH L 54.2% C 0.168 H 340.1°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#AB3E8D
RGBrgb(171, 62, 141)
HSLhsl(317, 47%, 46%)
HSVhsv(317, 64%, 67%)
CMYKcmyk(0%, 63.7%, 17.5%, 32.9%)
CIE-LABlab(44.27, 53.24, -21.22)
CIE-LCHlch(44.27, 57.31, 338.27°)
OKLaboklab(54.16% 0.158 -0.0571)
OKLCHoklch(54.16% 0.168 340.1)
XYZxyz(23.3254, 14.0283, 26.6734)
Luminance0.1403 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3E8D #3EAB5C
analogous
#923EAB #AB3E8D #AB3E56
triadic
#AB3E8D #8DAB3E #3E8DAB
tetradic
#AB3E8D #AB923E #3EAB5C #3E56AB
square
#AB3E8D #AB923E #3EAB5C #3E56AB
split-complementary
#AB3E8D #56AB3E #3EAB92
monochromatic
#511D43 #7E2E68 #AB3E8D #C661AA #D68EC2

Accessibility & contrast

On white

5.52
#AB3E8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#AB3E8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3E8D
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3E8D#FFFFFF#000000##FFFFFF
##AB3E8D1.005.523.815.52
#FFFFFF5.521.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#445E8F
Deuteranopia (green-blind)
#656F8A
Tritanopia (blue-blind)
#B54160
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #ab3e8d;
/* rgb */ color: rgb(171, 62, 141);
/* oklch */ color: oklch(54.2% 0.168 340.1);
Tailwind
colors: {
  custom: {
    50: '#c77aae',
    500: '#ab3e8d',
    950: '#000000',
  },
}
SCSS
$custom: #ab3e8d;
$custom-light: #c77aae;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3e8d",
  "rgb": {
    "r": 171,
    "g": 62,
    "b": 141
  },
  "hsl": {
    "h": 316.514,
    "s": 46.781,
    "l": 45.686
  },
  "oklch": {
    "l": 0.54163,
    "c": 0.16804,
    "h": 340.1
  },
  "luminance": 0.14026
}

Semantic roles & 50–950 ramp

primary
#AB3E8D
secondary
#84C195
accent
#D67651
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#130A10
muted
#827C7F

Preview Lab

Preview with #AB3E8D

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

Preview Lab → · Contrast checker → · Palette generator →

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