#C74AA6#C74AA6

#C74AA6 is a mid, vivid pink. Relative luminance 0.198; OKLCH L 60.7% C 0.188 H 339.5°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#C74AA6
RGBrgb(199, 74, 166)
HSLhsl(316, 53%, 54%)
HSVhsv(316, 63%, 78%)
CMYKcmyk(0%, 62.8%, 16.6%, 22%)
CIE-LABlab(51.61, 59.61, -24.45)
CIE-LCHlch(51.61, 64.43, 337.70°)
OKLaboklab(60.75% 0.1766 -0.0659)
OKLCHoklch(60.75% 0.188 339.5)
XYZxyz(32.8856, 19.7957, 38.1580)
Luminance0.1979 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C74AA6 #4AC76B
analogous
#A94AC7 #C74AA6 #C74A67
triadic
#C74AA6 #A6C74A #4AA6C7
tetradic
#C74AA6 #C7A94A #4AC76B #4A67C7
square
#C74AA6 #C7A94A #4AC76B #4A67C7
split-complementary
#C74AA6 #67C74A #4AC7A9
monochromatic
#73245E #A23284 #C74AA6 #D579BD #E4A7D4

Accessibility & contrast

On white

4.24
#C74AA6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#C74AA6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C74AA6
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C74AA6#FFFFFF#000000##000000
##C74AA61.004.244.964.96
#FFFFFF4.241.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#506EA9
Deuteranopia (green-blind)
#7682A3
Tritanopia (blue-blind)
#D24E71
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #c74aa6;
/* rgb */ color: rgb(199, 74, 166);
/* oklch */ color: oklch(60.7% 0.188 339.5);
Tailwind
colors: {
  custom: {
    50: '#db84c0',
    500: '#c74aa6',
    950: '#000000',
  },
}
SCSS
$custom: #c74aa6;
$custom-light: #db84c0;
$custom-dark: #000000;
JSON
{
  "hex": "#c74aa6",
  "rgb": {
    "r": 199,
    "g": 74,
    "b": 166
  },
  "hsl": {
    "h": 315.84,
    "s": 52.743,
    "l": 53.529
  },
  "oklch": {
    "l": 0.60749,
    "c": 0.18845,
    "h": 339.5
  },
  "luminance": 0.19793
}

Semantic roles & 50–950 ramp

primary
#C74AA6
secondary
#9CD1AA
accent
#DC724C
background
#FDF8FB
surface
#FBF0F7
border
#D4CBD0
text
#150B12
muted
#837C81

Preview Lab

Preview with #C74AA6

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

Preview Lab → · Contrast checker → · Palette generator →

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