#CD38AC#CD38AC

#CD38AC is a mid, highly saturated pink. Relative luminance 0.188; OKLCH L 60.2% C 0.219 H 338.4°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#CD38AC
RGBrgb(205, 56, 172)
HSLhsl(313, 60%, 51%)
HSVhsv(313, 73%, 80%)
CMYKcmyk(0%, 72.7%, 16.1%, 19.6%)
CIE-LABlab(50.44, 68.69, -29.70)
CIE-LCHlch(50.44, 74.84, 336.62°)
OKLaboklab(60.17% 0.2035 -0.0805)
OKLCHoklch(60.17% 0.219 338.4)
XYZxyz(34.0382, 18.7893, 40.8558)
Luminance0.1879 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD38AC #38CD59
analogous
#A338CD #CD38AC #CD3861
triadic
#CD38AC #ACCD38 #38ACCD
tetradic
#CD38AC #CDA338 #38CD59 #3861CD
square
#CD38AC #CDA338 #38CD59 #3861CD
split-complementary
#CD38AC #61CD38 #38CDA3
monochromatic
#6F1C5C #A02885 #CD38AC #D969C0 #E69AD5

Accessibility & contrast

On white

4.41
#CD38AC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#CD38AC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD38AC
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD38AC#FFFFFF#000000##000000
##CD38AC1.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F69AF
Deuteranopia (green-blind)
#7180A9
Tritanopia (blue-blind)
#D83F6E
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #cd38ac;
/* rgb */ color: rgb(205, 56, 172);
/* oklch */ color: oklch(60.2% 0.219 338.4);
Tailwind
colors: {
  custom: {
    50: '#e07cc5',
    500: '#cd38ac',
    950: '#000000',
  },
}
SCSS
$custom: #cd38ac;
$custom-light: #e07cc5;
$custom-dark: #000000;
JSON
{
  "hex": "#cd38ac",
  "rgb": {
    "r": 205,
    "g": 56,
    "b": 172
  },
  "hsl": {
    "h": 313.289,
    "s": 59.839,
    "l": 51.176
  },
  "oklch": {
    "l": 0.60172,
    "c": 0.21887,
    "h": 338.4
  },
  "luminance": 0.18786
}

Semantic roles & 50–950 ramp

primary
#CD38AC
secondary
#8FD19E
accent
#E36845
background
#FEF8FC
surface
#FCEFF8
border
#D5CAD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #CD38AC

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

Preview Lab → · Contrast checker → · Palette generator →

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