#AB2E63#AB2E63

#AB2E63 is a mid, vivid pink. Relative luminance 0.115; OKLCH L 50.8% C 0.167 H 359.2°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#AB2E63
RGBrgb(171, 46, 99)
HSLhsl(335, 58%, 43%)
HSVhsv(335, 73%, 67%)
CMYKcmyk(0%, 73.1%, 42.1%, 32.9%)
CIE-LABlab(40.44, 54.27, -1.10)
CIE-LCHlch(40.44, 54.28, 358.83°)
OKLaboklab(50.83% 0.1665 -0.0022)
OKLCHoklch(50.83% 0.167 359.2)
XYZxyz(20.0252, 11.5153, 12.9701)
Luminance0.1151 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2E63 #2EAB76
analogous
#AB2EA2 #AB2E63 #AB372E
triadic
#AB2E63 #63AB2E #2E63AB
tetradic
#AB2E63 #A2AB2E #2EAB76 #372EAB
square
#AB2E63 #A2AB2E #2EAB76 #372EAB
split-complementary
#AB2E63 #2EAB37 #2EA2AB
monochromatic
#4B142B #7B2147 #AB2E63 #CE4881 #DB79A2

Accessibility & contrast

On white

6.36
#AB2E63 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#AB2E63 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2E63
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2E63#FFFFFF#000000##FFFFFF
##AB2E631.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ab2e63;
/* rgb */ color: rgb(171, 46, 99);
/* oklch */ color: oklch(50.8% 0.167 359.2);
Tailwind
colors: {
  custom: {
    50: '#c9718f',
    500: '#ab2e63',
    950: '#000000',
  },
}
SCSS
$custom: #ab2e63;
$custom-light: #c9718f;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2e63",
  "rgb": {
    "r": 171,
    "g": 46,
    "b": 99
  },
  "hsl": {
    "h": 334.56,
    "s": 57.604,
    "l": 42.549
  },
  "oklch": {
    "l": 0.50832,
    "c": 0.1665,
    "h": 359.2
  },
  "luminance": 0.11513
}

Semantic roles & 50–950 ramp

primary
#AB2E63
secondary
#72C3A1
accent
#E1A047
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14080C
muted
#837B7D

Preview Lab

Preview with #AB2E63

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

Preview Lab → · Contrast checker → · Palette generator →

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