#C530AC#C530AC

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

Color values

HEX#C530AC
RGBrgb(197, 48, 172)
HSLhsl(310, 61%, 48%)
HSVhsv(310, 76%, 77%)
CMYKcmyk(0%, 75.6%, 12.7%, 22.7%)
CIE-LABlab(48.22, 69.33, -33.28)
CIE-LCHlch(48.22, 76.90, 334.36°)
OKLaboklab(58.31% 0.2033 -0.0908)
OKLCHoklch(58.31% 0.223 335.9)
XYZxyz(31.5298, 16.9657, 40.6359)
Luminance0.1696 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C530AC #30C549
analogous
#9330C5 #C530AC #C53061
triadic
#C530AC #ACC530 #30ACC5
tetradic
#C530AC #C59330 #30C549 #3061C5
square
#C530AC #C59330 #30C549 #3061C5
split-complementary
#C530AC #61C530 #30C593
monochromatic
#631856 #942481 #C530AC #D75BC2 #E38CD5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C530AC#FFFFFF#000000##FFFFFF
##C530AC1.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)
#3264AF
Deuteranopia (green-blind)
#677AA9
Tritanopia (blue-blind)
#CF3C6B
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #c530ac;
/* rgb */ color: rgb(197, 48, 172);
/* oklch */ color: oklch(58.3% 0.223 335.9);
Tailwind
colors: {
  custom: {
    50: '#db78c5',
    500: '#c530ac',
    950: '#000000',
  },
}
SCSS
$custom: #c530ac;
$custom-light: #db78c5;
$custom-dark: #000000;
JSON
{
  "hex": "#c530ac",
  "rgb": {
    "r": 197,
    "g": 48,
    "b": 172
  },
  "hsl": {
    "h": 310.067,
    "s": 60.816,
    "l": 48.039
  },
  "oklch": {
    "l": 0.58313,
    "c": 0.22267,
    "h": 335.9
  },
  "luminance": 0.16963
}

Semantic roles & 50–950 ramp

primary
#C530AC
secondary
#84CD90
accent
#E45F44
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #C530AC

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

Preview Lab → · Contrast checker → · Palette generator →

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