#CD38AF#CD38AF

#CD38AF is a mid, highly saturated pink. Relative luminance 0.189; OKLCH L 60.3% C 0.221 H 337.4°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#CD38AF
RGBrgb(205, 56, 175)
HSLhsl(312, 60%, 51%)
HSVhsv(312, 73%, 80%)
CMYKcmyk(0%, 72.7%, 14.6%, 19.6%)
CIE-LABlab(50.58, 69.11, -31.25)
CIE-LCHlch(50.58, 75.85, 335.67°)
OKLaboklab(60.32% 0.2039 -0.0849)
OKLCHoklch(60.32% 0.221 337.4)
XYZxyz(34.3295, 18.9058, 42.3903)
Luminance0.1890 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD38AF #38CD56
analogous
#A138CD #CD38AF #CD3864
triadic
#CD38AF #AFCD38 #38AFCD
tetradic
#CD38AF #CDA138 #38CD56 #3864CD
square
#CD38AF #CDA138 #38CD56 #3864CD
split-complementary
#CD38AF #64CD38 #38CDA1
monochromatic
#6F1C5E #A02888 #CD38AF #D969C3 #E69AD6

Accessibility & contrast

On white

4.39
#CD38AF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#CD38AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD38AF
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD38AF#FFFFFF#000000##000000
##CD38AF1.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D6AB2
Deuteranopia (green-blind)
#7081AB
Tritanopia (blue-blind)
#D84170
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #cd38af;
/* rgb */ color: rgb(205, 56, 175);
/* oklch */ color: oklch(60.3% 0.221 337.4);
Tailwind
colors: {
  custom: {
    50: '#e07dc7',
    500: '#cd38af',
    950: '#000000',
  },
}
SCSS
$custom: #cd38af;
$custom-light: #e07dc7;
$custom-dark: #000000;
JSON
{
  "hex": "#cd38af",
  "rgb": {
    "r": 205,
    "g": 56,
    "b": 175
  },
  "hsl": {
    "h": 312.081,
    "s": 59.839,
    "l": 51.176
  },
  "oklch": {
    "l": 0.60316,
    "c": 0.22085,
    "h": 337.4
  },
  "luminance": 0.18903
}

Semantic roles & 50–950 ramp

primary
#CD38AF
secondary
#8FD19D
accent
#E36545
background
#FEF8FC
surface
#FCEFF8
border
#D5CAD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #CD38AF

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

Preview Lab → · Contrast checker → · Palette generator →

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