#C74CA2#C74CA2

#C74CA2 is a mid, vivid pink. Relative luminance 0.199; OKLCH L 60.8% C 0.183 H 341.3°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#C74CA2
RGBrgb(199, 76, 162)
HSLhsl(318, 52%, 54%)
HSVhsv(318, 62%, 78%)
CMYKcmyk(0%, 61.8%, 18.6%, 22%)
CIE-LABlab(51.75, 58.19, -21.87)
CIE-LCHlch(51.75, 62.16, 339.40°)
OKLaboklab(60.8% 0.1732 -0.0586)
OKLCHoklch(60.8% 0.183 341.3)
XYZxyz(32.6600, 19.9225, 36.3008)
Luminance0.1992 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C74CA2 #4CC771
analogous
#AF4CC7 #C74CA2 #C74C65
triadic
#C74CA2 #A2C74C #4CA2C7
tetradic
#C74CA2 #C7AF4C #4CC771 #4C65C7
square
#C74CA2 #C7AF4C #4CC771 #4C65C7
split-complementary
#C74CA2 #65C74C #4CC7AF
monochromatic
#74245C #A33381 #C74CA2 #D67BBA #E4A9D2

Accessibility & contrast

On white

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

On black

4.98
#C74CA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C74CA2
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C74CA2#FFFFFF#000000##000000
##C74CA21.004.214.984.98
#FFFFFF4.211.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#546FA5
Deuteranopia (green-blind)
#79839F
Tritanopia (blue-blind)
#D24E70
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #c74ca2;
/* rgb */ color: rgb(199, 76, 162);
/* oklch */ color: oklch(60.8% 0.183 341.3);
Tailwind
colors: {
  custom: {
    50: '#db85bd',
    500: '#c74ca2',
    950: '#000000',
  },
}
SCSS
$custom: #c74ca2;
$custom-light: #db85bd;
$custom-dark: #000000;
JSON
{
  "hex": "#c74ca2",
  "rgb": {
    "r": 199,
    "g": 76,
    "b": 162
  },
  "hsl": {
    "h": 318.049,
    "s": 52.34,
    "l": 53.922
  },
  "oklch": {
    "l": 0.60801,
    "c": 0.1829,
    "h": 341.3
  },
  "luminance": 0.1992
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C74CA2

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

Preview Lab → · Contrast checker → · Palette generator →

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