#C740AE#C740AE

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

Color values

HEX#C740AE
RGBrgb(199, 64, 174)
HSLhsl(311, 55%, 52%)
HSVhsv(311, 68%, 78%)
CMYKcmyk(0%, 67.8%, 12.6%, 22%)
CIE-LABlab(50.53, 64.74, -30.81)
CIE-LCHlch(50.53, 71.70, 334.55°)
OKLaboklab(60.08% 0.1896 -0.0838)
OKLCHoklch(60.08% 0.207 336.1)
XYZxyz(33.0270, 18.8678, 41.9386)
Luminance0.1887 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C740AE #40C759
analogous
#9D40C7 #C740AE #C7406B
triadic
#C740AE #AEC740 #40AEC7
tetradic
#C740AE #C79D40 #40C759 #406BC7
square
#C740AE #C79D40 #40C759 #406BC7
split-complementary
#C740AE #6BC740 #40C79D
monochromatic
#6D205E #9C2E88 #C740AE #D56FC2 #E39FD6

Accessibility & contrast

On white

4.40
#C740AE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##C740AE#FFFFFF#000000##000000
##C740AE1.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#426BB1
Deuteranopia (green-blind)
#6E80AB
Tritanopia (blue-blind)
#D14872
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #c740ae;
/* rgb */ color: rgb(199, 64, 174);
/* oklch */ color: oklch(60.1% 0.207 336.1);
Tailwind
colors: {
  custom: {
    50: '#dc7fc6',
    500: '#c740ae',
    950: '#000000',
  },
}
SCSS
$custom: #c740ae;
$custom-light: #dc7fc6;
$custom-dark: #000000;
JSON
{
  "hex": "#c740ae",
  "rgb": {
    "r": 199,
    "g": 64,
    "b": 174
  },
  "hsl": {
    "h": 311.111,
    "s": 54.656,
    "l": 51.569
  },
  "oklch": {
    "l": 0.60081,
    "c": 0.2073,
    "h": 336.1
  },
  "luminance": 0.18865
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C740AE

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

Preview Lab → · Contrast checker → · Palette generator →

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