#CD38A3#CD38A3

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

Color values

HEX#CD38A3
RGBrgb(205, 56, 163)
HSLhsl(317, 60%, 51%)
HSVhsv(317, 73%, 80%)
CMYKcmyk(0%, 72.7%, 20.5%, 19.6%)
CIE-LABlab(50.04, 67.47, -25.01)
CIE-LCHlch(50.04, 71.96, 339.66°)
OKLaboklab(59.76% 0.2023 -0.0672)
OKLCHoklch(59.76% 0.213 341.6)
XYZxyz(33.2029, 18.4552, 36.4568)
Luminance0.1845 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD38A3 #38CD62
analogous
#AC38CD #CD38A3 #CD3858
triadic
#CD38A3 #A3CD38 #38A3CD
tetradic
#CD38A3 #CDAC38 #38CD62 #3858CD
square
#CD38A3 #CDAC38 #38CD62 #3858CD
split-complementary
#CD38A3 #58CD38 #38CDAC
monochromatic
#6F1C57 #A0287E #CD38A3 #D969BA #E69AD0

Accessibility & contrast

On white

4.48
#CD38A3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#CD38A3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD38A3
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD38A3#FFFFFF#000000##000000
##CD38A31.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4568A6
Deuteranopia (green-blind)
#7480A0
Tritanopia (blue-blind)
#DA3A69
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #cd38a3;
/* rgb */ color: rgb(205, 56, 163);
/* oklch */ color: oklch(59.8% 0.213 341.6);
Tailwind
colors: {
  custom: {
    50: '#e07cbe',
    500: '#cd38a3',
    950: '#000000',
  },
}
SCSS
$custom: #cd38a3;
$custom-light: #e07cbe;
$custom-dark: #000000;
JSON
{
  "hex": "#cd38a3",
  "rgb": {
    "r": 205,
    "g": 56,
    "b": 163
  },
  "hsl": {
    "h": 316.913,
    "s": 59.839,
    "l": 51.176
  },
  "oklch": {
    "l": 0.59756,
    "c": 0.21313,
    "h": 341.6
  },
  "luminance": 0.18452
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD38A3

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

Preview Lab → · Contrast checker → · Palette generator →

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