#C74178#C74178

#C74178 is a mid, vivid pink. Relative luminance 0.173; OKLCH L 58.0% C 0.176 H 359.0°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#C74178
RGBrgb(199, 65, 120)
HSLhsl(335, 54%, 52%)
HSVhsv(335, 67%, 78%)
CMYKcmyk(0%, 67.3%, 39.7%, 22%)
CIE-LABlab(48.61, 57.46, -1.49)
CIE-LCHlch(48.61, 57.48, 358.51°)
OKLaboklab(58% 0.1759 -0.0032)
OKLCHoklch(58% 0.176 359)
XYZxyz(28.8356, 17.2822, 19.5829)
Luminance0.1728 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C74178 #41C790
analogous
#C741BB #C74178 #C74D41
triadic
#C74178 #78C741 #4178C7
tetradic
#C74178 #BBC741 #41C790 #4D41C7
square
#C74178 #BBC741 #41C790 #4D41C7
split-complementary
#C74178 #41C74D #41BBC7
monochromatic
#6D2040 #9D2E5C #C74178 #D5709A #E3A0BB

Accessibility & contrast

On white

4.71
#C74178 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#C74178 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C74178
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C74178#FFFFFF#000000##FFFFFF
##C741781.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B6379
Deuteranopia (green-blind)
#7F7D75
Tritanopia (blue-blind)
#D73257
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #c74178;
/* rgb */ color: rgb(199, 65, 120);
/* oklch */ color: oklch(58.0% 0.176 359.0);
Tailwind
colors: {
  custom: {
    50: '#dd7e9e',
    500: '#c74178',
    950: '#000000',
  },
}
SCSS
$custom: #c74178;
$custom-light: #dd7e9e;
$custom-dark: #000000;
JSON
{
  "hex": "#c74178",
  "rgb": {
    "r": 199,
    "g": 65,
    "b": 120
  },
  "hsl": {
    "h": 335.373,
    "s": 54.472,
    "l": 51.765
  },
  "oklch": {
    "l": 0.58002,
    "c": 0.17597,
    "h": 359
  },
  "luminance": 0.17279
}

Semantic roles & 50–950 ramp

primary
#C74178
secondary
#95CFB7
accent
#DEA14A
background
#FEF8F9
surface
#FCEFF2
border
#D5CACC
text
#160B0E
muted
#847C7E

Preview Lab

Preview with #C74178

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

Preview Lab → · Contrast checker → · Palette generator →

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