#C74C87#C74C87

#C74C87 is a mid, vivid pink. Relative luminance 0.191; OKLCH L 59.7% C 0.167 H 353.6°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#C74C87
RGBrgb(199, 76, 135)
HSLhsl(331, 52%, 54%)
HSVhsv(331, 62%, 78%)
CMYKcmyk(0%, 61.8%, 32.2%, 22%)
CIE-LABlab(50.76, 54.59, -7.35)
CIE-LCHlch(50.76, 55.09, 352.34°)
OKLaboklab(59.75% 0.1663 -0.0187)
OKLCHoklch(59.75% 0.167 353.6)
XYZxyz(30.5123, 19.0635, 24.9897)
Luminance0.1906 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C74C87 #4CC78C
analogous
#C74CC4 #C74C87 #C74F4C
triadic
#C74C87 #87C74C #4C87C7
tetradic
#C74C87 #C4C74C #4CC78C #4F4CC7
square
#C74C87 #C4C74C #4CC78C #4F4CC7
split-complementary
#C74C87 #4CC74F #4CC4C7
monochromatic
#74244B #A33369 #C74C87 #D67BA6 #E4A9C6

Accessibility & contrast

On white

4.36
#C74C87 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#C74C87 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C74C87
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C74C87#FFFFFF#000000##000000
##C74C871.004.364.814.81
#FFFFFF4.361.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F6B89
Deuteranopia (green-blind)
#808184
Tritanopia (blue-blind)
#D54464
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #c74c87;
/* rgb */ color: rgb(199, 76, 135);
/* oklch */ color: oklch(59.7% 0.167 353.6);
Tailwind
colors: {
  custom: {
    50: '#dc85aa',
    500: '#c74c87',
    950: '#000000',
  },
}
SCSS
$custom: #c74c87;
$custom-light: #dc85aa;
$custom-dark: #000000;
JSON
{
  "hex": "#c74c87",
  "rgb": {
    "r": 199,
    "g": 76,
    "b": 135
  },
  "hsl": {
    "h": 331.22,
    "s": 52.34,
    "l": 53.922
  },
  "oklch": {
    "l": 0.59748,
    "c": 0.16738,
    "h": 353.6
  },
  "luminance": 0.1906
}

Semantic roles & 50–950 ramp

primary
#C74C87
secondary
#9DD2B8
accent
#DC974C
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#150B10
muted
#847C7F

Preview Lab

Preview with #C74C87

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

Preview Lab → · Contrast checker → · Palette generator →

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