#CD4789#CD4789

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

Color values

HEX#CD4789
RGBrgb(205, 71, 137)
HSLhsl(330, 57%, 54%)
HSVhsv(330, 65%, 80%)
CMYKcmyk(0%, 65.4%, 33.2%, 19.6%)
CIE-LABlab(51.03, 58.72, -8.04)
CIE-LCHlch(51.03, 59.27, 352.21°)
OKLaboklab(60.16% 0.1793 -0.0205)
OKLCHoklch(60.16% 0.18 353.5)
XYZxyz(31.9472, 19.2953, 25.7040)
Luminance0.1929 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD4789 #47CD8B
analogous
#CD47CC #CD4789 #CD4847
triadic
#CD4789 #89CD47 #4789CD
tetradic
#CD4789 #CCCD47 #47CD8B #4847CD
square
#CD4789 #CCCD47 #47CD8B #4847CD
split-complementary
#CD4789 #47CD48 #47CCCD
monochromatic
#79214C #A92E6A #CD4789 #DA77A8 #E7A7C7

Accessibility & contrast

On white

4.32
#CD4789 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#CD4789 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD4789
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD4789#FFFFFF#000000##000000
##CD47891.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C6A8B
Deuteranopia (green-blind)
#828386
Tritanopia (blue-blind)
#DC3E62
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #cd4789;
/* rgb */ color: rgb(205, 71, 137);
/* oklch */ color: oklch(60.2% 0.180 353.5);
Tailwind
colors: {
  custom: {
    50: '#e083ab',
    500: '#cd4789',
    950: '#000000',
  },
}
SCSS
$custom: #cd4789;
$custom-light: #e083ab;
$custom-dark: #000000;
JSON
{
  "hex": "#cd4789",
  "rgb": {
    "r": 205,
    "g": 71,
    "b": 137
  },
  "hsl": {
    "h": 330.448,
    "s": 57.265,
    "l": 54.118
  },
  "oklch": {
    "l": 0.60156,
    "c": 0.18044,
    "h": 353.5
  },
  "luminance": 0.19292
}

Semantic roles & 50–950 ramp

primary
#CD4789
secondary
#9BD4B8
accent
#E19547
background
#FEF8FA
surface
#FDEFF4
border
#D5CACE
text
#160B10
muted
#847C7F

Preview Lab

Preview with #CD4789

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

Preview Lab → · Contrast checker → · Palette generator →

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