#AB3782#AB3782

#AB3782 is a mid, vivid pink. Relative luminance 0.130; OKLCH L 52.9% C 0.171 H 344.8°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#AB3782
RGBrgb(171, 55, 130)
HSLhsl(321, 51%, 44%)
HSVhsv(321, 68%, 67%)
CMYKcmyk(0%, 67.8%, 24%, 32.9%)
CIE-LABlab(42.77, 54.56, -16.84)
CIE-LCHlch(42.77, 57.10, 342.85°)
OKLaboklab(52.91% 0.1645 -0.0448)
OKLCHoklch(52.91% 0.171 344.8)
XYZxyz(22.1908, 13.0042, 22.4562)
Luminance0.1300 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3782 #37AB60
analogous
#9A37AB #AB3782 #AB3748
triadic
#AB3782 #82AB37 #3782AB
tetradic
#AB3782 #AB9A37 #37AB60 #3748AB
square
#AB3782 #AB9A37 #37AB60 #3748AB
split-complementary
#AB3782 #48AB37 #37AB9A
monochromatic
#4E193C #7D285F #AB3782 #C956A0 #D885BA

Accessibility & contrast

On white

5.83
#AB3782 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#AB3782 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3782
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3782#FFFFFF#000000##FFFFFF
##AB37821.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#435984
Deuteranopia (green-blind)
#666C7F
Tritanopia (blue-blind)
#B63657
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ab3782;
/* rgb */ color: rgb(171, 55, 130);
/* oklch */ color: oklch(52.9% 0.171 344.8);
Tailwind
colors: {
  custom: {
    50: '#c877a6',
    500: '#ab3782',
    950: '#000000',
  },
}
SCSS
$custom: #ab3782;
$custom-light: #c877a6;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3782",
  "rgb": {
    "r": 171,
    "g": 55,
    "b": 130
  },
  "hsl": {
    "h": 321.207,
    "s": 51.327,
    "l": 44.314
  },
  "oklch": {
    "l": 0.52911,
    "c": 0.1705,
    "h": 344.8
  },
  "luminance": 0.13002
}

Semantic roles & 50–950 ramp

primary
#AB3782
secondary
#7CC195
accent
#DB7F4D
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#14090F
muted
#827B7F

Preview Lab

Preview with #AB3782

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

Preview Lab → · Contrast checker → · Palette generator →

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