#C74786#C74786

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

Color values

HEX#C74786
RGBrgb(199, 71, 134)
HSLhsl(330, 53%, 53%)
HSVhsv(330, 64%, 78%)
CMYKcmyk(0%, 64.3%, 32.7%, 22%)
CIE-LABlab(49.95, 56.60, -7.96)
CIE-LCHlch(49.95, 57.16, 351.99°)
OKLaboklab(59.13% 0.1727 -0.0204)
OKLCHoklch(59.13% 0.174 353.3)
XYZxyz(30.1111, 18.3731, 24.5103)
Luminance0.1837 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C74786 #47C788
analogous
#C747C6 #C74786 #C74847
triadic
#C74786 #86C747 #4786C7
tetradic
#C74786 #C6C747 #47C788 #4847C7
square
#C74786 #C6C747 #47C788 #4847C7
split-complementary
#C74786 #47C748 #47C6C7
monochromatic
#712249 #A03168 #C74786 #D576A5 #E4A5C4

Accessibility & contrast

On white

4.49
#C74786 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##C74786#FFFFFF#000000##000000
##C747861.004.494.674.67
#FFFFFF4.491.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B6888
Deuteranopia (green-blind)
#7E7F83
Tritanopia (blue-blind)
#D63F61
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #c74786;
/* rgb */ color: rgb(199, 71, 134);
/* oklch */ color: oklch(59.1% 0.174 353.3);
Tailwind
colors: {
  custom: {
    50: '#dc82a9',
    500: '#c74786',
    950: '#000000',
  },
}
SCSS
$custom: #c74786;
$custom-light: #dc82a9;
$custom-dark: #000000;
JSON
{
  "hex": "#c74786",
  "rgb": {
    "r": 199,
    "g": 71,
    "b": 134
  },
  "hsl": {
    "h": 330.469,
    "s": 53.333,
    "l": 52.941
  },
  "oklch": {
    "l": 0.59133,
    "c": 0.17387,
    "h": 353.3
  },
  "luminance": 0.1837
}

Semantic roles & 50–950 ramp

primary
#C74786
secondary
#99D1B5
accent
#DD954B
background
#FEF8FA
surface
#FCEFF4
border
#D5CACE
text
#160B0F
muted
#847C7F

Preview Lab

Preview with #C74786

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

Preview Lab → · Contrast checker → · Palette generator →

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