#CD3DA7#CD3DA7

#CD3DA7 is a mid, highly saturated pink. Relative luminance 0.191; OKLCH L 60.4% C 0.210 H 340.4°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#CD3DA7
RGBrgb(205, 61, 167)
HSLhsl(316, 59%, 52%)
HSVhsv(316, 70%, 80%)
CMYKcmyk(0%, 70.2%, 18.5%, 19.6%)
CIE-LABlab(50.82, 66.32, -26.18)
CIE-LCHlch(50.82, 71.30, 338.46°)
OKLaboklab(60.37% 0.1977 -0.0705)
OKLCHoklch(60.37% 0.21 340.4)
XYZxyz(33.8215, 19.1099, 38.4591)
Luminance0.1911 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD3DA7 #3DCD63
analogous
#AB3DCD #CD3DA7 #CD3D5F
triadic
#CD3DA7 #A7CD3D #3DA7CD
tetradic
#CD3DA7 #CDAB3D #3DCD63 #3D5FCD
square
#CD3DA7 #CDAB3D #3DCD63 #3D5FCD
split-complementary
#CD3DA7 #5FCD3D #3DCDAB
monochromatic
#721D5C #A32A83 #CD3DA7 #DA6EBD #E69ED3

Accessibility & contrast

On white

4.36
#CD3DA7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#CD3DA7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD3DA7
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD3DA7#FFFFFF#000000##000000
##CD3DA71.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#476AAA
Deuteranopia (green-blind)
#7581A4
Tritanopia (blue-blind)
#D9416D
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #cd3da7;
/* rgb */ color: rgb(205, 61, 167);
/* oklch */ color: oklch(60.4% 0.210 340.4);
Tailwind
colors: {
  custom: {
    50: '#e07ec1',
    500: '#cd3da7',
    950: '#000000',
  },
}
SCSS
$custom: #cd3da7;
$custom-light: #e07ec1;
$custom-dark: #000000;
JSON
{
  "hex": "#cd3da7",
  "rgb": {
    "r": 205,
    "g": 61,
    "b": 167
  },
  "hsl": {
    "h": 315.833,
    "s": 59.016,
    "l": 52.157
  },
  "oklch": {
    "l": 0.60373,
    "c": 0.20994,
    "h": 340.4
  },
  "luminance": 0.19107
}

Semantic roles & 50–950 ramp

primary
#CD3DA7
secondary
#93D2A4
accent
#E26F46
background
#FEF8FB
surface
#FCEFF7
border
#D5CAD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #CD3DA7

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

Preview Lab → · Contrast checker → · Palette generator →

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