#AB2A75#AB2A75

#AB2A75 is a mid, vivid pink. Relative luminance 0.116; OKLCH L 51.1% C 0.179 H 349.8°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#AB2A75
RGBrgb(171, 42, 117)
HSLhsl(325, 61%, 42%)
HSVhsv(325, 75%, 67%)
CMYKcmyk(0%, 75.4%, 31.6%, 32.9%)
CIE-LABlab(40.57, 57.62, -12.16)
CIE-LCHlch(40.57, 58.89, 348.08°)
OKLaboklab(51.14% 0.1761 -0.0318)
OKLCHoklch(51.14% 0.179 349.8)
XYZxyz(20.8346, 11.6006, 17.9681)
Luminance0.1160 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2A75 #2AAB60
analogous
#A12AAB #AB2A75 #AB2A35
triadic
#AB2A75 #75AB2A #2A75AB
tetradic
#AB2A75 #ABA12A #2AAB60 #2A35AB
square
#AB2A75 #ABA12A #2AAB60 #2A35AB
split-complementary
#AB2A75 #35AB2A #2AABA1
monochromatic
#491232 #7A1E53 #AB2A75 #D14295 #DD73B0

Accessibility & contrast

On white

6.33
#AB2A75 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#AB2A75 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2A75
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2A75#FFFFFF#000000##FFFFFF
##AB2A751.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5177
Deuteranopia (green-blind)
#656872
Tritanopia (blue-blind)
#B8224C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #ab2a75;
/* rgb */ color: rgb(171, 42, 117);
/* oklch */ color: oklch(51.1% 0.179 349.8);
Tailwind
colors: {
  custom: {
    50: '#c8709c',
    500: '#ab2a75',
    950: '#000000',
  },
}
SCSS
$custom: #ab2a75;
$custom-light: #c8709c;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2a75",
  "rgb": {
    "r": 171,
    "g": 42,
    "b": 117
  },
  "hsl": {
    "h": 325.116,
    "s": 60.563,
    "l": 41.765
  },
  "oklch": {
    "l": 0.51139,
    "c": 0.17893,
    "h": 349.8
  },
  "luminance": 0.11598
}

Semantic roles & 50–950 ramp

primary
#AB2A75
secondary
#6DC491
accent
#E48744
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14080E
muted
#827B7E

Preview Lab

Preview with #AB2A75

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

Preview Lab → · Contrast checker → · Palette generator →

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