#AB2B74#AB2B74

#AB2B74 is a mid, vivid pink. Relative luminance 0.116; OKLCH L 51.2% C 0.177 H 350.3°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#AB2B74
RGBrgb(171, 43, 116)
HSLhsl(326, 60%, 42%)
HSVhsv(326, 75%, 67%)
CMYKcmyk(0%, 74.9%, 32.2%, 32.9%)
CIE-LABlab(40.65, 57.17, -11.42)
CIE-LCHlch(40.65, 58.30, 348.71°)
OKLaboklab(51.18% 0.1748 -0.0297)
OKLCHoklch(51.18% 0.177 350.3)
XYZxyz(20.8120, 11.6491, 17.6721)
Luminance0.1165 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2B74 #2BAB62
analogous
#A22BAB #AB2B74 #AB2B34
triadic
#AB2B74 #74AB2B #2B74AB
tetradic
#AB2B74 #ABA22B #2BAB62 #2B34AB
square
#AB2B74 #ABA22B #2BAB62 #2B34AB
split-complementary
#AB2B74 #34AB2B #2BABA2
monochromatic
#491232 #7A1F53 #AB2B74 #D04393 #DC74B0

Accessibility & contrast

On white

6.31
#AB2B74 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#AB2B74 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2B74
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2B74#FFFFFF#000000##FFFFFF
##AB2B741.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405176
Deuteranopia (green-blind)
#656871
Tritanopia (blue-blind)
#B8224C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #ab2b74;
/* rgb */ color: rgb(171, 43, 116);
/* oklch */ color: oklch(51.2% 0.177 350.3);
Tailwind
colors: {
  custom: {
    50: '#c8719c',
    500: '#ab2b74',
    950: '#000000',
  },
}
SCSS
$custom: #ab2b74;
$custom-light: #c8719c;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2b74",
  "rgb": {
    "r": 171,
    "g": 43,
    "b": 116
  },
  "hsl": {
    "h": 325.781,
    "s": 59.813,
    "l": 41.961
  },
  "oklch": {
    "l": 0.51184,
    "c": 0.17732,
    "h": 350.3
  },
  "luminance": 0.11647
}

Semantic roles & 50–950 ramp

primary
#AB2B74
secondary
#6EC493
accent
#E38945
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14080E
muted
#827B7E

Preview Lab

Preview with #AB2B74

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

Preview Lab → · Contrast checker → · Palette generator →

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