#CD4E7A#CD4E7A

#CD4E7A is a mid, vivid pink. Relative luminance 0.198; OKLCH L 60.5% C 0.165 H 1.9°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#CD4E7A
RGBrgb(205, 78, 122)
HSLhsl(339, 56%, 55%)
HSVhsv(339, 62%, 80%)
CMYKcmyk(0%, 62%, 40.5%, 19.6%)
CIE-LABlab(51.65, 54.10, 1.86)
CIE-LCHlch(51.65, 54.13, 1.97°)
OKLaboklab(60.47% 0.1652 0.0055)
OKLCHoklch(60.47% 0.165 1.9)
XYZxyz(31.4161, 19.8367, 20.5830)
Luminance0.1983 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD4E7A #4ECDA1
analogous
#CD4EB9 #CD4E7A #CD624E
triadic
#CD4E7A #7ACD4E #4E7ACD
tetradic
#CD4E7A #B9CD4E #4ECDA1 #624ECD
square
#CD4E7A #B9CD4E #4ECDA1 #624ECD
split-complementary
#CD4E7A #4ECD62 #4EB9CD
monochromatic
#7D2343 #AD315C #CD4E7A #DA7E9E #E8ADC2

Accessibility & contrast

On white

4.23
#CD4E7A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#CD4E7A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD4E7A
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD4E7A#FFFFFF#000000##000000
##CD4E7A1.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#666C7B
Deuteranopia (green-blind)
#888477
Tritanopia (blue-blind)
#DD405F
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cd4e7a;
/* rgb */ color: rgb(205, 78, 122);
/* oklch */ color: oklch(60.5% 0.165 1.9);
Tailwind
colors: {
  custom: {
    50: '#e186a0',
    500: '#cd4e7a',
    950: '#000000',
  },
}
SCSS
$custom: #cd4e7a;
$custom-light: #e186a0;
$custom-dark: #000000;
JSON
{
  "hex": "#cd4e7a",
  "rgb": {
    "r": 205,
    "g": 78,
    "b": 122
  },
  "hsl": {
    "h": 339.213,
    "s": 55.947,
    "l": 55.49
  },
  "oklch": {
    "l": 0.60466,
    "c": 0.16529,
    "h": 1.9
  },
  "luminance": 0.19833
}

Semantic roles & 50–950 ramp

primary
#CD4E7A
secondary
#A1D6C4
accent
#DFAB49
background
#FEF8F9
surface
#FDF0F2
border
#D5CBCC
text
#160C0E
muted
#847D7E

Preview Lab

Preview with #CD4E7A

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

Preview Lab → · Contrast checker → · Palette generator →

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