#AB2B66#AB2B66

#AB2B66 is a mid, vivid pink. Relative luminance 0.113; OKLCH L 50.7% C 0.171 H 357.2°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#AB2B66
RGBrgb(171, 43, 102)
HSLhsl(332, 60%, 42%)
HSVhsv(332, 75%, 67%)
CMYKcmyk(0%, 74.9%, 40.4%, 32.9%)
CIE-LABlab(40.16, 55.62, -3.40)
CIE-LCHlch(40.16, 55.72, 356.51°)
OKLaboklab(50.66% 0.1708 -0.0082)
OKLCHoklch(50.66% 0.171 357.2)
XYZxyz(20.0581, 11.3475, 13.7018)
Luminance0.1134 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2B66 #2BAB70
analogous
#AB2BA6 #AB2B66 #AB302B
triadic
#AB2B66 #66AB2B #2B66AB
tetradic
#AB2B66 #A6AB2B #2BAB70 #302BAB
square
#AB2B66 #A6AB2B #2BAB70 #302BAB
split-complementary
#AB2B66 #2BAB30 #2BA6AB
monochromatic
#49122C #7A1F49 #AB2B66 #D04384 #DC74A4

Accessibility & contrast

On white

6.42
#AB2B66 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#AB2B66 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2B66
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2B66#FFFFFF#000000##FFFFFF
##AB2B661.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#454F68
Deuteranopia (green-blind)
#696763
Tritanopia (blue-blind)
#B91A45
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #ab2b66;
/* rgb */ color: rgb(171, 43, 102);
/* oklch */ color: oklch(50.7% 0.171 357.2);
Tailwind
colors: {
  custom: {
    50: '#c97091',
    500: '#ab2b66',
    950: '#000000',
  },
}
SCSS
$custom: #ab2b66;
$custom-light: #c97091;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2b66",
  "rgb": {
    "r": 171,
    "g": 43,
    "b": 102
  },
  "hsl": {
    "h": 332.344,
    "s": 59.813,
    "l": 41.961
  },
  "oklch": {
    "l": 0.50661,
    "c": 0.17098,
    "h": 357.2
  },
  "luminance": 0.11345
}

Semantic roles & 50–950 ramp

primary
#AB2B66
secondary
#6EC49C
accent
#E39A45
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14080C
muted
#837B7D

Preview Lab

Preview with #AB2B66

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

Preview Lab → · Contrast checker → · Palette generator →

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