#CD48B3#CD48B3

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

Color values

HEX#CD48B3
RGBrgb(205, 72, 179)
HSLhsl(312, 57%, 54%)
HSVhsv(312, 65%, 80%)
CMYKcmyk(0%, 64.9%, 12.7%, 19.6%)
CIE-LABlab(52.81, 63.94, -30.11)
CIE-LCHlch(52.81, 70.67, 334.78°)
OKLaboklab(62% 0.1872 -0.0818)
OKLCHoklch(62% 0.204 336.4)
XYZxyz(35.6314, 20.8716, 44.7911)
Luminance0.2087 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD48B3 #48CD62
analogous
#A548CD #CD48B3 #CD4871
triadic
#CD48B3 #B3CD48 #48B3CD
tetradic
#CD48B3 #CDA548 #48CD62 #4871CD
square
#CD48B3 #CDA548 #48CD62 #4871CD
split-complementary
#CD48B3 #71CD48 #48CDA5
monochromatic
#792168 #A92E91 #CD48B3 #DA78C7 #E7A8DB

Accessibility & contrast

On white

4.06
#CD48B3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##CD48B3#FFFFFF#000000##000000
##CD48B31.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cd48b3;
/* rgb */ color: rgb(205, 72, 179);
/* oklch */ color: oklch(62.0% 0.204 336.4);
Tailwind
colors: {
  custom: {
    50: '#e084ca',
    500: '#cd48b3',
    950: '#000000',
  },
}
SCSS
$custom: #cd48b3;
$custom-light: #e084ca;
$custom-dark: #000000;
JSON
{
  "hex": "#cd48b3",
  "rgb": {
    "r": 205,
    "g": 72,
    "b": 179
  },
  "hsl": {
    "h": 311.729,
    "s": 57.082,
    "l": 54.314
  },
  "oklch": {
    "l": 0.61995,
    "c": 0.20433,
    "h": 336.4
  },
  "luminance": 0.20869
}

Semantic roles & 50–950 ramp

primary
#CD48B3
secondary
#9CD5A7
accent
#E06547
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160C13
muted
#847D82

Preview Lab

Preview with #CD48B3

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

Preview Lab → · Contrast checker → · Palette generator →

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