#CD38A7#CD38A7

#CD38A7 is a mid, highly saturated pink. Relative luminance 0.186; OKLCH L 59.9% C 0.216 H 340.2°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#CD38A7
RGBrgb(205, 56, 167)
HSLhsl(315, 60%, 51%)
HSVhsv(315, 73%, 80%)
CMYKcmyk(0%, 72.7%, 18.5%, 19.6%)
CIE-LABlab(50.22, 68.01, -27.11)
CIE-LCHlch(50.22, 73.21, 338.27°)
OKLaboklab(59.94% 0.2029 -0.0731)
OKLCHoklch(59.94% 0.216 340.2)
XYZxyz(33.5670, 18.6008, 38.3742)
Luminance0.1860 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD38A7 #38CD5E
analogous
#A838CD #CD38A7 #CD385C
triadic
#CD38A7 #A7CD38 #38A7CD
tetradic
#CD38A7 #CDA838 #38CD5E #385CCD
square
#CD38A7 #CDA838 #38CD5E #385CCD
split-complementary
#CD38A7 #5CCD38 #38CDA8
monochromatic
#6F1C5A #A02881 #CD38A7 #D969BD #E69AD2

Accessibility & contrast

On white

4.45
#CD38A7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#CD38A7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD38A7
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD38A7#FFFFFF#000000##000000
##CD38A71.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4368AA
Deuteranopia (green-blind)
#7380A4
Tritanopia (blue-blind)
#D93D6B
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #cd38a7;
/* rgb */ color: rgb(205, 56, 167);
/* oklch */ color: oklch(59.9% 0.216 340.2);
Tailwind
colors: {
  custom: {
    50: '#e07cc1',
    500: '#cd38a7',
    950: '#000000',
  },
}
SCSS
$custom: #cd38a7;
$custom-light: #e07cc1;
$custom-dark: #000000;
JSON
{
  "hex": "#cd38a7",
  "rgb": {
    "r": 205,
    "g": 56,
    "b": 167
  },
  "hsl": {
    "h": 315.302,
    "s": 59.839,
    "l": 51.176
  },
  "oklch": {
    "l": 0.59938,
    "c": 0.21563,
    "h": 340.2
  },
  "luminance": 0.18598
}

Semantic roles & 50–950 ramp

primary
#CD38A7
secondary
#8FD1A0
accent
#E36D45
background
#FEF8FB
surface
#FCEFF7
border
#D5CAD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #CD38A7

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

Preview Lab → · Contrast checker → · Palette generator →

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