#CD3FA7#CD3FA7

#CD3FA7 is a mid, highly saturated pink. Relative luminance 0.193; OKLCH L 60.6% C 0.208 H 340.4°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#CD3FA7
RGBrgb(205, 63, 167)
HSLhsl(316, 59%, 53%)
HSVhsv(316, 69%, 80%)
CMYKcmyk(0%, 69.3%, 18.5%, 19.6%)
CIE-LABlab(51.07, 65.61, -25.79)
CIE-LCHlch(51.07, 70.49, 338.54°)
OKLaboklab(60.56% 0.1956 -0.0695)
OKLCHoklch(60.56% 0.208 340.4)
XYZxyz(33.9303, 19.3274, 38.4953)
Luminance0.1932 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD3FA7 #3FCD65
analogous
#AC3FCD #CD3FA7 #CD3F60
triadic
#CD3FA7 #A7CD3F #3FA7CD
tetradic
#CD3FA7 #CDAC3F #3FCD65 #3F60CD
square
#CD3FA7 #CDAC3F #3FCD65 #3F60CD
split-complementary
#CD3FA7 #60CD3F #3FCDAC
monochromatic
#741E5D #A42B84 #CD3FA7 #DA70BD #E6A0D4

Accessibility & contrast

On white

4.32
#CD3FA7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#CD3FA7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD3FA7
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD3FA7#FFFFFF#000000##000000
##CD3FA71.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#496BAA
Deuteranopia (green-blind)
#7582A4
Tritanopia (blue-blind)
#D9436E
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #cd3fa7;
/* rgb */ color: rgb(205, 63, 167);
/* oklch */ color: oklch(60.6% 0.208 340.4);
Tailwind
colors: {
  custom: {
    50: '#e07fc1',
    500: '#cd3fa7',
    950: '#000000',
  },
}
SCSS
$custom: #cd3fa7;
$custom-light: #e07fc1;
$custom-dark: #000000;
JSON
{
  "hex": "#cd3fa7",
  "rgb": {
    "r": 205,
    "g": 63,
    "b": 167
  },
  "hsl": {
    "h": 316.056,
    "s": 58.678,
    "l": 52.549
  },
  "oklch": {
    "l": 0.60556,
    "c": 0.20756,
    "h": 340.4
  },
  "luminance": 0.19324
}

Semantic roles & 50–950 ramp

primary
#CD3FA7
secondary
#95D3A6
accent
#E27046
background
#FEF8FB
surface
#FCEFF7
border
#D5CAD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #CD3FA7

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

Preview Lab → · Contrast checker → · Palette generator →

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