#C531A7#C531A7

#C531A7 is a mid, highly saturated pink. Relative luminance 0.169; OKLCH L 58.1% C 0.218 H 337.7°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#C531A7
RGBrgb(197, 49, 167)
HSLhsl(312, 60%, 48%)
HSVhsv(312, 75%, 77%)
CMYKcmyk(0%, 75.1%, 15.2%, 22.7%)
CIE-LABlab(48.08, 68.32, -30.53)
CIE-LCHlch(48.08, 74.83, 335.92°)
OKLaboklab(58.14% 0.202 -0.083)
OKLCHoklch(58.14% 0.218 337.7)
XYZxyz(31.1000, 16.8599, 38.1681)
Luminance0.1686 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C531A7 #31C54F
analogous
#9931C5 #C531A7 #C5315D
triadic
#C531A7 #A7C531 #31A7C5
tetradic
#C531A7 #C59931 #31C54F #315DC5
square
#C531A7 #C59931 #31C54F #315DC5
split-complementary
#C531A7 #5DC531 #31C599
monochromatic
#631954 #94257D #C531A7 #D75DBE #E38ED2

Accessibility & contrast

On white

4.80
#C531A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#C531A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C531A7
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C531A7#FFFFFF#000000##FFFFFF
##C531A71.004.804.374.80
#FFFFFF4.801.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3764AA
Deuteranopia (green-blind)
#6A7AA4
Tritanopia (blue-blind)
#D03A69
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #c531a7;
/* rgb */ color: rgb(197, 49, 167);
/* oklch */ color: oklch(58.1% 0.218 337.7);
Tailwind
colors: {
  custom: {
    50: '#db78c1',
    500: '#c531a7',
    950: '#000000',
  },
}
SCSS
$custom: #c531a7;
$custom-light: #db78c1;
$custom-dark: #000000;
JSON
{
  "hex": "#c531a7",
  "rgb": {
    "r": 197,
    "g": 49,
    "b": 167
  },
  "hsl": {
    "h": 312.162,
    "s": 60.163,
    "l": 48.235
  },
  "oklch": {
    "l": 0.5814,
    "c": 0.21834,
    "h": 337.7
  },
  "luminance": 0.16857
}

Semantic roles & 50–950 ramp

primary
#C531A7
secondary
#85CD93
accent
#E36544
background
#FDF7FB
surface
#FBEEF7
border
#D4C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #C531A7

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

Preview Lab → · Contrast checker → · Palette generator →

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