#AB2E5E#AB2E5E

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

Color values

HEX#AB2E5E
RGBrgb(171, 46, 94)
HSLhsl(337, 58%, 43%)
HSVhsv(337, 73%, 67%)
CMYKcmyk(0%, 73.1%, 45%, 32.9%)
CIE-LABlab(40.28, 53.77, 1.82)
CIE-LCHlch(40.28, 53.80, 1.94°)
OKLaboklab(50.67% 0.1648 0.0053)
OKLCHoklch(50.67% 0.165 1.8)
XYZxyz(19.7935, 11.4226, 11.7500)
Luminance0.1142 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2E5E #2EAB7B
analogous
#AB2E9D #AB2E5E #AB3C2E
triadic
#AB2E5E #5EAB2E #2E5EAB
tetradic
#AB2E5E #9DAB2E #2EAB7B #3C2EAB
square
#AB2E5E #9DAB2E #2EAB7B #3C2EAB
split-complementary
#AB2E5E #2EAB3C #2E9DAB
monochromatic
#4B1429 #7B2143 #AB2E5E #CE487C #DB799E

Accessibility & contrast

On white

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

On black

3.28
#AB2E5E on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##AB2E5E#FFFFFF#000000##FFFFFF
##AB2E5E1.006.393.286.39
#FFFFFF6.391.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A505F
Deuteranopia (green-blind)
#6B685B
Tritanopia (blue-blind)
#BA1942
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #ab2e5e;
/* rgb */ color: rgb(171, 46, 94);
/* oklch */ color: oklch(50.7% 0.165 1.8);
Tailwind
colors: {
  custom: {
    50: '#c9718b',
    500: '#ab2e5e',
    950: '#000000',
  },
}
SCSS
$custom: #ab2e5e;
$custom-light: #c9718b;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2e5e",
  "rgb": {
    "r": 171,
    "g": 46,
    "b": 94
  },
  "hsl": {
    "h": 336.96,
    "s": 57.604,
    "l": 42.549
  },
  "oklch": {
    "l": 0.50671,
    "c": 0.16486,
    "h": 1.8
  },
  "luminance": 0.1142
}

Semantic roles & 50–950 ramp

primary
#AB2E5E
secondary
#72C3A4
accent
#E1A647
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14080C
muted
#837B7D

Preview Lab

Preview with #AB2E5E

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

Preview Lab → · Contrast checker → · Palette generator →

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