#CD38B3#CD38B3

#CD38B3 is a mid, highly saturated pink. Relative luminance 0.191; OKLCH L 60.5% C 0.224 H 336.0°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#CD38B3
RGBrgb(205, 56, 179)
HSLhsl(310, 60%, 51%)
HSVhsv(310, 73%, 80%)
CMYKcmyk(0%, 72.7%, 12.7%, 19.6%)
CIE-LABlab(50.76, 69.68, -33.30)
CIE-LCHlch(50.76, 77.23, 334.46°)
OKLaboklab(60.51% 0.2043 -0.0908)
OKLCHoklch(60.51% 0.224 336)
XYZxyz(34.7282, 19.0653, 44.4900)
Luminance0.1906 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD38B3 #38CD52
analogous
#9C38CD #CD38B3 #CD3868
triadic
#CD38B3 #B3CD38 #38B3CD
tetradic
#CD38B3 #CD9C38 #38CD52 #3868CD
square
#CD38B3 #CD9C38 #38CD52 #3868CD
split-complementary
#CD38B3 #68CD38 #38CD9C
monochromatic
#6F1C60 #A0288B #CD38B3 #D969C6 #E69AD8

Accessibility & contrast

On white

4.36
#CD38B3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#CD38B3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD38B3
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD38B3#FFFFFF#000000##000000
##CD38B31.004.364.814.81
#FFFFFF4.361.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A6BB6
Deuteranopia (green-blind)
#6E81AF
Tritanopia (blue-blind)
#D74372
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #cd38b3;
/* rgb */ color: rgb(205, 56, 179);
/* oklch */ color: oklch(60.5% 0.224 336.0);
Tailwind
colors: {
  custom: {
    50: '#e07dca',
    500: '#cd38b3',
    950: '#000000',
  },
}
SCSS
$custom: #cd38b3;
$custom-light: #e07dca;
$custom-dark: #000000;
JSON
{
  "hex": "#cd38b3",
  "rgb": {
    "r": 205,
    "g": 56,
    "b": 179
  },
  "hsl": {
    "h": 310.47,
    "s": 59.839,
    "l": 51.176
  },
  "oklch": {
    "l": 0.60512,
    "c": 0.22355,
    "h": 336
  },
  "luminance": 0.19062
}

Semantic roles & 50–950 ramp

primary
#CD38B3
secondary
#8FD19B
accent
#E36045
background
#FEF8FC
surface
#FCEFF8
border
#D5CAD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #CD38B3

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

Preview Lab → · Contrast checker → · Palette generator →

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