#C5478E#C5478E

#C5478E is a mid, vivid pink. Relative luminance 0.183; OKLCH L 59.1% C 0.176 H 349.0°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#C5478E
RGBrgb(197, 71, 142)
HSLhsl(326, 52%, 53%)
HSVhsv(326, 64%, 77%)
CMYKcmyk(0%, 64%, 27.9%, 22.7%)
CIE-LABlab(49.90, 57.01, -12.86)
CIE-LCHlch(49.90, 58.44, 347.29°)
OKLaboklab(59.13% 0.173 -0.0337)
OKLCHoklch(59.13% 0.176 349)
XYZxyz(30.1630, 18.3329, 27.5360)
Luminance0.1833 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5478E #47C57E
analogous
#BD47C5 #C5478E #C5474F
triadic
#C5478E #8EC547 #478EC5
tetradic
#C5478E #C5BD47 #47C57E #474FC5
square
#C5478E #C5BD47 #47C57E #474FC5
split-complementary
#C5478E #4FC547 #47C5BD
monochromatic
#6F234E #9D326E #C5478E #D476AB #E2A4C7

Accessibility & contrast

On white

4.50
#C5478E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#C5478E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C5478E
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5478E#FFFFFF#000000##000000
##C5478E1.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#576990
Deuteranopia (green-blind)
#7B7F8B
Tritanopia (blue-blind)
#D24264
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #c5478e;
/* rgb */ color: rgb(197, 71, 142);
/* oklch */ color: oklch(59.1% 0.176 349.0);
Tailwind
colors: {
  custom: {
    50: '#da82af',
    500: '#c5478e',
    950: '#000000',
  },
}
SCSS
$custom: #c5478e;
$custom-light: #da82af;
$custom-dark: #000000;
JSON
{
  "hex": "#c5478e",
  "rgb": {
    "r": 197,
    "g": 71,
    "b": 142
  },
  "hsl": {
    "h": 326.19,
    "s": 52.066,
    "l": 52.549
  },
  "oklch": {
    "l": 0.59126,
    "c": 0.17621,
    "h": 349
  },
  "luminance": 0.1833
}

Semantic roles & 50–950 ramp

primary
#C5478E
secondary
#99CFB0
accent
#DC8B4C
background
#FDF8FA
surface
#FBEFF4
border
#D4CACE
text
#150B10
muted
#837C7F

Preview Lab

Preview with #C5478E

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

Preview Lab → · Contrast checker → · Palette generator →

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