#C531AA#C531AA

#C531AA is a mid, highly saturated pink. Relative luminance 0.170; OKLCH L 58.3% C 0.220 H 336.6°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#C531AA
RGBrgb(197, 49, 170)
HSLhsl(311, 60%, 48%)
HSVhsv(311, 75%, 77%)
CMYKcmyk(0%, 75.1%, 13.7%, 22.7%)
CIE-LABlab(48.22, 68.74, -32.08)
CIE-LCHlch(48.22, 75.86, 334.98°)
OKLaboklab(58.29% 0.2023 -0.0874)
OKLCHoklch(58.29% 0.22 336.6)
XYZxyz(31.3805, 16.9721, 39.6457)
Luminance0.1697 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C531AA #31C54C
analogous
#9631C5 #C531AA #C53160
triadic
#C531AA #AAC531 #31AAC5
tetradic
#C531AA #C59631 #31C54C #3160C5
square
#C531AA #C59631 #31C54C #3160C5
split-complementary
#C531AA #60C531 #31C596
monochromatic
#631955 #942580 #C531AA #D75DC0 #E38ED3

Accessibility & contrast

On white

4.78
#C531AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#C531AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C531AA
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C531AA#FFFFFF#000000##FFFFFF
##C531AA1.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3564AD
Deuteranopia (green-blind)
#697AA7
Tritanopia (blue-blind)
#CF3B6B
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #c531aa;
/* rgb */ color: rgb(197, 49, 170);
/* oklch */ color: oklch(58.3% 0.220 336.6);
Tailwind
colors: {
  custom: {
    50: '#db78c3',
    500: '#c531aa',
    950: '#000000',
  },
}
SCSS
$custom: #c531aa;
$custom-light: #db78c3;
$custom-dark: #000000;
JSON
{
  "hex": "#c531aa",
  "rgb": {
    "r": 197,
    "g": 49,
    "b": 170
  },
  "hsl": {
    "h": 310.946,
    "s": 60.163,
    "l": 48.235
  },
  "oklch": {
    "l": 0.58288,
    "c": 0.22033,
    "h": 336.6
  },
  "luminance": 0.16969
}

Semantic roles & 50–950 ramp

primary
#C531AA
secondary
#85CD92
accent
#E36144
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A12
muted
#837C81

Preview Lab

Preview with #C531AA

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

Preview Lab → · Contrast checker → · Palette generator →

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