#AB2982#AB2982

#AB2982 is a mid, vivid pink. Relative luminance 0.119; OKLCH L 51.6% C 0.187 H 343.8°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#AB2982
RGBrgb(171, 41, 130)
HSLhsl(319, 61%, 42%)
HSVhsv(319, 76%, 67%)
CMYKcmyk(0%, 76%, 24%, 32.9%)
CIE-LABlab(40.99, 59.56, -19.57)
CIE-LCHlch(40.99, 62.70, 341.81°)
OKLaboklab(51.61% 0.1799 -0.0523)
OKLCHoklch(51.61% 0.187 343.8)
XYZxyz(21.6176, 11.8578, 22.2651)
Luminance0.1186 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2982 #29AB52
analogous
#9329AB #AB2982 #AB2941
triadic
#AB2982 #82AB29 #2982AB
tetradic
#AB2982 #AB9329 #29AB52 #2941AB
square
#AB2982 #AB9329 #29AB52 #2941AB
split-complementary
#AB2982 #41AB29 #29AB93
monochromatic
#481137 #7A1D5C #AB2982 #D140A3 #DD71BB

Accessibility & contrast

On white

6.23
#AB2982 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#AB2982 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2982
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2982#FFFFFF#000000##FFFFFF
##AB29821.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385384
Deuteranopia (green-blind)
#60687F
Tritanopia (blue-blind)
#B62852
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #ab2982;
/* rgb */ color: rgb(171, 41, 130);
/* oklch */ color: oklch(51.6% 0.187 343.8);
Tailwind
colors: {
  custom: {
    50: '#c870a6',
    500: '#ab2982',
    950: '#000000',
  },
}
SCSS
$custom: #ab2982;
$custom-light: #c870a6;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2982",
  "rgb": {
    "r": 171,
    "g": 41,
    "b": 130
  },
  "hsl": {
    "h": 318.923,
    "s": 61.321,
    "l": 41.569
  },
  "oklch": {
    "l": 0.51613,
    "c": 0.18734,
    "h": 343.8
  },
  "luminance": 0.11856
}

Semantic roles & 50–950 ramp

primary
#AB2982
secondary
#6CC488
accent
#E47643
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#14080F
muted
#827B7F

Preview Lab

Preview with #AB2982

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

Preview Lab → · Contrast checker → · Palette generator →

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