#C7478F#C7478F

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

Color values

HEX#C7478F
RGBrgb(199, 71, 143)
HSLhsl(326, 53%, 53%)
HSVhsv(326, 64%, 78%)
CMYKcmyk(0%, 64.3%, 28.1%, 22%)
CIE-LABlab(50.26, 57.71, -12.88)
CIE-LCHlch(50.26, 59.13, 347.42°)
OKLaboklab(59.47% 0.1752 -0.0337)
OKLCHoklch(59.47% 0.178 349.1)
XYZxyz(30.7657, 18.6349, 27.9579)
Luminance0.1863 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7478F #47C77F
analogous
#BF47C7 #C7478F #C7474F
triadic
#C7478F #8FC747 #478FC7
tetradic
#C7478F #C7BF47 #47C77F #474FC7
square
#C7478F #C7BF47 #47C77F #474FC7
split-complementary
#C7478F #4FC747 #47C7BF
monochromatic
#71224F #A0316F #C7478F #D576AC #E4A5C8

Accessibility & contrast

On white

4.44
#C7478F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#C7478F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C7478F
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7478F#FFFFFF#000000##000000
##C7478F1.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#586991
Deuteranopia (green-blind)
#7C808C
Tritanopia (blue-blind)
#D54265
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #c7478f;
/* rgb */ color: rgb(199, 71, 143);
/* oklch */ color: oklch(59.5% 0.178 349.1);
Tailwind
colors: {
  custom: {
    50: '#dc82af',
    500: '#c7478f',
    950: '#000000',
  },
}
SCSS
$custom: #c7478f;
$custom-light: #dc82af;
$custom-dark: #000000;
JSON
{
  "hex": "#c7478f",
  "rgb": {
    "r": 199,
    "g": 71,
    "b": 143
  },
  "hsl": {
    "h": 326.25,
    "s": 53.333,
    "l": 52.941
  },
  "oklch": {
    "l": 0.59465,
    "c": 0.1784,
    "h": 349.1
  },
  "luminance": 0.18632
}

Semantic roles & 50–950 ramp

primary
#C7478F
secondary
#99D1B1
accent
#DD8B4B
background
#FEF8FA
surface
#FCEFF4
border
#D5CACE
text
#150B10
muted
#847C7F

Preview Lab

Preview with #C7478F

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

Preview Lab → · Contrast checker → · Palette generator →

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