#CD38A5#CD38A5

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

Color values

HEX#CD38A5
RGBrgb(205, 56, 165)
HSLhsl(316, 60%, 51%)
HSVhsv(316, 73%, 80%)
CMYKcmyk(0%, 72.7%, 19.5%, 19.6%)
CIE-LABlab(50.13, 67.74, -26.06)
CIE-LCHlch(50.13, 72.58, 338.96°)
OKLaboklab(59.85% 0.2026 -0.0702)
OKLCHoklch(59.85% 0.214 340.9)
XYZxyz(33.3835, 18.5274, 37.4080)
Luminance0.1852 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD38A5 #38CD60
analogous
#AA38CD #CD38A5 #CD385A
triadic
#CD38A5 #A5CD38 #38A5CD
tetradic
#CD38A5 #CDAA38 #38CD60 #385ACD
square
#CD38A5 #CDAA38 #38CD60 #385ACD
split-complementary
#CD38A5 #5ACD38 #38CDAA
monochromatic
#6F1C59 #A02880 #CD38A5 #D969BB #E69AD1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CD38A5#FFFFFF#000000##000000
##CD38A51.004.464.704.70
#FFFFFF4.461.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4468A8
Deuteranopia (green-blind)
#7380A2
Tritanopia (blue-blind)
#D93C6A
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #cd38a5;
/* rgb */ color: rgb(205, 56, 165);
/* oklch */ color: oklch(59.8% 0.214 340.9);
Tailwind
colors: {
  custom: {
    50: '#e07cc0',
    500: '#cd38a5',
    950: '#000000',
  },
}
SCSS
$custom: #cd38a5;
$custom-light: #e07cc0;
$custom-dark: #000000;
JSON
{
  "hex": "#cd38a5",
  "rgb": {
    "r": 205,
    "g": 56,
    "b": 165
  },
  "hsl": {
    "h": 316.107,
    "s": 59.839,
    "l": 51.176
  },
  "oklch": {
    "l": 0.59846,
    "c": 0.21437,
    "h": 340.9
  },
  "luminance": 0.18524
}

Semantic roles & 50–950 ramp

primary
#CD38A5
secondary
#8FD1A1
accent
#E36F45
background
#FEF8FB
surface
#FDEFF7
border
#D5CAD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #CD38A5

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

Preview Lab → · Contrast checker → · Palette generator →

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