#C7478E#C7478E

#C7478E is a mid, vivid pink. Relative luminance 0.186; OKLCH L 59.4% C 0.178 H 349.6°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#C7478E
RGBrgb(199, 71, 142)
HSLhsl(327, 53%, 53%)
HSVhsv(327, 64%, 78%)
CMYKcmyk(0%, 64.3%, 28.6%, 22%)
CIE-LABlab(50.22, 57.59, -12.34)
CIE-LCHlch(50.22, 58.89, 347.91°)
OKLaboklab(59.43% 0.1749 -0.0322)
OKLCHoklch(59.43% 0.178 349.6)
XYZxyz(30.6903, 18.6048, 27.5608)
Luminance0.1860 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7478E #47C780
analogous
#C047C7 #C7478E #C7474E
triadic
#C7478E #8EC747 #478EC7
tetradic
#C7478E #C7C047 #47C780 #474EC7
square
#C7478E #C7C047 #47C780 #474EC7
split-complementary
#C7478E #4EC747 #47C7C0
monochromatic
#71224E #A0316E #C7478E #D576AB #E4A5C8

Accessibility & contrast

On white

4.45
#C7478E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#C7478E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C7478E
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7478E#FFFFFF#000000##000000
##C7478E1.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#586990
Deuteranopia (green-blind)
#7C808B
Tritanopia (blue-blind)
#D54264
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #c7478e;
/* rgb */ color: rgb(199, 71, 142);
/* oklch */ color: oklch(59.4% 0.178 349.6);
Tailwind
colors: {
  custom: {
    50: '#dc82af',
    500: '#c7478e',
    950: '#000000',
  },
}
SCSS
$custom: #c7478e;
$custom-light: #dc82af;
$custom-dark: #000000;
JSON
{
  "hex": "#c7478e",
  "rgb": {
    "r": 199,
    "g": 71,
    "b": 142
  },
  "hsl": {
    "h": 326.719,
    "s": 53.333,
    "l": 52.941
  },
  "oklch": {
    "l": 0.59427,
    "c": 0.17787,
    "h": 349.6
  },
  "luminance": 0.18602
}

Semantic roles & 50–950 ramp

primary
#C7478E
secondary
#99D1B2
accent
#DD8C4B
background
#FEF8FA
surface
#FCEFF4
border
#D5CACE
text
#150B10
muted
#847C7F

Preview Lab

Preview with #C7478E

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

Preview Lab → · Contrast checker → · Palette generator →

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