#C74F8A#C74F8A

#C74F8A is a mid, vivid pink. Relative luminance 0.196; OKLCH L 60.2% C 0.165 H 352.6°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#C74F8A
RGBrgb(199, 79, 138)
HSLhsl(331, 52%, 55%)
HSVhsv(331, 60%, 78%)
CMYKcmyk(0%, 60.3%, 30.7%, 22%)
CIE-LABlab(51.35, 53.64, -8.26)
CIE-LCHlch(51.35, 54.27, 351.25°)
OKLaboklab(60.22% 0.1631 -0.0212)
OKLCHoklch(60.22% 0.165 352.6)
XYZxyz(30.9381, 19.5722, 26.1883)
Luminance0.1957 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C74F8A #4FC78C
analogous
#C74FC6 #C74F8A #C7504F
triadic
#C74F8A #8AC74F #4F8AC7
tetradic
#C74F8A #C6C74F #4FC78C #504FC7
square
#C74F8A #C6C74F #4FC78C #504FC7
split-complementary
#C74F8A #4FC750 #4FC6C7
monochromatic
#76264D #A4346B #C74F8A #D67DA9 #E5ACC8

Accessibility & contrast

On white

4.27
#C74F8A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#C74F8A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C74F8A
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C74F8A#FFFFFF#000000##000000
##C74F8A1.004.274.914.91
#FFFFFF4.271.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#606D8C
Deuteranopia (green-blind)
#818287
Tritanopia (blue-blind)
#D54866
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #c74f8a;
/* rgb */ color: rgb(199, 79, 138);
/* oklch */ color: oklch(60.2% 0.165 352.6);
Tailwind
colors: {
  custom: {
    50: '#dc86ac',
    500: '#c74f8a',
    950: '#000000',
  },
}
SCSS
$custom: #c74f8a;
$custom-light: #dc86ac;
$custom-dark: #000000;
JSON
{
  "hex": "#c74f8a",
  "rgb": {
    "r": 199,
    "g": 79,
    "b": 138
  },
  "hsl": {
    "h": 330.5,
    "s": 51.724,
    "l": 54.51
  },
  "oklch": {
    "l": 0.60217,
    "c": 0.1645,
    "h": 352.6
  },
  "luminance": 0.19569
}

Semantic roles & 50–950 ramp

primary
#C74F8A
secondary
#A0D2B9
accent
#DB954D
background
#FDF8FA
surface
#FBF0F4
border
#D4CBCE
text
#150C10
muted
#837D7F

Preview Lab

Preview with #C74F8A

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

Preview Lab → · Contrast checker → · Palette generator →

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