#AB3082#AB3082

#AB3082 is a mid, vivid pink. Relative luminance 0.124; OKLCH L 52.2% C 0.179 H 344.2°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#AB3082
RGBrgb(171, 48, 130)
HSLhsl(320, 56%, 43%)
HSVhsv(320, 72%, 67%)
CMYKcmyk(0%, 71.9%, 24%, 32.9%)
CIE-LABlab(41.82, 57.21, -18.29)
CIE-LCHlch(41.82, 60.06, 342.27°)
OKLaboklab(52.22% 0.1726 -0.0488)
OKLCHoklch(52.22% 0.179 344.2)
XYZxyz(21.8816, 12.3858, 22.3531)
Luminance0.1238 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3082 #30AB59
analogous
#9630AB #AB3082 #AB3044
triadic
#AB3082 #82AB30 #3082AB
tetradic
#AB3082 #AB9630 #30AB59 #3044AB
square
#AB3082 #AB9630 #30AB59 #3044AB
split-complementary
#AB3082 #44AB30 #30AB96
monochromatic
#4B1539 #7B235E #AB3082 #CD4CA2 #DA7BBA

Accessibility & contrast

On white

6.04
#AB3082 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#AB3082 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3082
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3082#FFFFFF#000000##FFFFFF
##AB30821.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D5684
Deuteranopia (green-blind)
#636A7F
Tritanopia (blue-blind)
#B62F55
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ab3082;
/* rgb */ color: rgb(171, 48, 130);
/* oklch */ color: oklch(52.2% 0.179 344.2);
Tailwind
colors: {
  custom: {
    50: '#c873a6',
    500: '#ab3082',
    950: '#000000',
  },
}
SCSS
$custom: #ab3082;
$custom-light: #c873a6;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3082",
  "rgb": {
    "r": 171,
    "g": 48,
    "b": 130
  },
  "hsl": {
    "h": 320,
    "s": 56.164,
    "l": 42.941
  },
  "oklch": {
    "l": 0.5222,
    "c": 0.17939,
    "h": 344.2
  },
  "luminance": 0.12384
}

Semantic roles & 50–950 ramp

primary
#AB3082
secondary
#74C38E
accent
#DF7B48
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#14090F
muted
#827B7F

Preview Lab

Preview with #AB3082

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

Preview Lab → · Contrast checker → · Palette generator →

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