#AB3958#AB3958

#AB3958 is a mid, vivid pink. Relative luminance 0.123; OKLCH L 51.6% C 0.150 H 7.6°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#AB3958
RGBrgb(171, 57, 88)
HSLhsl(344, 50%, 45%)
HSVhsv(344, 67%, 67%)
CMYKcmyk(0%, 66.7%, 48.5%, 32.9%)
CIE-LABlab(41.68, 48.90, 7.58)
CIE-LCHlch(41.68, 49.48, 8.82°)
OKLaboklab(51.65% 0.1488 0.0198)
OKLCHoklch(51.65% 0.15 7.6)
XYZxyz(20.0208, 12.2913, 10.5488)
Luminance0.1229 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3958 #39AB8C
analogous
#AB3991 #AB3958 #AB5339
triadic
#AB3958 #58AB39 #3958AB
tetradic
#AB3958 #91AB39 #39AB8C #5339AB
square
#AB3958 #91AB39 #39AB8C #5339AB
split-complementary
#AB3958 #39AB53 #3991AB
monochromatic
#4F1A29 #7D2A40 #AB3958 #C85977 #D7879D

Accessibility & contrast

On white

6.07
#AB3958 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#AB3958 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3958
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3958#FFFFFF#000000##FFFFFF
##AB39581.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#525459
Deuteranopia (green-blind)
#706B55
Tritanopia (blue-blind)
#BA2745
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #ab3958;
/* rgb */ color: rgb(171, 57, 88);
/* oklch */ color: oklch(51.6% 0.150 7.6);
Tailwind
colors: {
  custom: {
    50: '#c97686',
    500: '#ab3958',
    950: '#000000',
  },
}
SCSS
$custom: #ab3958;
$custom-light: #c97686;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3958",
  "rgb": {
    "r": 171,
    "g": 57,
    "b": 88
  },
  "hsl": {
    "h": 343.684,
    "s": 50,
    "l": 44.706
  },
  "oklch": {
    "l": 0.51648,
    "c": 0.15014,
    "h": 7.6
  },
  "luminance": 0.12289
}

Semantic roles & 50–950 ramp

primary
#AB3958
secondary
#7FC1AF
accent
#DAB44E
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#14090B
muted
#837B7C

Preview Lab

Preview with #AB3958

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

Preview Lab → · Contrast checker → · Palette generator →

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