#CD427C#CD427C

#CD427C is a mid, vivid pink. Relative luminance 0.183; OKLCH L 59.2% C 0.182 H 358.7°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#CD427C
RGBrgb(205, 66, 124)
HSLhsl(335, 58%, 53%)
HSVhsv(335, 68%, 80%)
CMYKcmyk(0%, 67.8%, 39.5%, 19.6%)
CIE-LABlab(49.90, 59.25, -1.90)
CIE-LCHlch(49.90, 59.28, 358.16°)
OKLaboklab(59.19% 0.1815 -0.0043)
OKLCHoklch(59.19% 0.182 358.7)
XYZxyz(30.7652, 18.3345, 20.9837)
Luminance0.1833 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD427C #42CD93
analogous
#CD42C1 #CD427C #CD4D42
triadic
#CD427C #7CCD42 #427CCD
tetradic
#CD427C #C1CD42 #42CD93 #4D42CD
square
#CD427C #C1CD42 #42CD93 #4D42CD
split-complementary
#CD427C #42CD4D #42C1CD
monochromatic
#761F43 #A62C5F #CD427C #DA729E #E7A3BF

Accessibility & contrast

On white

4.50
#CD427C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#CD427C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD427C
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD427C#FFFFFF#000000##000000
##CD427C1.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D667E
Deuteranopia (green-blind)
#838079
Tritanopia (blue-blind)
#DD335A
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #cd427c;
/* rgb */ color: rgb(205, 66, 124);
/* oklch */ color: oklch(59.2% 0.182 358.7);
Tailwind
colors: {
  custom: {
    50: '#e180a1',
    500: '#cd427c',
    950: '#000000',
  },
}
SCSS
$custom: #cd427c;
$custom-light: #e180a1;
$custom-dark: #000000;
JSON
{
  "hex": "#cd427c",
  "rgb": {
    "r": 205,
    "g": 66,
    "b": 124
  },
  "hsl": {
    "h": 334.964,
    "s": 58.159,
    "l": 53.137
  },
  "oklch": {
    "l": 0.59185,
    "c": 0.18153,
    "h": 358.7
  },
  "luminance": 0.18331
}

Semantic roles & 50–950 ramp

primary
#CD427C
secondary
#97D3BA
accent
#E1A146
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#160B0F
muted
#847C7E

Preview Lab

Preview with #CD427C

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

Preview Lab → · Contrast checker → · Palette generator →

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