#C74EA7#C74EA7

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

Color values

HEX#C74EA7
RGBrgb(199, 78, 167)
HSLhsl(316, 52%, 54%)
HSVhsv(316, 61%, 78%)
CMYKcmyk(0%, 60.8%, 16.1%, 22%)
CIE-LABlab(52.27, 58.06, -24.01)
CIE-LCHlch(52.27, 62.83, 337.53°)
OKLaboklab(61.25% 0.1717 -0.0647)
OKLCHoklch(61.25% 0.183 339.4)
XYZxyz(33.2533, 20.3837, 38.7348)
Luminance0.2038 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C74EA7 #4EC76E
analogous
#AB4EC7 #C74EA7 #C74E6B
triadic
#C74EA7 #A7C74E #4EA7C7
tetradic
#C74EA7 #C7AB4E #4EC76E #4E6BC7
square
#C74EA7 #C7AB4E #4EC76E #4E6BC7
split-complementary
#C74EA7 #6BC74E #4EC7AB
monochromatic
#752560 #A43486 #C74EA7 #D67CBE #E4ABD5

Accessibility & contrast

On white

4.14
#C74EA7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##C74EA7#FFFFFF#000000##000000
##C74EA71.004.145.085.08
#FFFFFF4.141.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5471AA
Deuteranopia (green-blind)
#7884A4
Tritanopia (blue-blind)
#D25173
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #c74ea7;
/* rgb */ color: rgb(199, 78, 167);
/* oklch */ color: oklch(61.2% 0.183 339.4);
Tailwind
colors: {
  custom: {
    50: '#db86c1',
    500: '#c74ea7',
    950: '#000000',
  },
}
SCSS
$custom: #c74ea7;
$custom-light: #db86c1;
$custom-dark: #000000;
JSON
{
  "hex": "#c74ea7",
  "rgb": {
    "r": 199,
    "g": 78,
    "b": 167
  },
  "hsl": {
    "h": 315.868,
    "s": 51.931,
    "l": 54.314
  },
  "oklch": {
    "l": 0.61249,
    "c": 0.18344,
    "h": 339.4
  },
  "luminance": 0.20381
}

Semantic roles & 50–950 ramp

primary
#C74EA7
secondary
#9FD2AC
accent
#DB724C
background
#FDF8FB
surface
#FBF0F7
border
#D4CBD0
text
#150C12
muted
#837D81

Preview Lab

Preview with #C74EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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