#C74FA4#C74FA4

#C74FA4 is a mid, vivid pink. Relative luminance 0.204; OKLCH L 61.2% C 0.180 H 340.7°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#C74FA4
RGBrgb(199, 79, 164)
HSLhsl(318, 52%, 55%)
HSVhsv(318, 60%, 78%)
CMYKcmyk(0%, 60.3%, 17.6%, 22%)
CIE-LABlab(52.31, 57.18, -22.19)
CIE-LCHlch(52.31, 61.34, 338.79°)
OKLaboklab(61.24% 0.1698 -0.0596)
OKLCHoklch(61.24% 0.18 340.7)
XYZxyz(33.0507, 20.4173, 37.3150)
Luminance0.2041 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C74FA4 #4FC772
analogous
#AE4FC7 #C74FA4 #C74F68
triadic
#C74FA4 #A4C74F #4FA4C7
tetradic
#C74FA4 #C7AE4F #4FC772 #4F68C7
square
#C74FA4 #C7AE4F #4FC772 #4F68C7
split-complementary
#C74FA4 #68C74F #4FC7AE
monochromatic
#76265F #A43484 #C74FA4 #D67DBC #E5ACD4

Accessibility & contrast

On white

4.13
#C74FA4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#C74FA4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C74FA4
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C74FA4#FFFFFF#000000##000000
##C74FA41.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5671A7
Deuteranopia (green-blind)
#7984A1
Tritanopia (blue-blind)
#D25172
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #c74fa4;
/* rgb */ color: rgb(199, 79, 164);
/* oklch */ color: oklch(61.2% 0.180 340.7);
Tailwind
colors: {
  custom: {
    50: '#db87bf',
    500: '#c74fa4',
    950: '#000000',
  },
}
SCSS
$custom: #c74fa4;
$custom-light: #db87bf;
$custom-dark: #000000;
JSON
{
  "hex": "#c74fa4",
  "rgb": {
    "r": 199,
    "g": 79,
    "b": 164
  },
  "hsl": {
    "h": 317.5,
    "s": 51.724,
    "l": 54.51
  },
  "oklch": {
    "l": 0.61237,
    "c": 0.17991,
    "h": 340.7
  },
  "luminance": 0.20414
}

Semantic roles & 50–950 ramp

primary
#C74FA4
secondary
#A0D2AE
accent
#DB764D
background
#FDF8FB
surface
#FBF0F7
border
#D4CBD0
text
#150C12
muted
#837D81

Preview Lab

Preview with #C74FA4

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

Preview Lab → · Contrast checker → · Palette generator →

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