#CD4788#CD4788

#CD4788 is a mid, vivid pink. Relative luminance 0.193; OKLCH L 60.1% C 0.180 H 353.9°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#CD4788
RGBrgb(205, 71, 136)
HSLhsl(331, 57%, 54%)
HSVhsv(331, 65%, 80%)
CMYKcmyk(0%, 65.4%, 33.7%, 19.6%)
CIE-LABlab(51.00, 58.60, -7.49)
CIE-LCHlch(51.00, 59.08, 352.72°)
OKLaboklab(60.12% 0.179 -0.0191)
OKLCHoklch(60.12% 0.18 353.9)
XYZxyz(31.8758, 19.2667, 25.3280)
Luminance0.1926 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD4788 #47CD8C
analogous
#CD47CB #CD4788 #CD4947
triadic
#CD4788 #88CD47 #4788CD
tetradic
#CD4788 #CBCD47 #47CD8C #4947CD
square
#CD4788 #CBCD47 #47CD8C #4947CD
split-complementary
#CD4788 #47CD49 #47CBCD
monochromatic
#79214B #A92E6A #CD4788 #DA77A7 #E7A7C6

Accessibility & contrast

On white

4.33
#CD4788 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#CD4788 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD4788
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD4788#FFFFFF#000000##000000
##CD47881.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D6A8A
Deuteranopia (green-blind)
#828285
Tritanopia (blue-blind)
#DC3D62
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #cd4788;
/* rgb */ color: rgb(205, 71, 136);
/* oklch */ color: oklch(60.1% 0.180 353.9);
Tailwind
colors: {
  custom: {
    50: '#e083aa',
    500: '#cd4788',
    950: '#000000',
  },
}
SCSS
$custom: #cd4788;
$custom-light: #e083aa;
$custom-dark: #000000;
JSON
{
  "hex": "#cd4788",
  "rgb": {
    "r": 205,
    "g": 71,
    "b": 136
  },
  "hsl": {
    "h": 330.896,
    "s": 57.265,
    "l": 54.118
  },
  "oklch": {
    "l": 0.60121,
    "c": 0.17999,
    "h": 353.9
  },
  "luminance": 0.19263
}

Semantic roles & 50–950 ramp

primary
#CD4788
secondary
#9BD4B9
accent
#E19647
background
#FEF8FA
surface
#FDEFF4
border
#D5CACE
text
#160B10
muted
#847C7F

Preview Lab

Preview with #CD4788

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

Preview Lab → · Contrast checker → · Palette generator →

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