#CD38AD#CD38AD

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

Color values

HEX#CD38AD
RGBrgb(205, 56, 173)
HSLhsl(313, 60%, 51%)
HSVhsv(313, 73%, 80%)
CMYKcmyk(0%, 72.7%, 15.6%, 19.6%)
CIE-LABlab(50.49, 68.83, -30.22)
CIE-LCHlch(50.49, 75.17, 336.30°)
OKLaboklab(60.22% 0.2036 -0.082)
OKLCHoklch(60.22% 0.22 338.1)
XYZxyz(34.1346, 18.8278, 41.3635)
Luminance0.1883 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD38AD #38CD58
analogous
#A238CD #CD38AD #CD3862
triadic
#CD38AD #ADCD38 #38ADCD
tetradic
#CD38AD #CDA238 #38CD58 #3862CD
square
#CD38AD #CDA238 #38CD58 #3862CD
split-complementary
#CD38AD #62CD38 #38CDA2
monochromatic
#6F1C5D #A02886 #CD38AD #D969C1 #E69AD5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CD38AD#FFFFFF#000000##000000
##CD38AD1.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)
#3F69B0
Deuteranopia (green-blind)
#7080AA
Tritanopia (blue-blind)
#D8406E
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #cd38ad;
/* rgb */ color: rgb(205, 56, 173);
/* oklch */ color: oklch(60.2% 0.220 338.1);
Tailwind
colors: {
  custom: {
    50: '#e07cc5',
    500: '#cd38ad',
    950: '#000000',
  },
}
SCSS
$custom: #cd38ad;
$custom-light: #e07cc5;
$custom-dark: #000000;
JSON
{
  "hex": "#cd38ad",
  "rgb": {
    "r": 205,
    "g": 56,
    "b": 173
  },
  "hsl": {
    "h": 312.886,
    "s": 59.839,
    "l": 51.176
  },
  "oklch": {
    "l": 0.6022,
    "c": 0.21953,
    "h": 338.1
  },
  "luminance": 0.18825
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD38AD

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

Preview Lab → · Contrast checker → · Palette generator →

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