#CD0066#CD0066

#CD0066 is a mid, highly saturated pink. Relative luminance 0.139; OKLCH L 54.8% C 0.221 H 2.3°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#CD0066
RGBrgb(205, 0, 102)
HSLhsl(330, 100%, 40%)
HSVhsv(330, 100%, 80%)
CMYKcmyk(0%, 100%, 50.2%, 19.6%)
CIE-LABlab(44.15, 71.74, 3.23)
CIE-LCHlch(44.15, 71.81, 2.58°)
OKLaboklab(54.76% 0.2208 0.0089)
OKLCHoklch(54.76% 0.221 2.3)
XYZxyz(27.5777, 13.9426, 13.8069)
Luminance0.1394 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD0066 #00CD67
analogous
#CD00CD #CD0066 #CD0000
triadic
#CD0066 #66CD00 #0066CD
tetradic
#CD0066 #CDCD00 #00CD67 #0000CD
square
#CD0066 #CDCD00 #00CD67 #0000CD
split-complementary
#CD0066 #00CD00 #00CDCD
monochromatic
#530029 #900048 #CD0066 #FF0B85 #FF48A3

Accessibility & contrast

On white

5.54
#CD0066 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#CD0066 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CD0066
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD0066#FFFFFF#000000##FFFFFF
##CD00661.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#495168
Deuteranopia (green-blind)
#7A7562
Tritanopia (blue-blind)
#E0003B
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #cd0066;
/* rgb */ color: rgb(205, 0, 102);
/* oklch */ color: oklch(54.8% 0.221 2.3);
Tailwind
colors: {
  custom: {
    50: '#e46c91',
    500: '#cd0066',
    950: '#000000',
  },
}
SCSS
$custom: #cd0066;
$custom-light: #e46c91;
$custom-dark: #000000;
JSON
{
  "hex": "#cd0066",
  "rgb": {
    "r": 205,
    "g": 0,
    "b": 102
  },
  "hsl": {
    "h": 330.146,
    "s": 100,
    "l": 40.196
  },
  "oklch": {
    "l": 0.54758,
    "c": 0.22096,
    "h": 2.3
  },
  "luminance": 0.13938
}

Semantic roles & 50–950 ramp

primary
#CD0066
secondary
#4ADF95
accent
#FF9429
background
#FFF7F8
surface
#FEEDF0
border
#D6C8CB
text
#17080C
muted
#857B7D

Preview Lab

Preview with #CD0066

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

Preview Lab → · Contrast checker → · Palette generator →

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