#AB2F5E#AB2F5E

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

Color values

HEX#AB2F5E
RGBrgb(171, 47, 94)
HSLhsl(337, 57%, 43%)
HSVhsv(337, 73%, 67%)
CMYKcmyk(0%, 72.5%, 45%, 32.9%)
CIE-LABlab(40.41, 53.41, 2.01)
CIE-LCHlch(40.41, 53.44, 2.15°)
OKLaboklab(50.77% 0.1636 0.0058)
OKLCHoklch(50.77% 0.164 2)
XYZxyz(19.8330, 11.5017, 11.7632)
Luminance0.1150 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2F5E #2FAB7C
analogous
#AB2F9C #AB2F5E #AB3E2F
triadic
#AB2F5E #5EAB2F #2F5EAB
tetradic
#AB2F5E #9CAB2F #2FAB7C #3E2FAB
square
#AB2F5E #9CAB2F #2FAB7C #3E2FAB
split-complementary
#AB2F5E #2FAB3E #2F9CAB
monochromatic
#4B1529 #7B2244 #AB2F5E #CD4A7C #DA7A9F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB2F5E#FFFFFF#000000##FFFFFF
##AB2F5E1.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)
#4A505F
Deuteranopia (green-blind)
#6C685B
Tritanopia (blue-blind)
#BA1B43
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #ab2f5e;
/* rgb */ color: rgb(171, 47, 94);
/* oklch */ color: oklch(50.8% 0.164 2.0);
Tailwind
colors: {
  custom: {
    50: '#c9728b',
    500: '#ab2f5e',
    950: '#000000',
  },
}
SCSS
$custom: #ab2f5e;
$custom-light: #c9728b;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2f5e",
  "rgb": {
    "r": 171,
    "g": 47,
    "b": 94
  },
  "hsl": {
    "h": 337.258,
    "s": 56.881,
    "l": 42.745
  },
  "oklch": {
    "l": 0.50766,
    "c": 0.16371,
    "h": 2
  },
  "luminance": 0.11499
}

Semantic roles & 50–950 ramp

primary
#AB2F5E
secondary
#73C3A5
accent
#E0A648
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14080C
muted
#837B7D

Preview Lab

Preview with #AB2F5E

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

Preview Lab → · Contrast checker → · Palette generator →

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