#CD38A2#CD38A2

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

Color values

HEX#CD38A2
RGBrgb(205, 56, 162)
HSLhsl(317, 60%, 51%)
HSVhsv(317, 73%, 80%)
CMYKcmyk(0%, 72.7%, 21%, 19.6%)
CIE-LABlab(50.00, 67.34, -24.48)
CIE-LCHlch(50.00, 71.65, 340.02°)
OKLaboklab(59.71% 0.2021 -0.0657)
OKLCHoklch(59.71% 0.213 342)
XYZxyz(33.1137, 18.4195, 35.9868)
Luminance0.1842 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD38A2 #38CD63
analogous
#AD38CD #CD38A2 #CD3857
triadic
#CD38A2 #A2CD38 #38A2CD
tetradic
#CD38A2 #CDAD38 #38CD63 #3857CD
square
#CD38A2 #CDAD38 #38CD63 #3857CD
split-complementary
#CD38A2 #57CD38 #38CDAD
monochromatic
#6F1C57 #A0287D #CD38A2 #D969B9 #E69AD0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CD38A2#FFFFFF#000000##000000
##CD38A21.004.484.684.68
#FFFFFF4.481.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4667A5
Deuteranopia (green-blind)
#74809F
Tritanopia (blue-blind)
#DA3A69
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #cd38a2;
/* rgb */ color: rgb(205, 56, 162);
/* oklch */ color: oklch(59.7% 0.212 342.0);
Tailwind
colors: {
  custom: {
    50: '#e07cbd',
    500: '#cd38a2',
    950: '#000000',
  },
}
SCSS
$custom: #cd38a2;
$custom-light: #e07cbd;
$custom-dark: #000000;
JSON
{
  "hex": "#cd38a2",
  "rgb": {
    "r": 205,
    "g": 56,
    "b": 162
  },
  "hsl": {
    "h": 317.315,
    "s": 59.839,
    "l": 51.176
  },
  "oklch": {
    "l": 0.59711,
    "c": 0.2125,
    "h": 342
  },
  "luminance": 0.18416
}

Semantic roles & 50–950 ramp

primary
#CD38A2
secondary
#8FD1A2
accent
#E37245
background
#FEF8FB
surface
#FDEFF6
border
#D5CAD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #CD38A2

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

Preview Lab → · Contrast checker → · Palette generator →

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