#C74A8F#C74A8F

#C74A8F is a mid, vivid pink. Relative luminance 0.190; OKLCH L 59.8% C 0.174 H 349.5°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#C74A8F
RGBrgb(199, 74, 143)
HSLhsl(327, 53%, 54%)
HSVhsv(327, 63%, 78%)
CMYKcmyk(0%, 62.8%, 28.1%, 22%)
CIE-LABlab(50.72, 56.45, -12.19)
CIE-LCHlch(50.72, 57.75, 347.82°)
OKLaboklab(59.81% 0.1713 -0.0318)
OKLCHoklch(59.81% 0.174 349.5)
XYZxyz(30.9612, 19.0260, 28.0231)
Luminance0.1902 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C74A8F #4AC782
analogous
#C04AC7 #C74A8F #C74A50
triadic
#C74A8F #8FC74A #4A8FC7
tetradic
#C74A8F #C7C04A #4AC782 #4A50C7
square
#C74A8F #C7C04A #4AC782 #4A50C7
split-complementary
#C74A8F #50C74A #4AC7C0
monochromatic
#73244F #A23270 #C74A8F #D579AC #E4A7C9

Accessibility & contrast

On white

4.37
#C74A8F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#C74A8F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C74A8F
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C74A8F#FFFFFF#000000##000000
##C74A8F1.004.374.804.80
#FFFFFF4.371.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A6B91
Deuteranopia (green-blind)
#7D818C
Tritanopia (blue-blind)
#D54566
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #c74a8f;
/* rgb */ color: rgb(199, 74, 143);
/* oklch */ color: oklch(59.8% 0.174 349.5);
Tailwind
colors: {
  custom: {
    50: '#dc84af',
    500: '#c74a8f',
    950: '#000000',
  },
}
SCSS
$custom: #c74a8f;
$custom-light: #dc84af;
$custom-dark: #000000;
JSON
{
  "hex": "#c74a8f",
  "rgb": {
    "r": 199,
    "g": 74,
    "b": 143
  },
  "hsl": {
    "h": 326.88,
    "s": 52.743,
    "l": 53.529
  },
  "oklch": {
    "l": 0.59805,
    "c": 0.17423,
    "h": 349.5
  },
  "luminance": 0.19023
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C74A8F

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

Preview Lab → · Contrast checker → · Palette generator →

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