#AB2B75#AB2B75

#AB2B75 is a mid, vivid pink. Relative luminance 0.117; OKLCH L 51.2% C 0.178 H 349.9°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#AB2B75
RGBrgb(171, 43, 117)
HSLhsl(325, 60%, 42%)
HSVhsv(325, 75%, 67%)
CMYKcmyk(0%, 74.9%, 31.6%, 32.9%)
CIE-LABlab(40.69, 57.29, -11.98)
CIE-LCHlch(40.69, 58.53, 348.19°)
OKLaboklab(51.22% 0.1751 -0.0313)
OKLCHoklch(51.22% 0.178 349.9)
XYZxyz(20.8705, 11.6724, 17.9801)
Luminance0.1167 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2B75 #2BAB61
analogous
#A12BAB #AB2B75 #AB2B35
triadic
#AB2B75 #75AB2B #2B75AB
tetradic
#AB2B75 #ABA12B #2BAB61 #2B35AB
square
#AB2B75 #ABA12B #2BAB61 #2B35AB
split-complementary
#AB2B75 #35AB2B #2BABA1
monochromatic
#491232 #7A1F54 #AB2B75 #D04395 #DC74B0

Accessibility & contrast

On white

6.30
#AB2B75 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AB2B75
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2B75#FFFFFF#000000##FFFFFF
##AB2B751.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405177
Deuteranopia (green-blind)
#656872
Tritanopia (blue-blind)
#B8234C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #ab2b75;
/* rgb */ color: rgb(171, 43, 117);
/* oklch */ color: oklch(51.2% 0.178 349.9);
Tailwind
colors: {
  custom: {
    50: '#c8719c',
    500: '#ab2b75',
    950: '#000000',
  },
}
SCSS
$custom: #ab2b75;
$custom-light: #c8719c;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2b75",
  "rgb": {
    "r": 171,
    "g": 43,
    "b": 117
  },
  "hsl": {
    "h": 325.313,
    "s": 59.813,
    "l": 41.961
  },
  "oklch": {
    "l": 0.51224,
    "c": 0.17783,
    "h": 349.9
  },
  "luminance": 0.1167
}

Semantic roles & 50–950 ramp

primary
#AB2B75
secondary
#6EC492
accent
#E38845
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14080E
muted
#827B7E

Preview Lab

Preview with #AB2B75

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

Preview Lab → · Contrast checker → · Palette generator →

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