#C5579D#C5579D

#C5579D is a mid, vivid pink. Relative luminance 0.211; OKLCH L 61.7% C 0.161 H 343.8°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#C5579D
RGBrgb(197, 87, 157)
HSLhsl(322, 49%, 56%)
HSVhsv(322, 56%, 77%)
CMYKcmyk(0%, 55.8%, 20.3%, 22.7%)
CIE-LABlab(53.08, 51.93, -16.91)
CIE-LCHlch(53.08, 54.62, 341.96°)
OKLaboklab(61.66% 0.1551 -0.0449)
OKLCHoklch(61.66% 0.161 343.8)
XYZxyz(32.5208, 21.1238, 34.2563)
Luminance0.2112 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5579D #57C57F
analogous
#B657C5 #C5579D #C55766
triadic
#C5579D #9DC557 #579DC5
tetradic
#C5579D #C5B657 #57C57F #5766C5
square
#C5579D #C5B657 #57C57F #5766C5
split-complementary
#C5579D #66C557 #57C5B6
monochromatic
#78295C #A6397E #C5579D #D584B8 #E4B2D2

Accessibility & contrast

On white

4.02
#C5579D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#C5579D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C5579D
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5579D#FFFFFF#000000##000000
##C5579D1.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#60739F
Deuteranopia (green-blind)
#7E859A
Tritanopia (blue-blind)
#D05773
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #c5579d;
/* rgb */ color: rgb(197, 87, 157);
/* oklch */ color: oklch(61.7% 0.161 343.8);
Tailwind
colors: {
  custom: {
    50: '#d98bba',
    500: '#c5579d',
    950: '#000000',
  },
}
SCSS
$custom: #c5579d;
$custom-light: #d98bba;
$custom-dark: #000000;
JSON
{
  "hex": "#c5579d",
  "rgb": {
    "r": 197,
    "g": 87,
    "b": 157
  },
  "hsl": {
    "h": 321.818,
    "s": 48.673,
    "l": 55.686
  },
  "oklch": {
    "l": 0.61663,
    "c": 0.16148,
    "h": 343.8
  },
  "luminance": 0.21121
}

Semantic roles & 50–950 ramp

primary
#C5579D
secondary
#A5D3B6
accent
#D88150
background
#FDF8FB
surface
#FBF0F6
border
#D4CBD0
text
#150C11
muted
#837D80

Preview Lab

Preview with #C5579D

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

Preview Lab → · Contrast checker → · Palette generator →

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