#AB2985#AB2985

#AB2985 is a mid, vivid pink. Relative luminance 0.119; OKLCH L 51.8% C 0.189 H 342.5°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#AB2985
RGBrgb(171, 41, 133)
HSLhsl(318, 61%, 42%)
HSVhsv(318, 76%, 67%)
CMYKcmyk(0%, 76%, 22.2%, 32.9%)
CIE-LABlab(41.12, 59.96, -21.21)
CIE-LCHlch(41.12, 63.60, 340.51°)
OKLaboklab(51.75% 0.1804 -0.0569)
OKLCHoklch(51.75% 0.189 342.5)
XYZxyz(21.8219, 11.9395, 23.3411)
Luminance0.1194 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2985 #29AB4F
analogous
#9029AB #AB2985 #AB2944
triadic
#AB2985 #85AB29 #2985AB
tetradic
#AB2985 #AB9029 #29AB4F #2944AB
square
#AB2985 #AB9029 #29AB4F #2944AB
split-complementary
#AB2985 #44AB29 #29AB90
monochromatic
#481138 #7A1D5F #AB2985 #D140A7 #DD71BE

Accessibility & contrast

On white

6.20
#AB2985 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#AB2985 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2985
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2985#FFFFFF#000000##FFFFFF
##AB29851.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365387
Deuteranopia (green-blind)
#5F6982
Tritanopia (blue-blind)
#B62A54
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #ab2985;
/* rgb */ color: rgb(171, 41, 133);
/* oklch */ color: oklch(51.8% 0.189 342.5);
Tailwind
colors: {
  custom: {
    50: '#c870a8',
    500: '#ab2985',
    950: '#000000',
  },
}
SCSS
$custom: #ab2985;
$custom-light: #c870a8;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2985",
  "rgb": {
    "r": 171,
    "g": 41,
    "b": 133
  },
  "hsl": {
    "h": 317.538,
    "s": 61.321,
    "l": 41.569
  },
  "oklch": {
    "l": 0.51751,
    "c": 0.18917,
    "h": 342.5
  },
  "luminance": 0.11937
}

Semantic roles & 50–950 ramp

primary
#AB2985
secondary
#6CC486
accent
#E47243
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#14080F
muted
#827B7F

Preview Lab

Preview with #AB2985

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

Preview Lab → · Contrast checker → · Palette generator →

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