#C74CA3#C74CA3

#C74CA3 is a mid, vivid pink. Relative luminance 0.200; OKLCH L 60.8% C 0.184 H 340.9°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#C74CA3
RGBrgb(199, 76, 163)
HSLhsl(318, 52%, 54%)
HSVhsv(318, 62%, 78%)
CMYKcmyk(0%, 61.8%, 18.1%, 22%)
CIE-LABlab(51.79, 58.33, -22.40)
CIE-LCHlch(51.79, 62.48, 338.99°)
OKLaboklab(60.84% 0.1735 -0.0601)
OKLCHoklch(60.84% 0.184 340.9)
XYZxyz(32.7492, 19.9582, 36.7708)
Luminance0.1996 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C74CA3 #4CC770
analogous
#AE4CC7 #C74CA3 #C74C66
triadic
#C74CA3 #A3C74C #4CA3C7
tetradic
#C74CA3 #C7AE4C #4CC770 #4C66C7
square
#C74CA3 #C7AE4C #4CC770 #4C66C7
split-complementary
#C74CA3 #66C74C #4CC7AE
monochromatic
#74245D #A33382 #C74CA3 #D67BBB #E4A9D3

Accessibility & contrast

On white

4.21
#C74CA3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#C74CA3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C74CA3
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C74CA3#FFFFFF#000000##000000
##C74CA31.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#546FA6
Deuteranopia (green-blind)
#7883A0
Tritanopia (blue-blind)
#D24E71
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #c74ca3;
/* rgb */ color: rgb(199, 76, 163);
/* oklch */ color: oklch(60.8% 0.184 340.9);
Tailwind
colors: {
  custom: {
    50: '#db85be',
    500: '#c74ca3',
    950: '#000000',
  },
}
SCSS
$custom: #c74ca3;
$custom-light: #db85be;
$custom-dark: #000000;
JSON
{
  "hex": "#c74ca3",
  "rgb": {
    "r": 199,
    "g": 76,
    "b": 163
  },
  "hsl": {
    "h": 317.561,
    "s": 52.34,
    "l": 53.922
  },
  "oklch": {
    "l": 0.60844,
    "c": 0.18357,
    "h": 340.9
  },
  "luminance": 0.19955
}

Semantic roles & 50–950 ramp

primary
#C74CA3
secondary
#9DD2AD
accent
#DC764C
background
#FDF8FB
surface
#FBF0F6
border
#D4CBD0
text
#150C12
muted
#837D81

Preview Lab

Preview with #C74CA3

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

Preview Lab → · Contrast checker → · Palette generator →

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