#CD38A1#CD38A1

#CD38A1 is a mid, highly saturated pink. Relative luminance 0.184; OKLCH L 59.7% C 0.212 H 342.3°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#CD38A1
RGBrgb(205, 56, 161)
HSLhsl(318, 60%, 51%)
HSVhsv(318, 73%, 80%)
CMYKcmyk(0%, 72.7%, 21.5%, 19.6%)
CIE-LABlab(49.96, 67.21, -23.96)
CIE-LCHlch(49.96, 71.35, 340.38°)
OKLaboklab(59.67% 0.2019 -0.0643)
OKLCHoklch(59.67% 0.212 342.3)
XYZxyz(33.0252, 18.3841, 35.5205)
Luminance0.1838 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD38A1 #38CD64
analogous
#AE38CD #CD38A1 #CD3856
triadic
#CD38A1 #A1CD38 #38A1CD
tetradic
#CD38A1 #CDAE38 #38CD64 #3856CD
square
#CD38A1 #CDAE38 #38CD64 #3856CD
split-complementary
#CD38A1 #56CD38 #38CDAE
monochromatic
#6F1C56 #A0287C #CD38A1 #D969B8 #E69ACF

Accessibility & contrast

On white

4.49
#CD38A1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#CD38A1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD38A1
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD38A1#FFFFFF#000000##000000
##CD38A11.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4667A4
Deuteranopia (green-blind)
#75809E
Tritanopia (blue-blind)
#DA3968
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #cd38a1;
/* rgb */ color: rgb(205, 56, 161);
/* oklch */ color: oklch(59.7% 0.212 342.3);
Tailwind
colors: {
  custom: {
    50: '#e07cbd',
    500: '#cd38a1',
    950: '#000000',
  },
}
SCSS
$custom: #cd38a1;
$custom-light: #e07cbd;
$custom-dark: #000000;
JSON
{
  "hex": "#cd38a1",
  "rgb": {
    "r": 205,
    "g": 56,
    "b": 161
  },
  "hsl": {
    "h": 317.718,
    "s": 59.839,
    "l": 51.176
  },
  "oklch": {
    "l": 0.59667,
    "c": 0.2119,
    "h": 342.3
  },
  "luminance": 0.18381
}

Semantic roles & 50–950 ramp

primary
#CD38A1
secondary
#8FD1A3
accent
#E37445
background
#FEF8FB
surface
#FDEFF6
border
#D5CAD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #CD38A1

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

Preview Lab → · Contrast checker → · Palette generator →

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