#CD38B4#CD38B4

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

Color values

HEX#CD38B4
RGBrgb(205, 56, 180)
HSLhsl(310, 60%, 51%)
HSVhsv(310, 73%, 80%)
CMYKcmyk(0%, 72.7%, 12.2%, 19.6%)
CIE-LABlab(50.81, 69.82, -33.81)
CIE-LCHlch(50.81, 77.58, 334.16°)
OKLaboklab(60.56% 0.2044 -0.0922)
OKLCHoklch(60.56% 0.224 335.7)
XYZxyz(34.8297, 19.1059, 45.0246)
Luminance0.1910 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD38B4 #38CD51
analogous
#9B38CD #CD38B4 #CD3869
triadic
#CD38B4 #B4CD38 #38B4CD
tetradic
#CD38B4 #CD9B38 #38CD51 #3869CD
square
#CD38B4 #CD9B38 #38CD51 #3869CD
split-complementary
#CD38B4 #69CD38 #38CD9B
monochromatic
#6F1C61 #A0288C #CD38B4 #D969C6 #E69AD9

Accessibility & contrast

On white

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

On black

4.82
#CD38B4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD38B4
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD38B4#FFFFFF#000000##000000
##CD38B41.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#396BB7
Deuteranopia (green-blind)
#6D81B0
Tritanopia (blue-blind)
#D74372
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #cd38b4;
/* rgb */ color: rgb(205, 56, 180);
/* oklch */ color: oklch(60.6% 0.224 335.7);
Tailwind
colors: {
  custom: {
    50: '#e07dcb',
    500: '#cd38b4',
    950: '#000000',
  },
}
SCSS
$custom: #cd38b4;
$custom-light: #e07dcb;
$custom-dark: #000000;
JSON
{
  "hex": "#cd38b4",
  "rgb": {
    "r": 205,
    "g": 56,
    "b": 180
  },
  "hsl": {
    "h": 310.067,
    "s": 59.839,
    "l": 51.176
  },
  "oklch": {
    "l": 0.60561,
    "c": 0.22423,
    "h": 335.7
  },
  "luminance": 0.19103
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD38B4

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

Preview Lab → · Contrast checker → · Palette generator →

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