#C74C8E#C74C8E

#C74C8E is a mid, vivid pink. Relative luminance 0.193; OKLCH L 60.0% C 0.171 H 350.2°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#C74C8E
RGBrgb(199, 76, 142)
HSLhsl(328, 52%, 54%)
HSVhsv(328, 62%, 78%)
CMYKcmyk(0%, 61.8%, 28.6%, 22%)
CIE-LABlab(51.00, 55.47, -11.17)
CIE-LCHlch(51.00, 56.58, 348.62°)
OKLaboklab(60% 0.1684 -0.0291)
OKLCHoklch(60% 0.171 350.2)
XYZxyz(31.0215, 19.2671, 27.6711)
Luminance0.1926 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C74C8E #4CC785
analogous
#C34CC7 #C74C8E #C74C51
triadic
#C74C8E #8EC74C #4C8EC7
tetradic
#C74C8E #C7C34C #4CC785 #4C51C7
square
#C74C8E #C7C34C #4CC785 #4C51C7
split-complementary
#C74C8E #51C74C #4CC7C3
monochromatic
#74244F #A3336F #C74C8E #D67BAB #E4A9C9

Accessibility & contrast

On white

4.33
#C74C8E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#C74C8E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C74C8E
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C74C8E#FFFFFF#000000##000000
##C74C8E1.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C6C90
Deuteranopia (green-blind)
#7E828B
Tritanopia (blue-blind)
#D54767
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #c74c8e;
/* rgb */ color: rgb(199, 76, 142);
/* oklch */ color: oklch(60.0% 0.171 350.2);
Tailwind
colors: {
  custom: {
    50: '#dc85af',
    500: '#c74c8e',
    950: '#000000',
  },
}
SCSS
$custom: #c74c8e;
$custom-light: #dc85af;
$custom-dark: #000000;
JSON
{
  "hex": "#c74c8e",
  "rgb": {
    "r": 199,
    "g": 76,
    "b": 142
  },
  "hsl": {
    "h": 327.805,
    "s": 52.34,
    "l": 53.922
  },
  "oklch": {
    "l": 0.60001,
    "c": 0.17086,
    "h": 350.2
  },
  "luminance": 0.19264
}

Semantic roles & 50–950 ramp

primary
#C74C8E
secondary
#9DD2B5
accent
#DC8F4C
background
#FDF8FA
surface
#FBF0F4
border
#D4CBCE
text
#150B10
muted
#837C7F

Preview Lab

Preview with #C74C8E

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

Preview Lab → · Contrast checker → · Palette generator →

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