#CD38AA#CD38AA

#CD38AA is a mid, highly saturated pink. Relative luminance 0.187; OKLCH L 60.1% C 0.218 H 339.1°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#CD38AA
RGBrgb(205, 56, 170)
HSLhsl(314, 60%, 51%)
HSVhsv(314, 73%, 80%)
CMYKcmyk(0%, 72.7%, 17.1%, 19.6%)
CIE-LABlab(50.35, 68.41, -28.67)
CIE-LCHlch(50.35, 74.18, 337.27°)
OKLaboklab(60.08% 0.2033 -0.0776)
OKLCHoklch(60.08% 0.218 339.1)
XYZxyz(33.8475, 18.7130, 39.8518)
Luminance0.1871 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD38AA #38CD5B
analogous
#A538CD #CD38AA #CD385F
triadic
#CD38AA #AACD38 #38AACD
tetradic
#CD38AA #CDA538 #38CD5B #385FCD
square
#CD38AA #CDA538 #38CD5B #385FCD
split-complementary
#CD38AA #5FCD38 #38CDA5
monochromatic
#6F1C5B #A02884 #CD38AA #D969BF #E69AD4

Accessibility & contrast

On white

4.43
#CD38AA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#CD38AA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD38AA
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD38AA#FFFFFF#000000##000000
##CD38AA1.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4169AD
Deuteranopia (green-blind)
#7180A7
Tritanopia (blue-blind)
#D93E6D
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #cd38aa;
/* rgb */ color: rgb(205, 56, 170);
/* oklch */ color: oklch(60.1% 0.218 339.1);
Tailwind
colors: {
  custom: {
    50: '#e07cc3',
    500: '#cd38aa',
    950: '#000000',
  },
}
SCSS
$custom: #cd38aa;
$custom-light: #e07cc3;
$custom-dark: #000000;
JSON
{
  "hex": "#cd38aa",
  "rgb": {
    "r": 205,
    "g": 56,
    "b": 170
  },
  "hsl": {
    "h": 314.094,
    "s": 59.839,
    "l": 51.176
  },
  "oklch": {
    "l": 0.60078,
    "c": 0.21757,
    "h": 339.1
  },
  "luminance": 0.1871
}

Semantic roles & 50–950 ramp

primary
#CD38AA
secondary
#8FD19F
accent
#E36A45
background
#FEF8FC
surface
#FCEFF8
border
#D5CAD1
text
#160B12
muted
#847C81

Preview Lab

Preview with #CD38AA

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

Preview Lab → · Contrast checker → · Palette generator →

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