#C74AA1#C74AA1

#C74AA1 is a mid, vivid pink. Relative luminance 0.196; OKLCH L 60.5% C 0.185 H 341.6°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#C74AA1
RGBrgb(199, 74, 161)
HSLhsl(318, 53%, 54%)
HSVhsv(318, 63%, 78%)
CMYKcmyk(0%, 62.8%, 19.1%, 22%)
CIE-LABlab(51.40, 58.89, -21.82)
CIE-LCHlch(51.40, 62.80, 339.67°)
OKLaboklab(60.53% 0.1756 -0.0585)
OKLCHoklch(60.53% 0.185 341.6)
XYZxyz(32.4358, 19.6158, 35.7893)
Luminance0.1961 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C74AA1 #4AC770
analogous
#AE4AC7 #C74AA1 #C74A62
triadic
#C74AA1 #A1C74A #4AA1C7
tetradic
#C74AA1 #C7AE4A #4AC770 #4A62C7
square
#C74AA1 #C7AE4A #4AC770 #4A62C7
split-complementary
#C74AA1 #62C74A #4AC7AE
monochromatic
#73245B #A23280 #C74AA1 #D579B9 #E4A7D2

Accessibility & contrast

On white

4.27
#C74AA1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#C74AA1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C74AA1
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C74AA1#FFFFFF#000000##000000
##C74AA11.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#536EA4
Deuteranopia (green-blind)
#78829E
Tritanopia (blue-blind)
#D34C6F
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #c74aa1;
/* rgb */ color: rgb(199, 74, 161);
/* oklch */ color: oklch(60.5% 0.185 341.6);
Tailwind
colors: {
  custom: {
    50: '#db84bd',
    500: '#c74aa1',
    950: '#000000',
  },
}
SCSS
$custom: #c74aa1;
$custom-light: #db84bd;
$custom-dark: #000000;
JSON
{
  "hex": "#c74aa1",
  "rgb": {
    "r": 199,
    "g": 74,
    "b": 161
  },
  "hsl": {
    "h": 318.24,
    "s": 52.743,
    "l": 53.529
  },
  "oklch": {
    "l": 0.60531,
    "c": 0.18507,
    "h": 341.6
  },
  "luminance": 0.19613
}

Semantic roles & 50–950 ramp

primary
#C74AA1
secondary
#9CD1AC
accent
#DC784C
background
#FDF8FB
surface
#FBF0F6
border
#D4CBD0
text
#150B12
muted
#837C81

Preview Lab

Preview with #C74AA1

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

Preview Lab → · Contrast checker → · Palette generator →

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