#CD48A8#CD48A8

#CD48A8 is a mid, vivid pink. Relative luminance 0.204; OKLCH L 61.5% C 0.197 H 340.5°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#CD48A8
RGBrgb(205, 72, 168)
HSLhsl(317, 57%, 54%)
HSVhsv(317, 65%, 80%)
CMYKcmyk(0%, 64.9%, 18%, 19.6%)
CIE-LABlab(52.34, 62.33, -24.41)
CIE-LCHlch(52.34, 66.94, 338.61°)
OKLaboklab(61.5% 0.1855 -0.0657)
OKLCHoklch(61.5% 0.197 340.5)
XYZxyz(34.5629, 20.4442, 39.1640)
Luminance0.2044 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD48A8 #48CD6D
analogous
#B048CD #CD48A8 #CD4866
triadic
#CD48A8 #A8CD48 #48A8CD
tetradic
#CD48A8 #CDB048 #48CD6D #4866CD
square
#CD48A8 #CDB048 #48CD6D #4866CD
split-complementary
#CD48A8 #66CD48 #48CDB0
monochromatic
#792161 #A92E87 #CD48A8 #DA78BF #E7A8D6

Accessibility & contrast

On white

4.13
#CD48A8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#CD48A8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD48A8
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD48A8#FFFFFF#000000##000000
##CD48A81.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#506FAB
Deuteranopia (green-blind)
#7985A5
Tritanopia (blue-blind)
#D94B71
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cd48a8;
/* rgb */ color: rgb(205, 72, 168);
/* oklch */ color: oklch(61.5% 0.197 340.5);
Tailwind
colors: {
  custom: {
    50: '#e084c2',
    500: '#cd48a8',
    950: '#000000',
  },
}
SCSS
$custom: #cd48a8;
$custom-light: #e084c2;
$custom-dark: #000000;
JSON
{
  "hex": "#cd48a8",
  "rgb": {
    "r": 205,
    "g": 72,
    "b": 168
  },
  "hsl": {
    "h": 316.692,
    "s": 57.082,
    "l": 54.314
  },
  "oklch": {
    "l": 0.61495,
    "c": 0.19673,
    "h": 340.5
  },
  "luminance": 0.20441
}

Semantic roles & 50–950 ramp

primary
#CD48A8
secondary
#9CD5AC
accent
#E07247
background
#FEF8FB
surface
#FCF0F7
border
#D5CBD0
text
#160C12
muted
#847D81

Preview Lab

Preview with #CD48A8

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

Preview Lab → · Contrast checker → · Palette generator →

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