#C74CA7#C74CA7

#C74CA7 is a mid, vivid pink. Relative luminance 0.201; OKLCH L 61.0% C 0.186 H 339.2°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#C74CA7
RGBrgb(199, 76, 167)
HSLhsl(316, 52%, 54%)
HSVhsv(316, 62%, 78%)
CMYKcmyk(0%, 61.8%, 16.1%, 22%)
CIE-LABlab(51.95, 58.92, -24.49)
CIE-LCHlch(51.95, 63.80, 337.43°)
OKLaboklab(61.02% 0.1742 -0.066)
OKLCHoklch(61.02% 0.186 339.2)
XYZxyz(33.1133, 20.1039, 38.6882)
Luminance0.2010 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C74CA7 #4CC76C
analogous
#AA4CC7 #C74CA7 #C74C6A
triadic
#C74CA7 #A7C74C #4CA7C7
tetradic
#C74CA7 #C7AA4C #4CC76C #4C6AC7
square
#C74CA7 #C7AA4C #4CC76C #4C6AC7
split-complementary
#C74CA7 #6AC74C #4CC7AA
monochromatic
#74245F #A33386 #C74CA7 #D67BBE #E4A9D5

Accessibility & contrast

On white

4.18
#C74CA7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#C74CA7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C74CA7
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C74CA7#FFFFFF#000000##000000
##C74CA71.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5270AA
Deuteranopia (green-blind)
#7783A4
Tritanopia (blue-blind)
#D25073
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #c74ca7;
/* rgb */ color: rgb(199, 76, 167);
/* oklch */ color: oklch(61.0% 0.186 339.2);
Tailwind
colors: {
  custom: {
    50: '#db85c1',
    500: '#c74ca7',
    950: '#000000',
  },
}
SCSS
$custom: #c74ca7;
$custom-light: #db85c1;
$custom-dark: #000000;
JSON
{
  "hex": "#c74ca7",
  "rgb": {
    "r": 199,
    "g": 76,
    "b": 167
  },
  "hsl": {
    "h": 315.61,
    "s": 52.34,
    "l": 53.922
  },
  "oklch": {
    "l": 0.61019,
    "c": 0.18632,
    "h": 339.2
  },
  "luminance": 0.20101
}

Semantic roles & 50–950 ramp

primary
#C74CA7
secondary
#9DD2AB
accent
#DC714C
background
#FDF8FB
surface
#FBF0F7
border
#D4CBD0
text
#150C12
muted
#837D81

Preview Lab

Preview with #C74CA7

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

Preview Lab → · Contrast checker → · Palette generator →

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