#AB2951#AB2951

#AB2951 is a mid, vivid pink. Relative luminance 0.108; OKLCH L 49.8% C 0.167 H 7.7°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#AB2951
RGBrgb(171, 41, 81)
HSLhsl(342, 61%, 42%)
HSVhsv(342, 76%, 67%)
CMYKcmyk(0%, 76%, 52.6%, 32.9%)
CIE-LABlab(39.31, 54.33, 8.66)
CIE-LCHlch(39.31, 55.01, 9.06°)
OKLaboklab(49.84% 0.1655 0.0223)
OKLCHoklch(49.84% 0.167 7.7)
XYZxyz(19.0745, 10.8405, 8.8710)
Luminance0.1084 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2951 #29AB83
analogous
#AB2992 #AB2951 #AB4229
triadic
#AB2951 #51AB29 #2951AB
tetradic
#AB2951 #92AB29 #29AB83 #4229AB
square
#AB2951 #92AB29 #29AB83 #4229AB
split-complementary
#AB2951 #29AB42 #2992AB
monochromatic
#481122 #7A1D3A #AB2951 #D1406D #DD7192

Accessibility & contrast

On white

6.63
#AB2951 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#AB2951 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2951
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2951#FFFFFF#000000##FFFFFF
##AB29511.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4C52
Deuteranopia (green-blind)
#6C664E
Tritanopia (blue-blind)
#BB033A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #ab2951;
/* rgb */ color: rgb(171, 41, 81);
/* oklch */ color: oklch(49.8% 0.167 7.7);
Tailwind
colors: {
  custom: {
    50: '#ca6f81',
    500: '#ab2951',
    950: '#000000',
  },
}
SCSS
$custom: #ab2951;
$custom-light: #ca6f81;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2951",
  "rgb": {
    "r": 171,
    "g": 41,
    "b": 81
  },
  "hsl": {
    "h": 341.538,
    "s": 61.321,
    "l": 41.569
  },
  "oklch": {
    "l": 0.49836,
    "c": 0.167,
    "h": 7.7
  },
  "luminance": 0.10838
}

Semantic roles & 50–950 ramp

primary
#AB2951
secondary
#6CC4A9
accent
#E4B343
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#14080A
muted
#837B7C

Preview Lab

Preview with #AB2951

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

Preview Lab → · Contrast checker → · Palette generator →

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