#C5579E#C5579E

#C5579E is a mid, vivid pink. Relative luminance 0.212; OKLCH L 61.7% C 0.162 H 343.4°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#C5579E
RGBrgb(197, 87, 158)
HSLhsl(321, 49%, 56%)
HSVhsv(321, 56%, 77%)
CMYKcmyk(0%, 55.8%, 19.8%, 22.7%)
CIE-LABlab(53.12, 52.08, -17.45)
CIE-LCHlch(53.12, 54.92, 341.48°)
OKLaboklab(61.7% 0.1553 -0.0464)
OKLCHoklch(61.7% 0.162 343.4)
XYZxyz(32.6065, 21.1581, 34.7077)
Luminance0.2115 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5579E #57C57E
analogous
#B557C5 #C5579E #C55767
triadic
#C5579E #9EC557 #579EC5
tetradic
#C5579E #C5B557 #57C57E #5767C5
square
#C5579E #C5B557 #57C57E #5767C5
split-complementary
#C5579E #67C557 #57C5B5
monochromatic
#78295C #A6397F #C5579E #D584B8 #E4B2D3

Accessibility & contrast

On white

4.01
#C5579E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#C5579E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C5579E
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5579E#FFFFFF#000000##000000
##C5579E1.004.015.235.23
#FFFFFF4.011.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F73A0
Deuteranopia (green-blind)
#7E869B
Tritanopia (blue-blind)
#D05773
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #c5579e;
/* rgb */ color: rgb(197, 87, 158);
/* oklch */ color: oklch(61.7% 0.162 343.4);
Tailwind
colors: {
  custom: {
    50: '#d98bba',
    500: '#c5579e',
    950: '#000000',
  },
}
SCSS
$custom: #c5579e;
$custom-light: #d98bba;
$custom-dark: #000000;
JSON
{
  "hex": "#c5579e",
  "rgb": {
    "r": 197,
    "g": 87,
    "b": 158
  },
  "hsl": {
    "h": 321.273,
    "s": 48.673,
    "l": 55.686
  },
  "oklch": {
    "l": 0.61703,
    "c": 0.16214,
    "h": 343.4
  },
  "luminance": 0.21155
}

Semantic roles & 50–950 ramp

primary
#C5579E
secondary
#A5D3B5
accent
#D88050
background
#FDF8FB
surface
#FBF0F6
border
#D4CBD0
text
#150C11
muted
#837D80

Preview Lab

Preview with #C5579E

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

Preview Lab → · Contrast checker → · Palette generator →

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