#CD3CA7#CD3CA7

#CD3CA7 is a mid, highly saturated pink. Relative luminance 0.190; OKLCH L 60.3% C 0.211 H 340.3°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#CD3CA7
RGBrgb(205, 60, 167)
HSLhsl(316, 59%, 52%)
HSVhsv(316, 71%, 80%)
CMYKcmyk(0%, 70.7%, 18.5%, 19.6%)
CIE-LABlab(50.69, 66.66, -26.37)
CIE-LCHlch(50.69, 71.69, 338.42°)
OKLaboklab(60.28% 0.1988 -0.0711)
OKLCHoklch(60.28% 0.211 340.3)
XYZxyz(33.7687, 19.0041, 38.4415)
Luminance0.1900 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD3CA7 #3CCD62
analogous
#AB3CCD #CD3CA7 #CD3C5F
triadic
#CD3CA7 #A7CD3C #3CA7CD
tetradic
#CD3CA7 #CDAB3C #3CCD62 #3C5FCD
square
#CD3CA7 #CDAB3C #3CCD62 #3C5FCD
split-complementary
#CD3CA7 #5FCD3C #3CCDAB
monochromatic
#711D5B #A22A83 #CD3CA7 #D96DBD #E69DD3

Accessibility & contrast

On white

4.37
#CD3CA7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#CD3CA7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD3CA7
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD3CA7#FFFFFF#000000##000000
##CD3CA71.004.374.804.80
#FFFFFF4.371.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#466AAA
Deuteranopia (green-blind)
#7481A4
Tritanopia (blue-blind)
#D9406D
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #cd3ca7;
/* rgb */ color: rgb(205, 60, 167);
/* oklch */ color: oklch(60.3% 0.211 340.3);
Tailwind
colors: {
  custom: {
    50: '#e07ec1',
    500: '#cd3ca7',
    950: '#000000',
  },
}
SCSS
$custom: #cd3ca7;
$custom-light: #e07ec1;
$custom-dark: #000000;
JSON
{
  "hex": "#cd3ca7",
  "rgb": {
    "r": 205,
    "g": 60,
    "b": 167
  },
  "hsl": {
    "h": 315.724,
    "s": 59.184,
    "l": 51.961
  },
  "oklch": {
    "l": 0.60283,
    "c": 0.21112,
    "h": 340.3
  },
  "luminance": 0.19001
}

Semantic roles & 50–950 ramp

primary
#CD3CA7
secondary
#93D2A3
accent
#E26F45
background
#FEF8FB
surface
#FCEFF7
border
#D5CAD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #CD3CA7

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

Preview Lab → · Contrast checker → · Palette generator →

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