#CD30AA#CD30AA

#CD30AA is a mid, highly saturated pink. Relative luminance 0.180; OKLCH L 59.5% C 0.226 H 338.9°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#CD30AA
RGBrgb(205, 48, 170)
HSLhsl(313, 62%, 50%)
HSVhsv(313, 77%, 80%)
CMYKcmyk(0%, 76.6%, 17.1%, 19.6%)
CIE-LABlab(49.49, 70.85, -30.00)
CIE-LCHlch(49.49, 76.94, 337.05°)
OKLaboklab(59.46% 0.2106 -0.0813)
OKLCHoklch(59.46% 0.226 338.9)
XYZxyz(33.4903, 17.9986, 39.7327)
Luminance0.1799 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD30AA #30CD53
analogous
#A230CD #CD30AA #CD305B
triadic
#CD30AA #AACD30 #30AACD
tetradic
#CD30AA #CDA230 #30CD53 #305BCD
square
#CD30AA #CDA230 #30CD53 #305BCD
split-complementary
#CD30AA #5BCD30 #30CDA2
monochromatic
#6A1958 #9B2481 #CD30AA #DA60BF #E592D3

Accessibility & contrast

On white

4.57
#CD30AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#CD30AA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD30AA
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD30AA#FFFFFF#000000##000000
##CD30AA1.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A66AD
Deuteranopia (green-blind)
#6F7EA6
Tritanopia (blue-blind)
#D9386A
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #cd30aa;
/* rgb */ color: rgb(205, 48, 170);
/* oklch */ color: oklch(59.5% 0.226 338.9);
Tailwind
colors: {
  custom: {
    50: '#e179c3',
    500: '#cd30aa',
    950: '#000000',
  },
}
SCSS
$custom: #cd30aa;
$custom-light: #e179c3;
$custom-dark: #000000;
JSON
{
  "hex": "#cd30aa",
  "rgb": {
    "r": 205,
    "g": 48,
    "b": 170
  },
  "hsl": {
    "h": 313.376,
    "s": 62.055,
    "l": 49.608
  },
  "oklch": {
    "l": 0.5946,
    "c": 0.22577,
    "h": 338.9
  },
  "luminance": 0.17995
}

Semantic roles & 50–950 ramp

primary
#CD30AA
secondary
#89D099
accent
#E56743
background
#FEF7FC
surface
#FDEEF8
border
#D5C9D1
text
#160A12
muted
#847C81

Preview Lab

Preview with #CD30AA

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

Preview Lab → · Contrast checker → · Palette generator →

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