#AB3175#AB3175

#AB3175 is a mid, vivid pink. Relative luminance 0.121; OKLCH L 51.8% C 0.171 H 350.5°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#AB3175
RGBrgb(171, 49, 117)
HSLhsl(327, 55%, 43%)
HSVhsv(327, 71%, 67%)
CMYKcmyk(0%, 71.3%, 31.6%, 32.9%)
CIE-LABlab(41.44, 55.19, -10.85)
CIE-LCHlch(41.44, 56.24, 348.88°)
OKLaboklab(51.77% 0.1685 -0.0282)
OKLCHoklch(51.77% 0.171 350.5)
XYZxyz(21.1049, 12.1413, 18.0582)
Luminance0.1214 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3175 #31AB67
analogous
#A431AB #AB3175 #AB3138
triadic
#AB3175 #75AB31 #3175AB
tetradic
#AB3175 #ABA431 #31AB67 #3138AB
square
#AB3175 #ABA431 #31AB67 #3138AB
split-complementary
#AB3175 #38AB31 #31ABA4
monochromatic
#4C1634 #7B2354 #AB3175 #CC4D94 #DA7DB1

Accessibility & contrast

On white

6.13
#AB3175 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#AB3175 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3175
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3175#FFFFFF#000000##FFFFFF
##AB31751.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#445477
Deuteranopia (green-blind)
#676A72
Tritanopia (blue-blind)
#B82A4F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #ab3175;
/* rgb */ color: rgb(171, 49, 117);
/* oklch */ color: oklch(51.8% 0.171 350.5);
Tailwind
colors: {
  custom: {
    50: '#c8739c',
    500: '#ab3175',
    950: '#000000',
  },
}
SCSS
$custom: #ab3175;
$custom-light: #c8739c;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3175",
  "rgb": {
    "r": 171,
    "g": 49,
    "b": 117
  },
  "hsl": {
    "h": 326.557,
    "s": 55.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.51772,
    "c": 0.17082,
    "h": 350.5
  },
  "luminance": 0.12139
}

Semantic roles & 50–950 ramp

primary
#AB3175
secondary
#75C297
accent
#DF8B49
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14090E
muted
#827B7E

Preview Lab

Preview with #AB3175

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

Preview Lab → · Contrast checker → · Palette generator →

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