#C74EA4#C74EA4

#C74EA4 is a mid, vivid pink. Relative luminance 0.203; OKLCH L 61.1% C 0.181 H 340.6°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#C74EA4
RGBrgb(199, 78, 164)
HSLhsl(317, 52%, 54%)
HSVhsv(317, 61%, 78%)
CMYKcmyk(0%, 60.8%, 17.6%, 22%)
CIE-LABlab(52.15, 57.62, -22.44)
CIE-LCHlch(52.15, 61.83, 338.72°)
OKLaboklab(61.12% 0.1711 -0.0602)
OKLCHoklch(61.12% 0.181 340.6)
XYZxyz(32.9791, 20.2741, 37.2911)
Luminance0.2027 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C74EA4 #4EC771
analogous
#AD4EC7 #C74EA4 #C74E68
triadic
#C74EA4 #A4C74E #4EA4C7
tetradic
#C74EA4 #C7AD4E #4EC771 #4E68C7
square
#C74EA4 #C7AD4E #4EC771 #4E68C7
split-complementary
#C74EA4 #68C74E #4EC7AD
monochromatic
#75255E #A43484 #C74EA4 #D67CBC #E4ABD4

Accessibility & contrast

On white

4.15
#C74EA4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#C74EA4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C74EA4
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C74EA4#FFFFFF#000000##000000
##C74EA41.004.155.055.05
#FFFFFF4.151.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5570A7
Deuteranopia (green-blind)
#7983A1
Tritanopia (blue-blind)
#D25072
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #c74ea4;
/* rgb */ color: rgb(199, 78, 164);
/* oklch */ color: oklch(61.1% 0.181 340.6);
Tailwind
colors: {
  custom: {
    50: '#db86bf',
    500: '#c74ea4',
    950: '#000000',
  },
}
SCSS
$custom: #c74ea4;
$custom-light: #db86bf;
$custom-dark: #000000;
JSON
{
  "hex": "#c74ea4",
  "rgb": {
    "r": 199,
    "g": 78,
    "b": 164
  },
  "hsl": {
    "h": 317.355,
    "s": 51.931,
    "l": 54.314
  },
  "oklch": {
    "l": 0.61119,
    "c": 0.18137,
    "h": 340.6
  },
  "luminance": 0.20271
}

Semantic roles & 50–950 ramp

primary
#C74EA4
secondary
#9FD2AE
accent
#DB764C
background
#FDF8FB
surface
#FBF0F7
border
#D4CBD0
text
#150C12
muted
#837D81

Preview Lab

Preview with #C74EA4

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

Preview Lab → · Contrast checker → · Palette generator →

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