#CD4E7B#CD4E7B

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

Color values

HEX#CD4E7B
RGBrgb(205, 78, 123)
HSLhsl(339, 56%, 55%)
HSVhsv(339, 62%, 80%)
CMYKcmyk(0%, 62%, 40%, 19.6%)
CIE-LABlab(51.68, 54.21, 1.30)
CIE-LCHlch(51.68, 54.23, 1.37°)
OKLaboklab(60.5% 0.1656 0.004)
OKLCHoklch(60.5% 0.166 1.4)
XYZxyz(31.4784, 19.8616, 20.9110)
Luminance0.1986 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD4E7B #4ECDA0
analogous
#CD4EBA #CD4E7B #CD604E
triadic
#CD4E7B #7BCD4E #4E7BCD
tetradic
#CD4E7B #BACD4E #4ECDA0 #604ECD
square
#CD4E7B #BACD4E #4ECDA0 #604ECD
split-complementary
#CD4E7B #4ECD60 #4EBACD
monochromatic
#7D2343 #AD315D #CD4E7B #DA7E9F #E8ADC2

Accessibility & contrast

On white

4.22
#CD4E7B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##CD4E7B#FFFFFF#000000##000000
##CD4E7B1.004.224.974.97
#FFFFFF4.221.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#666C7C
Deuteranopia (green-blind)
#888478
Tritanopia (blue-blind)
#DD4160
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cd4e7b;
/* rgb */ color: rgb(205, 78, 123);
/* oklch */ color: oklch(60.5% 0.166 1.4);
Tailwind
colors: {
  custom: {
    50: '#e186a1',
    500: '#cd4e7b',
    950: '#000000',
  },
}
SCSS
$custom: #cd4e7b;
$custom-light: #e186a1;
$custom-dark: #000000;
JSON
{
  "hex": "#cd4e7b",
  "rgb": {
    "r": 205,
    "g": 78,
    "b": 123
  },
  "hsl": {
    "h": 338.74,
    "s": 55.947,
    "l": 55.49
  },
  "oklch": {
    "l": 0.60496,
    "c": 0.1656,
    "h": 1.4
  },
  "luminance": 0.19858
}

Semantic roles & 50–950 ramp

primary
#CD4E7B
secondary
#A1D6C3
accent
#DFAA49
background
#FEF8F9
surface
#FDF0F2
border
#D5CBCC
text
#160C0E
muted
#847D7E

Preview Lab

Preview with #CD4E7B

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

Preview Lab → · Contrast checker → · Palette generator →

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