#CD3FAC#CD3FAC

#CD3FAC is a mid, highly saturated pink. Relative luminance 0.195; OKLCH L 60.8% C 0.211 H 338.6°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#CD3FAC
RGBrgb(205, 63, 172)
HSLhsl(314, 59%, 53%)
HSVhsv(314, 69%, 80%)
CMYKcmyk(0%, 69.3%, 16.1%, 19.6%)
CIE-LABlab(51.29, 66.30, -28.39)
CIE-LCHlch(51.29, 72.13, 336.82°)
OKLaboklab(60.79% 0.1964 -0.0768)
OKLCHoklch(60.79% 0.211 338.6)
XYZxyz(34.4015, 19.5159, 40.9769)
Luminance0.1951 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD3FAC #3FCD60
analogous
#A73FCD #CD3FAC #CD3F65
triadic
#CD3FAC #ACCD3F #3FACCD
tetradic
#CD3FAC #CDA73F #3FCD60 #3F65CD
square
#CD3FAC #CDA73F #3FCD60 #3F65CD
split-complementary
#CD3FAC #65CD3F #3FCDA7
monochromatic
#741E60 #A42B88 #CD3FAC #DA70C1 #E6A0D6

Accessibility & contrast

On white

4.28
#CD3FAC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#CD3FAC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD3FAC
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD3FAC#FFFFFF#000000##000000
##CD3FAC1.004.284.904.90
#FFFFFF4.281.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#466CAF
Deuteranopia (green-blind)
#7382A9
Tritanopia (blue-blind)
#D84570
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #cd3fac;
/* rgb */ color: rgb(205, 63, 172);
/* oklch */ color: oklch(60.8% 0.211 338.6);
Tailwind
colors: {
  custom: {
    50: '#e080c5',
    500: '#cd3fac',
    950: '#000000',
  },
}
SCSS
$custom: #cd3fac;
$custom-light: #e080c5;
$custom-dark: #000000;
JSON
{
  "hex": "#cd3fac",
  "rgb": {
    "r": 205,
    "g": 63,
    "b": 172
  },
  "hsl": {
    "h": 313.944,
    "s": 58.678,
    "l": 52.549
  },
  "oklch": {
    "l": 0.60785,
    "c": 0.21085,
    "h": 338.6
  },
  "luminance": 0.19513
}

Semantic roles & 50–950 ramp

primary
#CD3FAC
secondary
#95D3A3
accent
#E26A46
background
#FEF8FC
surface
#FCEFF8
border
#D5CAD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #CD3FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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