#C4479E#C4479E

#C4479E is a mid, vivid pink. Relative luminance 0.187; OKLCH L 59.6% C 0.185 H 341.7°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#C4479E
RGBrgb(196, 71, 158)
HSLhsl(318, 51%, 52%)
HSVhsv(318, 64%, 77%)
CMYKcmyk(0%, 63.8%, 19.4%, 23.1%)
CIE-LABlab(50.35, 58.88, -21.70)
CIE-LCHlch(50.35, 62.76, 339.77°)
OKLaboklab(59.63% 0.1757 -0.0582)
OKLCHoklch(59.63% 0.185 341.7)
XYZxyz(31.1906, 18.7137, 34.3106)
Luminance0.1871 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4479E #47C46D
analogous
#AB47C4 #C4479E #C44760
triadic
#C4479E #9EC447 #479EC4
tetradic
#C4479E #C4AB47 #47C46D #4760C4
square
#C4479E #C4AB47 #47C46D #4760C4
split-complementary
#C4479E #60C447 #47C4AB
monochromatic
#6D2357 #9C327C #C4479E #D375B6 #E2A4CF

Accessibility & contrast

On white

4.43
#C4479E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#C4479E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C4479E
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4479E#FFFFFF#000000##000000
##C4479E1.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#506BA1
Deuteranopia (green-blind)
#757F9B
Tritanopia (blue-blind)
#CF496C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #c4479e;
/* rgb */ color: rgb(196, 71, 158);
/* oklch */ color: oklch(59.6% 0.185 341.7);
Tailwind
colors: {
  custom: {
    50: '#d982ba',
    500: '#c4479e',
    950: '#000000',
  },
}
SCSS
$custom: #c4479e;
$custom-light: #d982ba;
$custom-dark: #000000;
JSON
{
  "hex": "#c4479e",
  "rgb": {
    "r": 196,
    "g": 71,
    "b": 158
  },
  "hsl": {
    "h": 318.24,
    "s": 51.44,
    "l": 52.353
  },
  "oklch": {
    "l": 0.59629,
    "c": 0.18509,
    "h": 341.7
  },
  "luminance": 0.18711
}

Semantic roles & 50–950 ramp

primary
#C4479E
secondary
#98CFA9
accent
#DB784D
background
#FDF8FB
surface
#FBEFF6
border
#D4CAD0
text
#150B11
muted
#837C80

Preview Lab

Preview with #C4479E

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

Preview Lab → · Contrast checker → · Palette generator →

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