#CD38A4#CD38A4

#CD38A4 is a mid, highly saturated pink. Relative luminance 0.185; OKLCH L 59.8% C 0.214 H 341.3°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#CD38A4
RGBrgb(205, 56, 164)
HSLhsl(317, 60%, 51%)
HSVhsv(317, 73%, 80%)
CMYKcmyk(0%, 72.7%, 20%, 19.6%)
CIE-LABlab(50.09, 67.60, -25.54)
CIE-LCHlch(50.09, 72.26, 339.31°)
OKLaboklab(59.8% 0.2024 -0.0687)
OKLCHoklch(59.8% 0.214 341.3)
XYZxyz(33.2929, 18.4912, 36.9306)
Luminance0.1849 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD38A4 #38CD61
analogous
#AB38CD #CD38A4 #CD3859
triadic
#CD38A4 #A4CD38 #38A4CD
tetradic
#CD38A4 #CDAB38 #38CD61 #3859CD
square
#CD38A4 #CDAB38 #38CD61 #3859CD
split-complementary
#CD38A4 #59CD38 #38CDAB
monochromatic
#6F1C58 #A0287F #CD38A4 #D969BA #E69AD1

Accessibility & contrast

On white

4.47
#CD38A4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#CD38A4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD38A4
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD38A4#FFFFFF#000000##000000
##CD38A41.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4468A7
Deuteranopia (green-blind)
#7480A1
Tritanopia (blue-blind)
#D93B6A
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #cd38a4;
/* rgb */ color: rgb(205, 56, 164);
/* oklch */ color: oklch(59.8% 0.214 341.3);
Tailwind
colors: {
  custom: {
    50: '#e07cbf',
    500: '#cd38a4',
    950: '#000000',
  },
}
SCSS
$custom: #cd38a4;
$custom-light: #e07cbf;
$custom-dark: #000000;
JSON
{
  "hex": "#cd38a4",
  "rgb": {
    "r": 205,
    "g": 56,
    "b": 164
  },
  "hsl": {
    "h": 316.51,
    "s": 59.839,
    "l": 51.176
  },
  "oklch": {
    "l": 0.59801,
    "c": 0.21374,
    "h": 341.3
  },
  "luminance": 0.18488
}

Semantic roles & 50–950 ramp

primary
#CD38A4
secondary
#8FD1A2
accent
#E37045
background
#FEF8FB
surface
#FDEFF7
border
#D5CAD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #CD38A4

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

Preview Lab → · Contrast checker → · Palette generator →

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