#C740AB#C740AB

#C740AB is a mid, highly saturated pink. Relative luminance 0.187; OKLCH L 59.9% C 0.205 H 337.2°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#C740AB
RGBrgb(199, 64, 171)
HSLhsl(312, 55%, 52%)
HSVhsv(312, 68%, 78%)
CMYKcmyk(0%, 67.8%, 14.1%, 22%)
CIE-LABlab(50.40, 64.30, -29.26)
CIE-LCHlch(50.40, 70.64, 335.53°)
OKLaboklab(59.94% 0.1892 -0.0794)
OKLCHoklch(59.94% 0.205 337.2)
XYZxyz(32.7378, 18.7521, 40.4155)
Luminance0.1875 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C740AB #40C75C
analogous
#9F40C7 #C740AB #C74068
triadic
#C740AB #ABC740 #40ABC7
tetradic
#C740AB #C79F40 #40C75C #4068C7
square
#C740AB #C79F40 #40C75C #4068C7
split-complementary
#C740AB #68C740 #40C79F
monochromatic
#6D205D #9C2E85 #C740AB #D56FC0 #E39FD5

Accessibility & contrast

On white

4.42
#C740AB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#C740AB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C740AB
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C740AB#FFFFFF#000000##000000
##C740AB1.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#446BAE
Deuteranopia (green-blind)
#707FA8
Tritanopia (blue-blind)
#D14770
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #c740ab;
/* rgb */ color: rgb(199, 64, 171);
/* oklch */ color: oklch(59.9% 0.205 337.2);
Tailwind
colors: {
  custom: {
    50: '#dc7fc4',
    500: '#c740ab',
    950: '#000000',
  },
}
SCSS
$custom: #c740ab;
$custom-light: #dc7fc4;
$custom-dark: #000000;
JSON
{
  "hex": "#c740ab",
  "rgb": {
    "r": 199,
    "g": 64,
    "b": 171
  },
  "hsl": {
    "h": 312.444,
    "s": 54.656,
    "l": 51.569
  },
  "oklch": {
    "l": 0.59937,
    "c": 0.20519,
    "h": 337.2
  },
  "luminance": 0.18749
}

Semantic roles & 50–950 ramp

primary
#C740AB
secondary
#94CFA0
accent
#DE694A
background
#FDF8FC
surface
#FBEFF8
border
#D4CAD1
text
#150B12
muted
#837C81

Preview Lab

Preview with #C740AB

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

Preview Lab → · Contrast checker → · Palette generator →

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