#AB2B5F#AB2B5F

#AB2B5F is a mid, vivid pink. Relative luminance 0.112; OKLCH L 50.4% C 0.168 H 0.8°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#AB2B5F
RGBrgb(171, 43, 95)
HSLhsl(336, 60%, 42%)
HSVhsv(336, 75%, 67%)
CMYKcmyk(0%, 74.9%, 44.4%, 32.9%)
CIE-LABlab(39.94, 54.91, 0.69)
CIE-LCHlch(39.94, 54.91, 0.72°)
OKLaboklab(50.43% 0.1685 0.0024)
OKLCHoklch(50.43% 0.168 0.8)
XYZxyz(19.7255, 11.2145, 11.9501)
Luminance0.1121 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2B5F #2BAB77
analogous
#AB2B9F #AB2B5F #AB372B
triadic
#AB2B5F #5FAB2B #2B5FAB
tetradic
#AB2B5F #9FAB2B #2BAB77 #372BAB
square
#AB2B5F #9FAB2B #2BAB77 #372BAB
split-complementary
#AB2B5F #2BAB37 #2B9FAB
monochromatic
#491229 #7A1F44 #AB2B5F #D0437C #DC749E

Accessibility & contrast

On white

6.48
#AB2B5F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#AB2B5F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2B5F
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2B5F#FFFFFF#000000##FFFFFF
##AB2B5F1.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484E60
Deuteranopia (green-blind)
#6A675C
Tritanopia (blue-blind)
#BA1541
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #ab2b5f;
/* rgb */ color: rgb(171, 43, 95);
/* oklch */ color: oklch(50.4% 0.168 0.8);
Tailwind
colors: {
  custom: {
    50: '#c9708c',
    500: '#ab2b5f',
    950: '#000000',
  },
}
SCSS
$custom: #ab2b5f;
$custom-light: #c9708c;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2b5f",
  "rgb": {
    "r": 171,
    "g": 43,
    "b": 95
  },
  "hsl": {
    "h": 335.625,
    "s": 59.813,
    "l": 41.961
  },
  "oklch": {
    "l": 0.50427,
    "c": 0.16848,
    "h": 0.8
  },
  "luminance": 0.11212
}

Semantic roles & 50–950 ramp

primary
#AB2B5F
secondary
#6EC4A1
accent
#E3A345
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14080C
muted
#837B7D

Preview Lab

Preview with #AB2B5F

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

Preview Lab → · Contrast checker → · Palette generator →

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