#C531AC#C531AC

#C531AC is a mid, highly saturated pink. Relative luminance 0.170; OKLCH L 58.4% C 0.222 H 335.9°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#C531AC
RGBrgb(197, 49, 172)
HSLhsl(310, 60%, 48%)
HSVhsv(310, 75%, 77%)
CMYKcmyk(0%, 75.1%, 12.7%, 22.7%)
CIE-LABlab(48.32, 69.03, -33.11)
CIE-LCHlch(48.32, 76.56, 334.37°)
OKLaboklab(58.39% 0.2024 -0.0903)
OKLCHoklch(58.39% 0.222 335.9)
XYZxyz(31.5712, 17.0484, 40.6497)
Luminance0.1704 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C531AC #31C54A
analogous
#9431C5 #C531AC #C53162
triadic
#C531AC #ACC531 #31ACC5
tetradic
#C531AC #C59431 #31C54A #3162C5
square
#C531AC #C59431 #31C54A #3162C5
split-complementary
#C531AC #62C531 #31C594
monochromatic
#631956 #942581 #C531AC #D75DC2 #E38ED4

Accessibility & contrast

On white

4.76
#C531AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#C531AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C531AC
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C531AC#FFFFFF#000000##FFFFFF
##C531AC1.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3365AF
Deuteranopia (green-blind)
#687BA9
Tritanopia (blue-blind)
#CF3C6C
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #c531ac;
/* rgb */ color: rgb(197, 49, 172);
/* oklch */ color: oklch(58.4% 0.222 335.9);
Tailwind
colors: {
  custom: {
    50: '#db79c5',
    500: '#c531ac',
    950: '#000000',
  },
}
SCSS
$custom: #c531ac;
$custom-light: #db79c5;
$custom-dark: #000000;
JSON
{
  "hex": "#c531ac",
  "rgb": {
    "r": 197,
    "g": 49,
    "b": 172
  },
  "hsl": {
    "h": 310.135,
    "s": 60.163,
    "l": 48.235
  },
  "oklch": {
    "l": 0.58388,
    "c": 0.22167,
    "h": 335.9
  },
  "luminance": 0.17045
}

Semantic roles & 50–950 ramp

primary
#C531AC
secondary
#85CD91
accent
#E35F44
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #C531AC

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

Preview Lab → · Contrast checker → · Palette generator →

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