#C74AA8#C74AA8

#C74AA8 is a mid, vivid pink. Relative luminance 0.199; OKLCH L 60.8% C 0.190 H 338.7°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#C74AA8
RGBrgb(199, 74, 168)
HSLhsl(315, 53%, 54%)
HSVhsv(315, 63%, 78%)
CMYKcmyk(0%, 62.8%, 15.6%, 22%)
CIE-LABlab(51.69, 59.91, -25.49)
CIE-LCHlch(51.69, 65.10, 336.95°)
OKLaboklab(60.84% 0.1769 -0.0688)
OKLCHoklch(60.84% 0.19 338.7)
XYZxyz(33.0705, 19.8697, 39.1317)
Luminance0.1987 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C74AA8 #4AC769
analogous
#A74AC7 #C74AA8 #C74A69
triadic
#C74AA8 #A8C74A #4AA8C7
tetradic
#C74AA8 #C7A74A #4AC769 #4A69C7
square
#C74AA8 #C7A74A #4AC769 #4A69C7
split-complementary
#C74AA8 #69C74A #4AC7A7
monochromatic
#73245F #A23286 #C74AA8 #D579BE #E4A7D5

Accessibility & contrast

On white

4.22
#C74AA8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#C74AA8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C74AA8
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C74AA8#FFFFFF#000000##000000
##C74AA81.004.224.974.97
#FFFFFF4.221.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F6FAB
Deuteranopia (green-blind)
#7582A5
Tritanopia (blue-blind)
#D24E72
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #c74aa8;
/* rgb */ color: rgb(199, 74, 168);
/* oklch */ color: oklch(60.8% 0.190 338.7);
Tailwind
colors: {
  custom: {
    50: '#db84c2',
    500: '#c74aa8',
    950: '#000000',
  },
}
SCSS
$custom: #c74aa8;
$custom-light: #db84c2;
$custom-dark: #000000;
JSON
{
  "hex": "#c74aa8",
  "rgb": {
    "r": 199,
    "g": 74,
    "b": 168
  },
  "hsl": {
    "h": 314.88,
    "s": 52.743,
    "l": 53.529
  },
  "oklch": {
    "l": 0.60838,
    "c": 0.18984,
    "h": 338.7
  },
  "luminance": 0.19867
}

Semantic roles & 50–950 ramp

primary
#C74AA8
secondary
#9CD1A9
accent
#DC6F4C
background
#FDF8FB
surface
#FBF0F7
border
#D4CBD0
text
#150B12
muted
#837C81

Preview Lab

Preview with #C74AA8

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

Preview Lab → · Contrast checker → · Palette generator →

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