#C74099#C74099

#C74099 is a mid, vivid pink. Relative luminance 0.181; OKLCH L 59.1% C 0.193 H 344.2°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#C74099
RGBrgb(199, 64, 153)
HSLhsl(320, 55%, 52%)
HSVhsv(320, 68%, 78%)
CMYKcmyk(0%, 67.8%, 23.1%, 22%)
CIE-LABlab(49.63, 61.79, -19.80)
CIE-LCHlch(49.63, 64.88, 342.24°)
OKLaboklab(59.13% 0.1861 -0.0527)
OKLCHoklch(59.13% 0.193 344.2)
XYZxyz(31.1375, 18.1119, 31.9869)
Luminance0.1811 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C74099 #40C76E
analogous
#B140C7 #C74099 #C74056
triadic
#C74099 #99C740 #4099C7
tetradic
#C74099 #C7B140 #40C76E #4056C7
square
#C74099 #C7B140 #40C76E #4056C7
split-complementary
#C74099 #56C740 #40C7B1
monochromatic
#6D2053 #9C2E76 #C74099 #D56FB2 #E39FCC

Accessibility & contrast

On white

4.54
#C74099 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#C74099 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C74099
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C74099#FFFFFF#000000##000000
##C740991.004.544.624.62
#FFFFFF4.541.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E689C
Deuteranopia (green-blind)
#767E96
Tritanopia (blue-blind)
#D43F67
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #c74099;
/* rgb */ color: rgb(199, 64, 153);
/* oklch */ color: oklch(59.1% 0.193 344.2);
Tailwind
colors: {
  custom: {
    50: '#dc7fb7',
    500: '#c74099',
    950: '#000000',
  },
}
SCSS
$custom: #c74099;
$custom-light: #dc7fb7;
$custom-dark: #000000;
JSON
{
  "hex": "#c74099",
  "rgb": {
    "r": 199,
    "g": 64,
    "b": 153
  },
  "hsl": {
    "h": 320.444,
    "s": 54.656,
    "l": 51.569
  },
  "oklch": {
    "l": 0.5913,
    "c": 0.19343,
    "h": 344.2
  },
  "luminance": 0.18109
}

Semantic roles & 50–950 ramp

primary
#C74099
secondary
#94CFA8
accent
#DE7C4A
background
#FEF8FB
surface
#FCEFF6
border
#D5CAD0
text
#150B11
muted
#847C80

Preview Lab

Preview with #C74099

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

Preview Lab → · Contrast checker → · Palette generator →

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