#C74A8D#C74A8D

#C74A8D is a mid, vivid pink. Relative luminance 0.190; OKLCH L 59.7% C 0.173 H 350.4°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#C74A8D
RGBrgb(199, 74, 141)
HSLhsl(328, 53%, 54%)
HSVhsv(328, 63%, 78%)
CMYKcmyk(0%, 62.8%, 29.1%, 22%)
CIE-LABlab(50.65, 56.20, -11.10)
CIE-LCHlch(50.65, 57.29, 348.83°)
OKLaboklab(59.73% 0.1708 -0.0289)
OKLCHoklch(59.73% 0.173 350.4)
XYZxyz(30.8111, 18.9659, 27.2323)
Luminance0.1896 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C74A8D #4AC784
analogous
#C24AC7 #C74A8D #C74A4E
triadic
#C74A8D #8DC74A #4A8DC7
tetradic
#C74A8D #C7C24A #4AC784 #4A4EC7
square
#C74A8D #C7C24A #4AC784 #4A4EC7
split-complementary
#C74A8D #4EC74A #4AC7C2
monochromatic
#73244E #A2326E #C74A8D #D579AA #E4A7C8

Accessibility & contrast

On white

4.38
#C74A8D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#C74A8D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C74A8D
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C74A8D#FFFFFF#000000##000000
##C74A8D1.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B6B8F
Deuteranopia (green-blind)
#7E818A
Tritanopia (blue-blind)
#D54465
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #c74a8d;
/* rgb */ color: rgb(199, 74, 141);
/* oklch */ color: oklch(59.7% 0.173 350.4);
Tailwind
colors: {
  custom: {
    50: '#dc84ae',
    500: '#c74a8d',
    950: '#000000',
  },
}
SCSS
$custom: #c74a8d;
$custom-light: #dc84ae;
$custom-dark: #000000;
JSON
{
  "hex": "#c74a8d",
  "rgb": {
    "r": 199,
    "g": 74,
    "b": 141
  },
  "hsl": {
    "h": 327.84,
    "s": 52.743,
    "l": 53.529
  },
  "oklch": {
    "l": 0.5973,
    "c": 0.17317,
    "h": 350.4
  },
  "luminance": 0.18963
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C74A8D

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

Preview Lab → · Contrast checker → · Palette generator →

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