#CD48A2#CD48A2

#CD48A2 is a mid, vivid pink. Relative luminance 0.202; OKLCH L 61.2% C 0.193 H 342.9°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#CD48A2
RGBrgb(205, 72, 162)
HSLhsl(319, 57%, 54%)
HSVhsv(319, 65%, 80%)
CMYKcmyk(0%, 64.9%, 21%, 19.6%)
CIE-LABlab(52.09, 61.50, -21.27)
CIE-LCHlch(52.09, 65.07, 340.93°)
OKLaboklab(61.24% 0.1843 -0.0568)
OKLCHoklch(61.24% 0.193 342.9)
XYZxyz(34.0168, 20.2257, 36.2879)
Luminance0.2022 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD48A2 #48CD73
analogous
#B548CD #CD48A2 #CD4860
triadic
#CD48A2 #A2CD48 #48A2CD
tetradic
#CD48A2 #CDB548 #48CD73 #4860CD
square
#CD48A2 #CDB548 #48CD73 #4860CD
split-complementary
#CD48A2 #60CD48 #48CDB5
monochromatic
#79215D #A92E82 #CD48A2 #DA78BA #E7A8D3

Accessibility & contrast

On white

4.16
#CD48A2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#CD48A2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD48A2
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD48A2#FFFFFF#000000##000000
##CD48A21.004.165.045.04
#FFFFFF4.161.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#536EA5
Deuteranopia (green-blind)
#7B849F
Tritanopia (blue-blind)
#D9496F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cd48a2;
/* rgb */ color: rgb(205, 72, 162);
/* oklch */ color: oklch(61.2% 0.193 342.9);
Tailwind
colors: {
  custom: {
    50: '#e084bd',
    500: '#cd48a2',
    950: '#000000',
  },
}
SCSS
$custom: #cd48a2;
$custom-light: #e084bd;
$custom-dark: #000000;
JSON
{
  "hex": "#cd48a2",
  "rgb": {
    "r": 205,
    "g": 72,
    "b": 162
  },
  "hsl": {
    "h": 319.398,
    "s": 57.082,
    "l": 54.314
  },
  "oklch": {
    "l": 0.61236,
    "c": 0.19284,
    "h": 342.9
  },
  "luminance": 0.20223
}

Semantic roles & 50–950 ramp

primary
#CD48A2
secondary
#9CD5AE
accent
#E07947
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #CD48A2

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

Preview Lab → · Contrast checker → · Palette generator →

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