#CD48A7#CD48A7

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

Color values

HEX#CD48A7
RGBrgb(205, 72, 167)
HSLhsl(317, 57%, 54%)
HSVhsv(317, 65%, 80%)
CMYKcmyk(0%, 64.9%, 18.5%, 19.6%)
CIE-LABlab(52.29, 62.19, -23.89)
CIE-LCHlch(52.29, 66.62, 338.99°)
OKLaboklab(61.45% 0.1853 -0.0642)
OKLCHoklch(61.45% 0.196 340.9)
XYZxyz(34.4701, 20.4071, 38.6753)
Luminance0.2040 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD48A7 #48CD6E
analogous
#B148CD #CD48A7 #CD4865
triadic
#CD48A7 #A7CD48 #48A7CD
tetradic
#CD48A7 #CDB148 #48CD6E #4865CD
square
#CD48A7 #CDB148 #48CD6E #4865CD
split-complementary
#CD48A7 #65CD48 #48CDB1
monochromatic
#792160 #A92E86 #CD48A7 #DA78BE #E7A8D5

Accessibility & contrast

On white

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

On black

5.08
#CD48A7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD48A7
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD48A7#FFFFFF#000000##000000
##CD48A71.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#516FAA
Deuteranopia (green-blind)
#7985A4
Tritanopia (blue-blind)
#D94B71
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cd48a7;
/* rgb */ color: rgb(205, 72, 167);
/* oklch */ color: oklch(61.5% 0.196 340.9);
Tailwind
colors: {
  custom: {
    50: '#e084c1',
    500: '#cd48a7',
    950: '#000000',
  },
}
SCSS
$custom: #cd48a7;
$custom-light: #e084c1;
$custom-dark: #000000;
JSON
{
  "hex": "#cd48a7",
  "rgb": {
    "r": 205,
    "g": 72,
    "b": 167
  },
  "hsl": {
    "h": 317.143,
    "s": 57.082,
    "l": 54.314
  },
  "oklch": {
    "l": 0.61451,
    "c": 0.19607,
    "h": 340.9
  },
  "luminance": 0.20404
}

Semantic roles & 50–950 ramp

primary
#CD48A7
secondary
#9CD5AC
accent
#E07347
background
#FEF8FB
surface
#FCF0F7
border
#D5CBD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #CD48A7

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

Preview Lab → · Contrast checker → · Palette generator →

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