#C530AB#C530AB

#C530AB is a mid, highly saturated pink. Relative luminance 0.169; OKLCH L 58.3% C 0.222 H 336.3°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#C530AB
RGBrgb(197, 48, 171)
HSLhsl(310, 61%, 48%)
HSVhsv(310, 76%, 77%)
CMYKcmyk(0%, 75.6%, 13.2%, 22.7%)
CIE-LABlab(48.17, 69.18, -32.76)
CIE-LCHlch(48.17, 76.55, 334.66°)
OKLaboklab(58.26% 0.2032 -0.0893)
OKLCHoklch(58.26% 0.222 336.3)
XYZxyz(31.4341, 16.9274, 40.1320)
Luminance0.1692 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C530AB #30C54A
analogous
#9430C5 #C530AB #C53060
triadic
#C530AB #ABC530 #30ABC5
tetradic
#C530AB #C59430 #30C54A #3060C5
square
#C530AB #C59430 #30C54A #3060C5
split-complementary
#C530AB #60C530 #30C594
monochromatic
#631856 #942480 #C530AB #D75BC1 #E38CD4

Accessibility & contrast

On white

4.79
#C530AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#C530AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C530AB
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C530AB#FFFFFF#000000##FFFFFF
##C530AB1.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3364AE
Deuteranopia (green-blind)
#687AA8
Tritanopia (blue-blind)
#CF3B6B
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #c530ab;
/* rgb */ color: rgb(197, 48, 171);
/* oklch */ color: oklch(58.3% 0.222 336.3);
Tailwind
colors: {
  custom: {
    50: '#db78c4',
    500: '#c530ab',
    950: '#000000',
  },
}
SCSS
$custom: #c530ab;
$custom-light: #db78c4;
$custom-dark: #000000;
JSON
{
  "hex": "#c530ab",
  "rgb": {
    "r": 197,
    "g": 48,
    "b": 171
  },
  "hsl": {
    "h": 310.47,
    "s": 60.816,
    "l": 48.039
  },
  "oklch": {
    "l": 0.58263,
    "c": 0.222,
    "h": 336.3
  },
  "luminance": 0.16924
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C530AB

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

Preview Lab → · Contrast checker → · Palette generator →

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