#AB3C8E#AB3C8E

#AB3C8E is a mid, vivid pink. Relative luminance 0.138; OKLCH L 54.0% C 0.172 H 339.6°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#AB3C8E
RGBrgb(171, 60, 142)
HSLhsl(316, 48%, 45%)
HSVhsv(316, 65%, 67%)
CMYKcmyk(0%, 64.9%, 17%, 32.9%)
CIE-LABlab(44.01, 54.24, -22.23)
CIE-LCHlch(44.01, 58.62, 337.71°)
OKLaboklab(53.98% 0.1608 -0.0599)
OKLCHoklch(53.98% 0.172 339.6)
XYZxyz(23.2934, 13.8447, 27.0315)
Luminance0.1384 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3C8E #3CAB59
analogous
#913CAB #AB3C8E #AB3C56
triadic
#AB3C8E #8EAB3C #3C8EAB
tetradic
#AB3C8E #AB913C #3CAB59 #3C56AB
square
#AB3C8E #AB913C #3CAB59 #3C56AB
split-complementary
#AB3C8E #56AB3C #3CAB91
monochromatic
#501C43 #7E2C68 #AB3C8E #C65EAB #D68BC3

Accessibility & contrast

On white

5.57
#AB3C8E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#AB3C8E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3C8E
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3C8E#FFFFFF#000000##FFFFFF
##AB3C8E1.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425D90
Deuteranopia (green-blind)
#646E8B
Tritanopia (blue-blind)
#B53F5F
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #ab3c8e;
/* rgb */ color: rgb(171, 60, 142);
/* oklch */ color: oklch(54.0% 0.172 339.6);
Tailwind
colors: {
  custom: {
    50: '#c779af',
    500: '#ab3c8e',
    950: '#000000',
  },
}
SCSS
$custom: #ab3c8e;
$custom-light: #c779af;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3c8e",
  "rgb": {
    "r": 171,
    "g": 60,
    "b": 142
  },
  "hsl": {
    "h": 315.676,
    "s": 48.052,
    "l": 45.294
  },
  "oklch": {
    "l": 0.53983,
    "c": 0.17158,
    "h": 339.6
  },
  "luminance": 0.13843
}

Semantic roles & 50–950 ramp

primary
#AB3C8E
secondary
#82C192
accent
#D87450
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#130A10
muted
#827C7F

Preview Lab

Preview with #AB3C8E

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

Preview Lab → · Contrast checker → · Palette generator →

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