#C531A0#C531A0

#C531A0 is a mid, highly saturated pink. Relative luminance 0.166; OKLCH L 57.8% C 0.214 H 340.2°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#C531A0
RGBrgb(197, 49, 160)
HSLhsl(315, 60%, 48%)
HSVhsv(315, 75%, 77%)
CMYKcmyk(0%, 75.1%, 18.8%, 22.7%)
CIE-LABlab(47.76, 67.36, -26.88)
CIE-LCHlch(47.76, 72.53, 338.25°)
OKLaboklab(57.8% 0.2011 -0.0726)
OKLCHoklch(57.8% 0.214 340.2)
XYZxyz(30.4703, 16.6081, 34.8519)
Luminance0.1661 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C531A0 #31C556
analogous
#A031C5 #C531A0 #C53156
triadic
#C531A0 #A0C531 #31A0C5
tetradic
#C531A0 #C5A031 #31C556 #3156C5
square
#C531A0 #C5A031 #31C556 #3156C5
split-complementary
#C531A0 #56C531 #31C5A0
monochromatic
#631950 #942578 #C531A0 #D75DB8 #E38ECD

Accessibility & contrast

On white

4.86
#C531A0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#C531A0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C531A0
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C531A0#FFFFFF#000000##FFFFFF
##C531A01.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C62A3
Deuteranopia (green-blind)
#6C7A9D
Tritanopia (blue-blind)
#D13665
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #c531a0;
/* rgb */ color: rgb(197, 49, 160);
/* oklch */ color: oklch(57.8% 0.214 340.2);
Tailwind
colors: {
  custom: {
    50: '#db78bc',
    500: '#c531a0',
    950: '#000000',
  },
}
SCSS
$custom: #c531a0;
$custom-light: #db78bc;
$custom-dark: #000000;
JSON
{
  "hex": "#c531a0",
  "rgb": {
    "r": 197,
    "g": 49,
    "b": 160
  },
  "hsl": {
    "h": 315,
    "s": 60.163,
    "l": 48.235
  },
  "oklch": {
    "l": 0.57804,
    "c": 0.21381,
    "h": 340.2
  },
  "luminance": 0.16605
}

Semantic roles & 50–950 ramp

primary
#C531A0
secondary
#85CD97
accent
#E36C44
background
#FEF7FB
surface
#FCEEF6
border
#D5C9D0
text
#150A12
muted
#847C81

Preview Lab

Preview with #C531A0

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

Preview Lab → · Contrast checker → · Palette generator →

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