#CD38A6#CD38A6

#CD38A6 is a mid, highly saturated pink. Relative luminance 0.186; OKLCH L 59.9% C 0.215 H 340.5°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#CD38A6
RGBrgb(205, 56, 166)
HSLhsl(316, 60%, 51%)
HSVhsv(316, 73%, 80%)
CMYKcmyk(0%, 72.7%, 19%, 19.6%)
CIE-LABlab(50.17, 67.87, -26.58)
CIE-LCHlch(50.17, 72.89, 338.61°)
OKLaboklab(59.89% 0.2027 -0.0717)
OKLCHoklch(59.89% 0.215 340.5)
XYZxyz(33.4749, 18.5640, 37.8893)
Luminance0.1856 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD38A6 #38CD5F
analogous
#A938CD #CD38A6 #CD385B
triadic
#CD38A6 #A6CD38 #38A6CD
tetradic
#CD38A6 #CDA938 #38CD5F #385BCD
square
#CD38A6 #CDA938 #38CD5F #385BCD
split-complementary
#CD38A6 #5BCD38 #38CDA9
monochromatic
#6F1C59 #A02880 #CD38A6 #D969BC #E69AD2

Accessibility & contrast

On white

4.46
#CD38A6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#CD38A6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD38A6
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD38A6#FFFFFF#000000##000000
##CD38A61.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4368A9
Deuteranopia (green-blind)
#7380A3
Tritanopia (blue-blind)
#D93C6B
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #cd38a6;
/* rgb */ color: rgb(205, 56, 166);
/* oklch */ color: oklch(59.9% 0.215 340.5);
Tailwind
colors: {
  custom: {
    50: '#e07cc0',
    500: '#cd38a6',
    950: '#000000',
  },
}
SCSS
$custom: #cd38a6;
$custom-light: #e07cc0;
$custom-dark: #000000;
JSON
{
  "hex": "#cd38a6",
  "rgb": {
    "r": 205,
    "g": 56,
    "b": 166
  },
  "hsl": {
    "h": 315.705,
    "s": 59.839,
    "l": 51.176
  },
  "oklch": {
    "l": 0.59892,
    "c": 0.215,
    "h": 340.5
  },
  "luminance": 0.18561
}

Semantic roles & 50–950 ramp

primary
#CD38A6
secondary
#8FD1A1
accent
#E36E45
background
#FEF8FB
surface
#FCEFF7
border
#D5CAD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #CD38A6

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

Preview Lab → · Contrast checker → · Palette generator →

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