#CD38A9#CD38A9

#CD38A9 is a mid, highly saturated pink. Relative luminance 0.187; OKLCH L 60.0% C 0.217 H 339.5°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#CD38A9
RGBrgb(205, 56, 169)
HSLhsl(314, 60%, 51%)
HSVhsv(314, 73%, 80%)
CMYKcmyk(0%, 72.7%, 17.6%, 19.6%)
CIE-LABlab(50.31, 68.28, -28.15)
CIE-LCHlch(50.31, 73.85, 337.60°)
OKLaboklab(60.03% 0.2031 -0.0761)
OKLCHoklch(60.03% 0.217 339.5)
XYZxyz(33.7533, 18.6753, 39.3555)
Luminance0.1867 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD38A9 #38CD5C
analogous
#A638CD #CD38A9 #CD385E
triadic
#CD38A9 #A9CD38 #38A9CD
tetradic
#CD38A9 #CDA638 #38CD5C #385ECD
square
#CD38A9 #CDA638 #38CD5C #385ECD
split-complementary
#CD38A9 #5ECD38 #38CDA6
monochromatic
#6F1C5B #A02883 #CD38A9 #D969BE #E69AD3

Accessibility & contrast

On white

4.44
#CD38A9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#CD38A9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD38A9
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD38A9#FFFFFF#000000##000000
##CD38A91.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4169AC
Deuteranopia (green-blind)
#7280A6
Tritanopia (blue-blind)
#D93E6C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #cd38a9;
/* rgb */ color: rgb(205, 56, 169);
/* oklch */ color: oklch(60.0% 0.217 339.5);
Tailwind
colors: {
  custom: {
    50: '#e07cc3',
    500: '#cd38a9',
    950: '#000000',
  },
}
SCSS
$custom: #cd38a9;
$custom-light: #e07cc3;
$custom-dark: #000000;
JSON
{
  "hex": "#cd38a9",
  "rgb": {
    "r": 205,
    "g": 56,
    "b": 169
  },
  "hsl": {
    "h": 314.497,
    "s": 59.839,
    "l": 51.176
  },
  "oklch": {
    "l": 0.60031,
    "c": 0.21691,
    "h": 339.5
  },
  "luminance": 0.18672
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD38A9

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

Preview Lab → · Contrast checker → · Palette generator →

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