#CD48B1#CD48B1

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

Color values

HEX#CD48B1
RGBrgb(205, 72, 177)
HSLhsl(313, 57%, 54%)
HSVhsv(313, 65%, 80%)
CMYKcmyk(0%, 64.9%, 13.7%, 19.6%)
CIE-LABlab(52.72, 63.64, -29.08)
CIE-LCHlch(52.72, 69.97, 335.44°)
OKLaboklab(61.9% 0.187 -0.0789)
OKLCHoklch(61.9% 0.203 337.1)
XYZxyz(35.4306, 20.7912, 43.7335)
Luminance0.2079 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD48B1 #48CD64
analogous
#A748CD #CD48B1 #CD486E
triadic
#CD48B1 #B1CD48 #48B1CD
tetradic
#CD48B1 #CDA748 #48CD64 #486ECD
square
#CD48B1 #CDA748 #48CD64 #486ECD
split-complementary
#CD48B1 #6ECD48 #48CDA7
monochromatic
#792167 #A92E90 #CD48B1 #DA78C5 #E7A8DA

Accessibility & contrast

On white

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

On black

5.16
#CD48B1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD48B1
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD48B1#FFFFFF#000000##000000
##CD48B11.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B71B4
Deuteranopia (green-blind)
#7685AE
Tritanopia (blue-blind)
#D74F76
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cd48b1;
/* rgb */ color: rgb(205, 72, 177);
/* oklch */ color: oklch(61.9% 0.203 337.1);
Tailwind
colors: {
  custom: {
    50: '#e084c8',
    500: '#cd48b1',
    950: '#000000',
  },
}
SCSS
$custom: #cd48b1;
$custom-light: #e084c8;
$custom-dark: #000000;
JSON
{
  "hex": "#cd48b1",
  "rgb": {
    "r": 205,
    "g": 72,
    "b": 177
  },
  "hsl": {
    "h": 312.632,
    "s": 57.082,
    "l": 54.314
  },
  "oklch": {
    "l": 0.61901,
    "c": 0.20291,
    "h": 337.1
  },
  "luminance": 0.20788
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD48B1

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

Preview Lab → · Contrast checker → · Palette generator →

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