#CD4078#CD4078

#CD4078 is a mid, vivid pink. Relative luminance 0.180; OKLCH L 58.9% C 0.183 H 0.2°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#CD4078
RGBrgb(205, 64, 120)
HSLhsl(336, 59%, 53%)
HSVhsv(336, 69%, 80%)
CMYKcmyk(0%, 68.8%, 41.5%, 19.6%)
CIE-LABlab(49.50, 59.61, -0.07)
CIE-LCHlch(49.50, 59.61, 359.94°)
OKLaboklab(58.85% 0.1826 0.0005)
OKLCHoklch(58.85% 0.183 0.2)
XYZxyz(30.4025, 18.0057, 19.6401)
Luminance0.1800 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD4078 #40CD95
analogous
#CD40BF #CD4078 #CD4E40
triadic
#CD4078 #78CD40 #4078CD
tetradic
#CD4078 #BFCD40 #40CD95 #4E40CD
square
#CD4078 #BFCD40 #40CD95 #4E40CD
split-complementary
#CD4078 #40CD4E #40BFCD
monochromatic
#741E40 #A52B5B #CD4078 #DA719A #E6A1BD

Accessibility & contrast

On white

4.56
#CD4078 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#CD4078 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD4078
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD4078#FFFFFF#000000##000000
##CD40781.004.564.604.60
#FFFFFF4.561.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D6579
Deuteranopia (green-blind)
#838075
Tritanopia (blue-blind)
#DE2E57
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #cd4078;
/* rgb */ color: rgb(205, 64, 120);
/* oklch */ color: oklch(58.9% 0.183 0.2);
Tailwind
colors: {
  custom: {
    50: '#e17f9e',
    500: '#cd4078',
    950: '#000000',
  },
}
SCSS
$custom: #cd4078;
$custom-light: #e17f9e;
$custom-dark: #000000;
JSON
{
  "hex": "#cd4078",
  "rgb": {
    "r": 205,
    "g": 64,
    "b": 120
  },
  "hsl": {
    "h": 336.17,
    "s": 58.506,
    "l": 52.745
  },
  "oklch": {
    "l": 0.58853,
    "c": 0.18259,
    "h": 0.2
  },
  "luminance": 0.18002
}

Semantic roles & 50–950 ramp

primary
#CD4078
secondary
#96D3BB
accent
#E2A446
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#160B0E
muted
#847C7E

Preview Lab

Preview with #CD4078

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

Preview Lab → · Contrast checker → · Palette generator →

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