#CD48A5#CD48A5

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

Color values

HEX#CD48A5
RGBrgb(205, 72, 165)
HSLhsl(318, 57%, 54%)
HSVhsv(318, 65%, 80%)
CMYKcmyk(0%, 64.9%, 19.5%, 19.6%)
CIE-LABlab(52.21, 61.91, -22.84)
CIE-LCHlch(52.21, 65.99, 339.75°)
OKLaboklab(61.36% 0.1849 -0.0613)
OKLCHoklch(61.36% 0.195 341.7)
XYZxyz(34.2867, 20.3337, 37.7091)
Luminance0.2033 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD48A5 #48CD70
analogous
#B348CD #CD48A5 #CD4863
triadic
#CD48A5 #A5CD48 #48A5CD
tetradic
#CD48A5 #CDB348 #48CD70 #4863CD
square
#CD48A5 #CDB348 #48CD70 #4863CD
split-complementary
#CD48A5 #63CD48 #48CDB3
monochromatic
#79215F #A92E84 #CD48A5 #DA78BD #E7A8D4

Accessibility & contrast

On white

4.15
#CD48A5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##CD48A5#FFFFFF#000000##000000
##CD48A51.004.155.075.07
#FFFFFF4.151.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#526FA8
Deuteranopia (green-blind)
#7A84A2
Tritanopia (blue-blind)
#D94A70
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cd48a5;
/* rgb */ color: rgb(205, 72, 165);
/* oklch */ color: oklch(61.4% 0.195 341.7);
Tailwind
colors: {
  custom: {
    50: '#e084c0',
    500: '#cd48a5',
    950: '#000000',
  },
}
SCSS
$custom: #cd48a5;
$custom-light: #e084c0;
$custom-dark: #000000;
JSON
{
  "hex": "#cd48a5",
  "rgb": {
    "r": 205,
    "g": 72,
    "b": 165
  },
  "hsl": {
    "h": 318.045,
    "s": 57.082,
    "l": 54.314
  },
  "oklch": {
    "l": 0.61364,
    "c": 0.19476,
    "h": 341.7
  },
  "luminance": 0.2033
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD48A5

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

Preview Lab → · Contrast checker → · Palette generator →

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