#CD38A8#CD38A8

#CD38A8 is a mid, highly saturated pink. Relative luminance 0.186; OKLCH L 60.0% C 0.216 H 339.8°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#CD38A8
RGBrgb(205, 56, 168)
HSLhsl(315, 60%, 51%)
HSVhsv(315, 73%, 80%)
CMYKcmyk(0%, 72.7%, 18%, 19.6%)
CIE-LABlab(50.26, 68.14, -27.63)
CIE-LCHlch(50.26, 73.53, 337.93°)
OKLaboklab(59.98% 0.203 -0.0746)
OKLCHoklch(59.98% 0.216 339.8)
XYZxyz(33.6598, 18.6379, 38.8630)
Luminance0.1863 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD38A8 #38CD5D
analogous
#A738CD #CD38A8 #CD385D
triadic
#CD38A8 #A8CD38 #38A8CD
tetradic
#CD38A8 #CDA738 #38CD5D #385DCD
square
#CD38A8 #CDA738 #38CD5D #385DCD
split-complementary
#CD38A8 #5DCD38 #38CDA7
monochromatic
#6F1C5A #A02882 #CD38A8 #D969BD #E69AD3

Accessibility & contrast

On white

4.44
#CD38A8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#CD38A8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD38A8
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD38A8#FFFFFF#000000##000000
##CD38A81.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4269AB
Deuteranopia (green-blind)
#7280A5
Tritanopia (blue-blind)
#D93D6C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #cd38a8;
/* rgb */ color: rgb(205, 56, 168);
/* oklch */ color: oklch(60.0% 0.216 339.8);
Tailwind
colors: {
  custom: {
    50: '#e07cc2',
    500: '#cd38a8',
    950: '#000000',
  },
}
SCSS
$custom: #cd38a8;
$custom-light: #e07cc2;
$custom-dark: #000000;
JSON
{
  "hex": "#cd38a8",
  "rgb": {
    "r": 205,
    "g": 56,
    "b": 168
  },
  "hsl": {
    "h": 314.899,
    "s": 59.839,
    "l": 51.176
  },
  "oklch": {
    "l": 0.59984,
    "c": 0.21628,
    "h": 339.8
  },
  "luminance": 0.18635
}

Semantic roles & 50–950 ramp

primary
#CD38A8
secondary
#8FD1A0
accent
#E36C45
background
#FEF8FB
surface
#FCEFF7
border
#D5CAD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #CD38A8

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

Preview Lab → · Contrast checker → · Palette generator →

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