#C74AA7#C74AA7

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

Color values

HEX#C74AA7
RGBrgb(199, 74, 167)
HSLhsl(315, 53%, 54%)
HSVhsv(315, 63%, 78%)
CMYKcmyk(0%, 62.8%, 16.1%, 22%)
CIE-LABlab(51.65, 59.76, -24.97)
CIE-LCHlch(51.65, 64.77, 337.32°)
OKLaboklab(60.79% 0.1768 -0.0673)
OKLCHoklch(60.79% 0.189 339.1)
XYZxyz(32.9777, 19.8326, 38.6430)
Luminance0.1983 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C74AA7 #4AC76A
analogous
#A84AC7 #C74AA7 #C74A68
triadic
#C74AA7 #A7C74A #4AA7C7
tetradic
#C74AA7 #C7A84A #4AC76A #4A68C7
square
#C74AA7 #C7A84A #4AC76A #4A68C7
split-complementary
#C74AA7 #68C74A #4AC7A8
monochromatic
#73245F #A23285 #C74AA7 #D579BE #E4A7D4

Accessibility & contrast

On white

4.23
#C74AA7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##C74AA7#FFFFFF#000000##000000
##C74AA71.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#506FAA
Deuteranopia (green-blind)
#7682A4
Tritanopia (blue-blind)
#D24E72
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #c74aa7;
/* rgb */ color: rgb(199, 74, 167);
/* oklch */ color: oklch(60.8% 0.189 339.1);
Tailwind
colors: {
  custom: {
    50: '#db84c1',
    500: '#c74aa7',
    950: '#000000',
  },
}
SCSS
$custom: #c74aa7;
$custom-light: #db84c1;
$custom-dark: #000000;
JSON
{
  "hex": "#c74aa7",
  "rgb": {
    "r": 199,
    "g": 74,
    "b": 167
  },
  "hsl": {
    "h": 315.36,
    "s": 52.743,
    "l": 53.529
  },
  "oklch": {
    "l": 0.60794,
    "c": 0.18914,
    "h": 339.1
  },
  "luminance": 0.1983
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C74AA7

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

Preview Lab → · Contrast checker → · Palette generator →

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