#C74AA2#C74AA2

#C74AA2 is a mid, vivid pink. Relative luminance 0.196; OKLCH L 60.6% C 0.186 H 341.2°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#C74AA2
RGBrgb(199, 74, 162)
HSLhsl(318, 53%, 54%)
HSVhsv(318, 63%, 78%)
CMYKcmyk(0%, 62.8%, 18.6%, 22%)
CIE-LABlab(51.44, 59.03, -22.35)
CIE-LCHlch(51.44, 63.12, 339.27°)
OKLaboklab(60.57% 0.1758 -0.06)
OKLCHoklch(60.57% 0.186 341.2)
XYZxyz(32.5244, 19.6512, 36.2555)
Luminance0.1965 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C74AA2 #4AC76F
analogous
#AD4AC7 #C74AA2 #C74A63
triadic
#C74AA2 #A2C74A #4AA2C7
tetradic
#C74AA2 #C7AD4A #4AC76F #4A63C7
square
#C74AA2 #C7AD4A #4AC76F #4A63C7
split-complementary
#C74AA2 #63C74A #4AC7AD
monochromatic
#73245C #A23281 #C74AA2 #D579BA #E4A7D2

Accessibility & contrast

On white

4.26
#C74AA2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#C74AA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C74AA2
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C74AA2#FFFFFF#000000##000000
##C74AA21.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#526EA5
Deuteranopia (green-blind)
#78829F
Tritanopia (blue-blind)
#D24C6F
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #c74aa2;
/* rgb */ color: rgb(199, 74, 162);
/* oklch */ color: oklch(60.6% 0.186 341.2);
Tailwind
colors: {
  custom: {
    50: '#db84bd',
    500: '#c74aa2',
    950: '#000000',
  },
}
SCSS
$custom: #c74aa2;
$custom-light: #db84bd;
$custom-dark: #000000;
JSON
{
  "hex": "#c74aa2",
  "rgb": {
    "r": 199,
    "g": 74,
    "b": 162
  },
  "hsl": {
    "h": 317.76,
    "s": 52.743,
    "l": 53.529
  },
  "oklch": {
    "l": 0.60574,
    "c": 0.18573,
    "h": 341.2
  },
  "luminance": 0.19648
}

Semantic roles & 50–950 ramp

primary
#C74AA2
secondary
#9CD1AB
accent
#DC764C
background
#FDF8FB
surface
#FBF0F6
border
#D4CBD0
text
#150B12
muted
#837C81

Preview Lab

Preview with #C74AA2

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

Preview Lab → · Contrast checker → · Palette generator →

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