#CD4978#CD4978

#CD4978 is a mid, vivid pink. Relative luminance 0.191; OKLCH L 59.8% C 0.171 H 1.8°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#CD4978
RGBrgb(205, 73, 120)
HSLhsl(339, 57%, 55%)
HSVhsv(339, 64%, 80%)
CMYKcmyk(0%, 64.4%, 41.5%, 19.6%)
CIE-LABlab(50.81, 56.03, 1.83)
CIE-LCHlch(50.81, 56.06, 1.88°)
OKLaboklab(59.82% 0.1712 0.0054)
OKLCHoklch(59.82% 0.171 1.8)
XYZxyz(30.9517, 19.1040, 19.8231)
Luminance0.1910 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD4978 #49CD9E
analogous
#CD49BA #CD4978 #CD5C49
triadic
#CD4978 #78CD49 #4978CD
tetradic
#CD4978 #BACD49 #49CD9E #5C49CD
square
#CD4978 #BACD49 #49CD9E #5C49CD
split-complementary
#CD4978 #49CD5C #49BACD
monochromatic
#7A2241 #AA2F5B #CD4978 #DA799C #E7A9BF

Accessibility & contrast

On white

4.36
#CD4978 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#CD4978 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD4978
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD4978#FFFFFF#000000##000000
##CD49781.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#636979
Deuteranopia (green-blind)
#868275
Tritanopia (blue-blind)
#DE3A5C
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #cd4978;
/* rgb */ color: rgb(205, 73, 120);
/* oklch */ color: oklch(59.8% 0.171 1.8);
Tailwind
colors: {
  custom: {
    50: '#e1839e',
    500: '#cd4978',
    950: '#000000',
  },
}
SCSS
$custom: #cd4978;
$custom-light: #e1839e;
$custom-dark: #000000;
JSON
{
  "hex": "#cd4978",
  "rgb": {
    "r": 205,
    "g": 73,
    "b": 120
  },
  "hsl": {
    "h": 338.636,
    "s": 56.897,
    "l": 54.51
  },
  "oklch": {
    "l": 0.5982,
    "c": 0.17133,
    "h": 1.8
  },
  "luminance": 0.191
}

Semantic roles & 50–950 ramp

primary
#CD4978
secondary
#9DD5C1
accent
#E0AA48
background
#FEF8F9
surface
#FDF0F2
border
#D5CBCC
text
#160B0E
muted
#847C7E

Preview Lab

Preview with #CD4978

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

Preview Lab → · Contrast checker → · Palette generator →

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