#AB2D63#AB2D63

#AB2D63 is a mid, vivid pink. Relative luminance 0.114; OKLCH L 50.7% C 0.168 H 359.1°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#AB2D63
RGBrgb(171, 45, 99)
HSLhsl(334, 58%, 42%)
HSVhsv(334, 74%, 67%)
CMYKcmyk(0%, 73.7%, 42.1%, 32.9%)
CIE-LABlab(40.31, 54.62, -1.29)
CIE-LCHlch(40.31, 54.63, 358.65°)
OKLaboklab(50.74% 0.1676 -0.0027)
OKLCHoklch(50.74% 0.168 359.1)
XYZxyz(19.9866, 11.4381, 12.9572)
Luminance0.1144 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2D63 #2DAB75
analogous
#AB2DA2 #AB2D63 #AB362D
triadic
#AB2D63 #63AB2D #2D63AB
tetradic
#AB2D63 #A2AB2D #2DAB75 #362DAB
square
#AB2D63 #A2AB2D #2DAB75 #362DAB
split-complementary
#AB2D63 #2DAB36 #2DA2AB
monochromatic
#4A142B #7B2047 #AB2D63 #CE4781 #DB77A2

Accessibility & contrast

On white

6.39
#AB2D63 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#AB2D63 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2D63
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2D63#FFFFFF#000000##FFFFFF
##AB2D631.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#485064
Deuteranopia (green-blind)
#6A6860
Tritanopia (blue-blind)
#B91B44
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #ab2d63;
/* rgb */ color: rgb(171, 45, 99);
/* oklch */ color: oklch(50.7% 0.168 359.1);
Tailwind
colors: {
  custom: {
    50: '#c9718f',
    500: '#ab2d63',
    950: '#000000',
  },
}
SCSS
$custom: #ab2d63;
$custom-light: #c9718f;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2d63",
  "rgb": {
    "r": 171,
    "g": 45,
    "b": 99
  },
  "hsl": {
    "h": 334.286,
    "s": 58.333,
    "l": 42.353
  },
  "oklch": {
    "l": 0.50739,
    "c": 0.16763,
    "h": 359.1
  },
  "luminance": 0.11436
}

Semantic roles & 50–950 ramp

primary
#AB2D63
secondary
#71C3A0
accent
#E29F46
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14080C
muted
#837B7D

Preview Lab

Preview with #AB2D63

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

Preview Lab → · Contrast checker → · Palette generator →

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