#C74EA3#C74EA3

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

Color values

HEX#C74EA3
RGBrgb(199, 78, 163)
HSLhsl(318, 52%, 54%)
HSVhsv(318, 61%, 78%)
CMYKcmyk(0%, 60.8%, 18.1%, 22%)
CIE-LABlab(52.11, 57.47, -21.91)
CIE-LCHlch(52.11, 61.51, 339.13°)
OKLaboklab(61.08% 0.1709 -0.0588)
OKLCHoklch(61.08% 0.181 341)
XYZxyz(32.8892, 20.2381, 36.8174)
Luminance0.2024 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C74EA3 #4EC772
analogous
#AE4EC7 #C74EA3 #C74E67
triadic
#C74EA3 #A3C74E #4EA3C7
tetradic
#C74EA3 #C7AE4E #4EC772 #4E67C7
square
#C74EA3 #C7AE4E #4EC772 #4E67C7
split-complementary
#C74EA3 #67C74E #4EC7AE
monochromatic
#75255E #A43483 #C74EA3 #D67CBB #E4ABD3

Accessibility & contrast

On white

4.16
#C74EA3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##C74EA3#FFFFFF#000000##000000
##C74EA31.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5670A6
Deuteranopia (green-blind)
#7983A0
Tritanopia (blue-blind)
#D25071
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #c74ea3;
/* rgb */ color: rgb(199, 78, 163);
/* oklch */ color: oklch(61.1% 0.181 341.0);
Tailwind
colors: {
  custom: {
    50: '#db86be',
    500: '#c74ea3',
    950: '#000000',
  },
}
SCSS
$custom: #c74ea3;
$custom-light: #db86be;
$custom-dark: #000000;
JSON
{
  "hex": "#c74ea3",
  "rgb": {
    "r": 199,
    "g": 78,
    "b": 163
  },
  "hsl": {
    "h": 317.851,
    "s": 51.931,
    "l": 54.314
  },
  "oklch": {
    "l": 0.61076,
    "c": 0.18069,
    "h": 341
  },
  "luminance": 0.20235
}

Semantic roles & 50–950 ramp

primary
#C74EA3
secondary
#9FD2AE
accent
#DB774C
background
#FDF8FB
surface
#FBF0F6
border
#D4CBD0
text
#150C12
muted
#837D81

Preview Lab

Preview with #C74EA3

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

Preview Lab → · Contrast checker → · Palette generator →

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