#AB2F63#AB2F63

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

Color values

HEX#AB2F63
RGBrgb(171, 47, 99)
HSLhsl(335, 57%, 43%)
HSVhsv(335, 73%, 67%)
CMYKcmyk(0%, 72.5%, 42.1%, 32.9%)
CIE-LABlab(40.56, 53.91, -0.92)
CIE-LCHlch(40.56, 53.91, 359.03°)
OKLaboklab(50.93% 0.1653 -0.0017)
OKLCHoklch(50.93% 0.165 359.4)
XYZxyz(20.0647, 11.5943, 12.9833)
Luminance0.1159 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2F63 #2FAB77
analogous
#AB2FA1 #AB2F63 #AB392F
triadic
#AB2F63 #63AB2F #2F63AB
tetradic
#AB2F63 #A1AB2F #2FAB77 #392FAB
square
#AB2F63 #A1AB2F #2FAB77 #392FAB
split-complementary
#AB2F63 #2FAB39 #2FA1AB
monochromatic
#4B152B #7B2247 #AB2F63 #CD4A81 #DA7AA2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB2F63#FFFFFF#000000##FFFFFF
##AB2F631.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)
#495164
Deuteranopia (green-blind)
#6B6860
Tritanopia (blue-blind)
#B91E45
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #ab2f63;
/* rgb */ color: rgb(171, 47, 99);
/* oklch */ color: oklch(50.9% 0.165 359.4);
Tailwind
colors: {
  custom: {
    50: '#c9728f',
    500: '#ab2f63',
    950: '#000000',
  },
}
SCSS
$custom: #ab2f63;
$custom-light: #c9728f;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2f63",
  "rgb": {
    "r": 171,
    "g": 47,
    "b": 99
  },
  "hsl": {
    "h": 334.839,
    "s": 56.881,
    "l": 42.745
  },
  "oklch": {
    "l": 0.50927,
    "c": 0.16535,
    "h": 359.4
  },
  "luminance": 0.11592
}

Semantic roles & 50–950 ramp

primary
#AB2F63
secondary
#73C3A1
accent
#E0A048
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14080C
muted
#837B7D

Preview Lab

Preview with #AB2F63

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

Preview Lab → · Contrast checker → · Palette generator →

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