#AB2970#AB2970

#AB2970 is a mid, vivid pink. Relative luminance 0.114; OKLCH L 50.9% C 0.178 H 352.1°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#AB2970
RGBrgb(171, 41, 112)
HSLhsl(327, 61%, 42%)
HSVhsv(327, 76%, 67%)
CMYKcmyk(0%, 76%, 34.5%, 32.9%)
CIE-LABlab(40.27, 57.36, -9.50)
CIE-LCHlch(40.27, 58.14, 350.60°)
OKLaboklab(50.86% 0.1758 -0.0245)
OKLCHoklch(50.86% 0.178 352.1)
XYZxyz(20.5134, 11.4161, 16.4494)
Luminance0.1141 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2970 #29AB64
analogous
#A529AB #AB2970 #AB292F
triadic
#AB2970 #70AB29 #2970AB
tetradic
#AB2970 #ABA529 #29AB64 #292FAB
square
#AB2970 #ABA529 #29AB64 #292FAB
split-complementary
#AB2970 #2FAB29 #29ABA5
monochromatic
#48112F #7A1D50 #AB2970 #D1408F #DD71AC

Accessibility & contrast

On white

6.40
#AB2970 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#AB2970 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2970
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2970#FFFFFF#000000##FFFFFF
##AB29701.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415072
Deuteranopia (green-blind)
#66676D
Tritanopia (blue-blind)
#B81D49
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #ab2970;
/* rgb */ color: rgb(171, 41, 112);
/* oklch */ color: oklch(50.9% 0.178 352.1);
Tailwind
colors: {
  custom: {
    50: '#c97099',
    500: '#ab2970',
    950: '#000000',
  },
}
SCSS
$custom: #ab2970;
$custom-light: #c97099;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2970",
  "rgb": {
    "r": 171,
    "g": 41,
    "b": 112
  },
  "hsl": {
    "h": 327.231,
    "s": 61.321,
    "l": 41.569
  },
  "oklch": {
    "l": 0.50857,
    "c": 0.17752,
    "h": 352.1
  },
  "luminance": 0.11414
}

Semantic roles & 50–950 ramp

primary
#AB2970
secondary
#6CC494
accent
#E48C43
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14080D
muted
#827B7E

Preview Lab

Preview with #AB2970

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

Preview Lab → · Contrast checker → · Palette generator →

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