#CD4979#CD4979

#CD4979 is a mid, vivid pink. Relative luminance 0.191; OKLCH L 59.9% C 0.172 H 1.3°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#CD4979
RGBrgb(205, 73, 121)
HSLhsl(338, 57%, 55%)
HSVhsv(338, 64%, 80%)
CMYKcmyk(0%, 64.4%, 41%, 19.6%)
CIE-LABlab(50.84, 56.13, 1.27)
CIE-LCHlch(50.84, 56.14, 1.30°)
OKLaboklab(59.85% 0.1716 0.004)
OKLCHoklch(59.85% 0.172 1.3)
XYZxyz(31.0127, 19.1284, 20.1444)
Luminance0.1913 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD4979 #49CD9D
analogous
#CD49BB #CD4979 #CD5B49
triadic
#CD4979 #79CD49 #4979CD
tetradic
#CD4979 #BBCD49 #49CD9D #5B49CD
square
#CD4979 #BBCD49 #49CD9D #5B49CD
split-complementary
#CD4979 #49CD5B #49BBCD
monochromatic
#7A2242 #AA2F5C #CD4979 #DA799C #E7A9C0

Accessibility & contrast

On white

4.35
#CD4979 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#CD4979 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD4979
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD4979#FFFFFF#000000##000000
##CD49791.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#63697A
Deuteranopia (green-blind)
#868276
Tritanopia (blue-blind)
#DE3A5C
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #cd4979;
/* rgb */ color: rgb(205, 73, 121);
/* oklch */ color: oklch(59.9% 0.172 1.3);
Tailwind
colors: {
  custom: {
    50: '#e1839f',
    500: '#cd4979',
    950: '#000000',
  },
}
SCSS
$custom: #cd4979;
$custom-light: #e1839f;
$custom-dark: #000000;
JSON
{
  "hex": "#cd4979",
  "rgb": {
    "r": 205,
    "g": 73,
    "b": 121
  },
  "hsl": {
    "h": 338.182,
    "s": 56.897,
    "l": 54.51
  },
  "oklch": {
    "l": 0.59851,
    "c": 0.17163,
    "h": 1.3
  },
  "luminance": 0.19125
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD4979

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

Preview Lab → · Contrast checker → · Palette generator →

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