#C5479E#C5479E

#C5479E is a mid, vivid pink. Relative luminance 0.188; OKLCH L 59.8% C 0.186 H 342.0°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#C5479E
RGBrgb(197, 71, 158)
HSLhsl(319, 52%, 53%)
HSVhsv(319, 64%, 77%)
CMYKcmyk(0%, 64%, 19.8%, 22.7%)
CIE-LABlab(50.51, 59.16, -21.44)
CIE-LCHlch(50.51, 62.93, 340.08°)
OKLaboklab(59.78% 0.1767 -0.0574)
OKLCHoklch(59.78% 0.186 342)
XYZxyz(31.4516, 18.8483, 34.3228)
Luminance0.1885 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5479E #47C56E
analogous
#AD47C5 #C5479E #C5475F
triadic
#C5479E #9EC547 #479EC5
tetradic
#C5479E #C5AD47 #47C56E #475FC5
square
#C5479E #C5AD47 #47C56E #475FC5
split-complementary
#C5479E #5FC547 #47C5AD
monochromatic
#6F2357 #9D327C #C5479E #D476B7 #E2A4CF

Accessibility & contrast

On white

4.40
#C5479E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#C5479E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C5479E
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5479E#FFFFFF#000000##000000
##C5479E1.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#516BA1
Deuteranopia (green-blind)
#76809B
Tritanopia (blue-blind)
#D1486C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #c5479e;
/* rgb */ color: rgb(197, 71, 158);
/* oklch */ color: oklch(59.8% 0.186 342.0);
Tailwind
colors: {
  custom: {
    50: '#da82ba',
    500: '#c5479e',
    950: '#000000',
  },
}
SCSS
$custom: #c5479e;
$custom-light: #da82ba;
$custom-dark: #000000;
JSON
{
  "hex": "#c5479e",
  "rgb": {
    "r": 197,
    "g": 71,
    "b": 158
  },
  "hsl": {
    "h": 318.571,
    "s": 52.066,
    "l": 52.549
  },
  "oklch": {
    "l": 0.59776,
    "c": 0.18583,
    "h": 342
  },
  "luminance": 0.18845
}

Semantic roles & 50–950 ramp

primary
#C5479E
secondary
#99CFA9
accent
#DC794C
background
#FDF8FB
surface
#FBEFF6
border
#D4CAD0
text
#150B11
muted
#837C80

Preview Lab

Preview with #C5479E

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

Preview Lab → · Contrast checker → · Palette generator →

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