#CD4E7F#CD4E7F

#CD4E7F is a mid, vivid pink. Relative luminance 0.200; OKLCH L 60.6% C 0.167 H 359.4°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#CD4E7F
RGBrgb(205, 78, 127)
HSLhsl(337, 56%, 55%)
HSVhsv(337, 62%, 80%)
CMYKcmyk(0%, 62%, 38%, 19.6%)
CIE-LABlab(51.80, 54.64, -0.92)
CIE-LCHlch(51.80, 54.65, 359.03°)
OKLaboklab(60.62% 0.1669 -0.0017)
OKLCHoklch(60.62% 0.167 359.4)
XYZxyz(31.7339, 19.9638, 22.2568)
Luminance0.1996 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD4E7F #4ECD9C
analogous
#CD4EBF #CD4E7F #CD5C4E
triadic
#CD4E7F #7FCD4E #4E7FCD
tetradic
#CD4E7F #BFCD4E #4ECD9C #5C4ECD
square
#CD4E7F #BFCD4E #4ECD9C #5C4ECD
split-complementary
#CD4E7F #4ECD5C #4EBFCD
monochromatic
#7D2346 #AD3161 #CD4E7F #DA7EA2 #E8ADC4

Accessibility & contrast

On white

4.21
#CD4E7F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#CD4E7F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD4E7F
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD4E7F#FFFFFF#000000##000000
##CD4E7F1.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#656C80
Deuteranopia (green-blind)
#87847C
Tritanopia (blue-blind)
#DD4261
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cd4e7f;
/* rgb */ color: rgb(205, 78, 127);
/* oklch */ color: oklch(60.6% 0.167 359.4);
Tailwind
colors: {
  custom: {
    50: '#e086a4',
    500: '#cd4e7f',
    950: '#000000',
  },
}
SCSS
$custom: #cd4e7f;
$custom-light: #e086a4;
$custom-dark: #000000;
JSON
{
  "hex": "#cd4e7f",
  "rgb": {
    "r": 205,
    "g": 78,
    "b": 127
  },
  "hsl": {
    "h": 336.85,
    "s": 55.947,
    "l": 55.49
  },
  "oklch": {
    "l": 0.6062,
    "c": 0.16692,
    "h": 359.4
  },
  "luminance": 0.1996
}

Semantic roles & 50–950 ramp

primary
#CD4E7F
secondary
#A1D6C1
accent
#DFA549
background
#FEF8FA
surface
#FDF0F3
border
#D5CBCD
text
#160C0F
muted
#847D7F

Preview Lab

Preview with #CD4E7F

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

Preview Lab → · Contrast checker → · Palette generator →

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