#C74CA5#C74CA5

#C74CA5 is a mid, vivid pink. Relative luminance 0.200; OKLCH L 60.9% C 0.185 H 340.1°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#C74CA5
RGBrgb(199, 76, 165)
HSLhsl(317, 52%, 54%)
HSVhsv(317, 62%, 78%)
CMYKcmyk(0%, 61.8%, 17.1%, 22%)
CIE-LABlab(51.87, 58.62, -23.45)
CIE-LCHlch(51.87, 63.14, 338.20°)
OKLaboklab(60.93% 0.1739 -0.0631)
OKLCHoklch(60.93% 0.185 340.1)
XYZxyz(32.9299, 20.0305, 37.7220)
Luminance0.2003 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C74CA5 #4CC76E
analogous
#AB4CC7 #C74CA5 #C74C68
triadic
#C74CA5 #A5C74C #4CA5C7
tetradic
#C74CA5 #C7AB4C #4CC76E #4C68C7
square
#C74CA5 #C7AB4C #4CC76E #4C68C7
split-complementary
#C74CA5 #68C74C #4CC7AB
monochromatic
#74245E #A33384 #C74CA5 #D67BBC #E4A9D4

Accessibility & contrast

On white

4.20
#C74CA5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#C74CA5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C74CA5
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C74CA5#FFFFFF#000000##000000
##C74CA51.004.205.015.01
#FFFFFF4.201.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#536FA8
Deuteranopia (green-blind)
#7883A2
Tritanopia (blue-blind)
#D24F72
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #c74ca5;
/* rgb */ color: rgb(199, 76, 165);
/* oklch */ color: oklch(60.9% 0.185 340.1);
Tailwind
colors: {
  custom: {
    50: '#db85c0',
    500: '#c74ca5',
    950: '#000000',
  },
}
SCSS
$custom: #c74ca5;
$custom-light: #db85c0;
$custom-dark: #000000;
JSON
{
  "hex": "#c74ca5",
  "rgb": {
    "r": 199,
    "g": 76,
    "b": 165
  },
  "hsl": {
    "h": 316.585,
    "s": 52.34,
    "l": 53.922
  },
  "oklch": {
    "l": 0.60931,
    "c": 0.18494,
    "h": 340.1
  },
  "luminance": 0.20028
}

Semantic roles & 50–950 ramp

primary
#C74CA5
secondary
#9DD2AC
accent
#DC744C
background
#FDF8FB
surface
#FBF0F7
border
#D4CBD0
text
#150C12
muted
#837D81

Preview Lab

Preview with #C74CA5

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

Preview Lab → · Contrast checker → · Palette generator →

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