#C7478C#C7478C

#C7478C is a mid, vivid pink. Relative luminance 0.185; OKLCH L 59.4% C 0.177 H 350.5°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#C7478C
RGBrgb(199, 71, 140)
HSLhsl(328, 53%, 53%)
HSVhsv(328, 64%, 78%)
CMYKcmyk(0%, 64.3%, 29.6%, 22%)
CIE-LABlab(50.15, 57.34, -11.25)
CIE-LCHlch(50.15, 58.43, 348.90°)
OKLaboklab(59.35% 0.1744 -0.0292)
OKLCHoklch(59.35% 0.177 350.5)
XYZxyz(30.5415, 18.5452, 26.7770)
Luminance0.1854 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7478C #47C782
analogous
#C247C7 #C7478C #C7474C
triadic
#C7478C #8CC747 #478CC7
tetradic
#C7478C #C7C247 #47C782 #474CC7
square
#C7478C #C7C247 #47C782 #474CC7
split-complementary
#C7478C #4CC747 #47C7C2
monochromatic
#71224D #A0316D #C7478C #D576A9 #E4A5C7

Accessibility & contrast

On white

4.46
#C7478C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#C7478C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C7478C
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7478C#FFFFFF#000000##000000
##C7478C1.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#59698E
Deuteranopia (green-blind)
#7D8089
Tritanopia (blue-blind)
#D54163
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #c7478c;
/* rgb */ color: rgb(199, 71, 140);
/* oklch */ color: oklch(59.4% 0.177 350.5);
Tailwind
colors: {
  custom: {
    50: '#dc82ad',
    500: '#c7478c',
    950: '#000000',
  },
}
SCSS
$custom: #c7478c;
$custom-light: #dc82ad;
$custom-dark: #000000;
JSON
{
  "hex": "#c7478c",
  "rgb": {
    "r": 199,
    "g": 71,
    "b": 140
  },
  "hsl": {
    "h": 327.656,
    "s": 53.333,
    "l": 52.941
  },
  "oklch": {
    "l": 0.59352,
    "c": 0.17682,
    "h": 350.5
  },
  "luminance": 0.18542
}

Semantic roles & 50–950 ramp

primary
#C7478C
secondary
#99D1B3
accent
#DD8E4B
background
#FEF8FA
surface
#FCEFF4
border
#D5CACE
text
#150B10
muted
#847C7F

Preview Lab

Preview with #C7478C

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

Preview Lab → · Contrast checker → · Palette generator →

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