#AB4187#AB4187

#AB4187 is a mid, vivid pink. Relative luminance 0.142; OKLCH L 54.3% C 0.160 H 343.3°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#AB4187
RGBrgb(171, 65, 135)
HSLhsl(320, 45%, 46%)
HSVhsv(320, 62%, 67%)
CMYKcmyk(0%, 62%, 21.1%, 32.9%)
CIE-LABlab(44.50, 51.05, -17.23)
CIE-LCHlch(44.50, 53.88, 341.35°)
OKLaboklab(54.25% 0.1528 -0.0459)
OKLCHoklch(54.25% 0.16 343.3)
XYZxyz(23.0587, 14.1899, 24.4415)
Luminance0.1419 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4187 #41AB65
analogous
#9A41AB #AB4187 #AB4152
triadic
#AB4187 #87AB41 #4187AB
tetradic
#AB4187 #AB9A41 #41AB65 #4152AB
square
#AB4187 #AB9A41 #41AB65 #4152AB
split-complementary
#AB4187 #52AB41 #41AB9A
monochromatic
#521F41 #7F3064 #AB4187 #C465A4 #D591BE

Accessibility & contrast

On white

5.47
#AB4187 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#AB4187 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB4187
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4187#FFFFFF#000000##FFFFFF
##AB41871.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A5E89
Deuteranopia (green-blind)
#697084
Tritanopia (blue-blind)
#B5415E
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #ab4187;
/* rgb */ color: rgb(171, 65, 135);
/* oklch */ color: oklch(54.3% 0.160 343.3);
Tailwind
colors: {
  custom: {
    50: '#c77caa',
    500: '#ab4187',
    950: '#000000',
  },
}
SCSS
$custom: #ab4187;
$custom-light: #c77caa;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4187",
  "rgb": {
    "r": 171,
    "g": 65,
    "b": 135
  },
  "hsl": {
    "h": 320.377,
    "s": 44.915,
    "l": 46.275
  },
  "oklch": {
    "l": 0.54251,
    "c": 0.15956,
    "h": 343.3
  },
  "luminance": 0.14188
}

Semantic roles & 50–950 ramp

primary
#AB4187
secondary
#87C19B
accent
#D57F53
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#130A10
muted
#827C7F

Preview Lab

Preview with #AB4187

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

Preview Lab → · Contrast checker → · Palette generator →

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