#C740AD#C740AD

#C740AD is a mid, highly saturated pink. Relative luminance 0.188; OKLCH L 60.0% C 0.207 H 336.5°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#C740AD
RGBrgb(199, 64, 173)
HSLhsl(312, 55%, 52%)
HSVhsv(312, 68%, 78%)
CMYKcmyk(0%, 67.8%, 13.1%, 22%)
CIE-LABlab(50.49, 64.59, -30.29)
CIE-LCHlch(50.49, 71.34, 334.88°)
OKLaboklab(60.03% 0.1895 -0.0824)
OKLCHoklch(60.03% 0.207 336.5)
XYZxyz(32.9299, 18.8289, 41.4271)
Luminance0.1883 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C740AD #40C75A
analogous
#9E40C7 #C740AD #C7406A
triadic
#C740AD #ADC740 #40ADC7
tetradic
#C740AD #C79E40 #40C75A #406AC7
square
#C740AD #C79E40 #40C75A #406AC7
split-complementary
#C740AD #6AC740 #40C79E
monochromatic
#6D205E #9C2E87 #C740AD #D56FC1 #E39FD6

Accessibility & contrast

On white

4.41
#C740AD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#C740AD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C740AD
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C740AD#FFFFFF#000000##000000
##C740AD1.004.414.774.77
#FFFFFF4.411.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#436BB0
Deuteranopia (green-blind)
#6F80AA
Tritanopia (blue-blind)
#D14871
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #c740ad;
/* rgb */ color: rgb(199, 64, 173);
/* oklch */ color: oklch(60.0% 0.207 336.5);
Tailwind
colors: {
  custom: {
    50: '#dc7fc5',
    500: '#c740ad',
    950: '#000000',
  },
}
SCSS
$custom: #c740ad;
$custom-light: #dc7fc5;
$custom-dark: #000000;
JSON
{
  "hex": "#c740ad",
  "rgb": {
    "r": 199,
    "g": 64,
    "b": 173
  },
  "hsl": {
    "h": 311.556,
    "s": 54.656,
    "l": 51.569
  },
  "oklch": {
    "l": 0.60033,
    "c": 0.20659,
    "h": 336.5
  },
  "luminance": 0.18826
}

Semantic roles & 50–950 ramp

primary
#C740AD
secondary
#94CF9F
accent
#DE664A
background
#FDF8FC
surface
#FBEFF8
border
#D4CAD1
text
#150B13
muted
#837C82

Preview Lab

Preview with #C740AD

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

Preview Lab → · Contrast checker → · Palette generator →

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