#C74FA8#C74FA8

#C74FA8 is a mid, vivid pink. Relative luminance 0.206; OKLCH L 61.4% C 0.183 H 339.0°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#C74FA8
RGBrgb(199, 79, 168)
HSLhsl(316, 52%, 55%)
HSVhsv(316, 60%, 78%)
CMYKcmyk(0%, 60.3%, 15.6%, 22%)
CIE-LABlab(52.47, 57.77, -24.29)
CIE-LCHlch(52.47, 62.67, 337.20°)
OKLaboklab(61.41% 0.1706 -0.0655)
OKLCHoklch(61.41% 0.183 339)
XYZxyz(33.4176, 20.5640, 39.2474)
Luminance0.2056 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C74FA8 #4FC76E
analogous
#AA4FC7 #C74FA8 #C74F6C
triadic
#C74FA8 #A8C74F #4FA8C7
tetradic
#C74FA8 #C7AA4F #4FC76E #4F6CC7
square
#C74FA8 #C7AA4F #4FC76E #4F6CC7
split-complementary
#C74FA8 #6CC74F #4FC7AA
monochromatic
#762661 #A43488 #C74FA8 #D67DBF #E5ACD6

Accessibility & contrast

On white

4.11
#C74FA8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#C74FA8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C74FA8
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C74FA8#FFFFFF#000000##000000
##C74FA81.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5471AB
Deuteranopia (green-blind)
#7884A5
Tritanopia (blue-blind)
#D25374
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #c74fa8;
/* rgb */ color: rgb(199, 79, 168);
/* oklch */ color: oklch(61.4% 0.183 339.0);
Tailwind
colors: {
  custom: {
    50: '#db87c2',
    500: '#c74fa8',
    950: '#000000',
  },
}
SCSS
$custom: #c74fa8;
$custom-light: #db87c2;
$custom-dark: #000000;
JSON
{
  "hex": "#c74fa8",
  "rgb": {
    "r": 199,
    "g": 79,
    "b": 168
  },
  "hsl": {
    "h": 315.5,
    "s": 51.724,
    "l": 54.51
  },
  "oklch": {
    "l": 0.6141,
    "c": 0.18269,
    "h": 339
  },
  "luminance": 0.20561
}

Semantic roles & 50–950 ramp

primary
#C74FA8
secondary
#A0D2AD
accent
#DB714D
background
#FDF8FB
surface
#FBF0F7
border
#D4CBD0
text
#150C12
muted
#837D81

Preview Lab

Preview with #C74FA8

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

Preview Lab → · Contrast checker → · Palette generator →

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