#C74FA3#C74FA3

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

Color values

HEX#C74FA3
RGBrgb(199, 79, 163)
HSLhsl(318, 52%, 55%)
HSVhsv(318, 60%, 78%)
CMYKcmyk(0%, 60.3%, 18.1%, 22%)
CIE-LABlab(52.27, 57.03, -21.67)
CIE-LCHlch(52.27, 61.01, 339.20°)
OKLaboklab(61.19% 0.1696 -0.0581)
OKLCHoklch(61.19% 0.179 341.1)
XYZxyz(32.9608, 20.3813, 36.8413)
Luminance0.2038 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C74FA3 #4FC773
analogous
#AF4FC7 #C74FA3 #C74F67
triadic
#C74FA3 #A3C74F #4FA3C7
tetradic
#C74FA3 #C7AF4F #4FC773 #4F67C7
square
#C74FA3 #C7AF4F #4FC773 #4F67C7
split-complementary
#C74FA3 #67C74F #4FC7AF
monochromatic
#76265E #A43483 #C74FA3 #D67DBB #E5ACD4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C74FA3#FFFFFF#000000##000000
##C74FA31.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)
#5770A6
Deuteranopia (green-blind)
#7A84A0
Tritanopia (blue-blind)
#D25172
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #c74fa3;
/* rgb */ color: rgb(199, 79, 163);
/* oklch */ color: oklch(61.2% 0.179 341.1);
Tailwind
colors: {
  custom: {
    50: '#db87be',
    500: '#c74fa3',
    950: '#000000',
  },
}
SCSS
$custom: #c74fa3;
$custom-light: #db87be;
$custom-dark: #000000;
JSON
{
  "hex": "#c74fa3",
  "rgb": {
    "r": 199,
    "g": 79,
    "b": 163
  },
  "hsl": {
    "h": 318,
    "s": 51.724,
    "l": 54.51
  },
  "oklch": {
    "l": 0.61194,
    "c": 0.17923,
    "h": 341.1
  },
  "luminance": 0.20378
}

Semantic roles & 50–950 ramp

primary
#C74FA3
secondary
#A0D2AF
accent
#DB774D
background
#FDF8FB
surface
#FBF0F6
border
#D4CBD0
text
#150C12
muted
#837D81

Preview Lab

Preview with #C74FA3

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

Preview Lab → · Contrast checker → · Palette generator →

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