#CD48A6#CD48A6

#CD48A6 is a mid, vivid pink. Relative luminance 0.204; OKLCH L 61.4% C 0.195 H 341.3°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#CD48A6
RGBrgb(205, 72, 166)
HSLhsl(318, 57%, 54%)
HSVhsv(318, 65%, 80%)
CMYKcmyk(0%, 64.9%, 19%, 19.6%)
CIE-LABlab(52.25, 62.05, -23.37)
CIE-LCHlch(52.25, 66.31, 339.36°)
OKLaboklab(61.41% 0.1851 -0.0627)
OKLCHoklch(61.41% 0.195 341.3)
XYZxyz(34.3780, 20.3702, 38.1903)
Luminance0.2037 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD48A6 #48CD6F
analogous
#B248CD #CD48A6 #CD4864
triadic
#CD48A6 #A6CD48 #48A6CD
tetradic
#CD48A6 #CDB248 #48CD6F #4864CD
square
#CD48A6 #CDB248 #48CD6F #4864CD
split-complementary
#CD48A6 #64CD48 #48CDB2
monochromatic
#792160 #A92E85 #CD48A6 #DA78BD #E7A8D5

Accessibility & contrast

On white

4.14
#CD48A6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#CD48A6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD48A6
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD48A6#FFFFFF#000000##000000
##CD48A61.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#516FA9
Deuteranopia (green-blind)
#7A85A3
Tritanopia (blue-blind)
#D94A71
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cd48a6;
/* rgb */ color: rgb(205, 72, 166);
/* oklch */ color: oklch(61.4% 0.195 341.3);
Tailwind
colors: {
  custom: {
    50: '#e084c0',
    500: '#cd48a6',
    950: '#000000',
  },
}
SCSS
$custom: #cd48a6;
$custom-light: #e084c0;
$custom-dark: #000000;
JSON
{
  "hex": "#cd48a6",
  "rgb": {
    "r": 205,
    "g": 72,
    "b": 166
  },
  "hsl": {
    "h": 317.594,
    "s": 57.082,
    "l": 54.314
  },
  "oklch": {
    "l": 0.61408,
    "c": 0.19542,
    "h": 341.3
  },
  "luminance": 0.20367
}

Semantic roles & 50–950 ramp

primary
#CD48A6
secondary
#9CD5AD
accent
#E07447
background
#FEF8FB
surface
#FCF0F7
border
#D5CBD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #CD48A6

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

Preview Lab → · Contrast checker → · Palette generator →

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