#CD48B2#CD48B2

#CD48B2 is a mid, highly saturated pink. Relative luminance 0.208; OKLCH L 61.9% C 0.204 H 336.8°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#CD48B2
RGBrgb(205, 72, 178)
HSLhsl(312, 57%, 54%)
HSVhsv(312, 65%, 80%)
CMYKcmyk(0%, 64.9%, 13.2%, 19.6%)
CIE-LABlab(52.76, 63.79, -29.60)
CIE-LCHlch(52.76, 70.32, 335.11°)
OKLaboklab(61.95% 0.1871 -0.0803)
OKLCHoklch(61.95% 0.204 336.8)
XYZxyz(35.5306, 20.8312, 44.2604)
Luminance0.2083 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD48B2 #48CD63
analogous
#A548CD #CD48B2 #CD4870
triadic
#CD48B2 #B2CD48 #48B2CD
tetradic
#CD48B2 #CDA548 #48CD63 #4870CD
square
#CD48B2 #CDA548 #48CD63 #4870CD
split-complementary
#CD48B2 #70CD48 #48CDA5
monochromatic
#792168 #A92E90 #CD48B2 #DA78C6 #E7A8DA

Accessibility & contrast

On white

4.07
#CD48B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#CD48B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD48B2
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD48B2#FFFFFF#000000##000000
##CD48B21.004.075.175.17
#FFFFFF4.071.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B71B5
Deuteranopia (green-blind)
#7585AF
Tritanopia (blue-blind)
#D74F77
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cd48b2;
/* rgb */ color: rgb(205, 72, 178);
/* oklch */ color: oklch(61.9% 0.204 336.8);
Tailwind
colors: {
  custom: {
    50: '#e084c9',
    500: '#cd48b2',
    950: '#000000',
  },
}
SCSS
$custom: #cd48b2;
$custom-light: #e084c9;
$custom-dark: #000000;
JSON
{
  "hex": "#cd48b2",
  "rgb": {
    "r": 205,
    "g": 72,
    "b": 178
  },
  "hsl": {
    "h": 312.18,
    "s": 57.082,
    "l": 54.314
  },
  "oklch": {
    "l": 0.61948,
    "c": 0.20361,
    "h": 336.8
  },
  "luminance": 0.20828
}

Semantic roles & 50–950 ramp

primary
#CD48B2
secondary
#9CD5A8
accent
#E06647
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160C13
muted
#847D82

Preview Lab

Preview with #CD48B2

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

Preview Lab → · Contrast checker → · Palette generator →

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