#CD427B#CD427B

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

Color values

HEX#CD427B
RGBrgb(205, 66, 123)
HSLhsl(335, 58%, 53%)
HSVhsv(335, 68%, 80%)
CMYKcmyk(0%, 67.8%, 40%, 19.6%)
CIE-LABlab(49.87, 59.15, -1.34)
CIE-LCHlch(49.87, 59.17, 358.70°)
OKLaboklab(59.15% 0.1812 -0.0028)
OKLCHoklch(59.15% 0.181 359.1)
XYZxyz(30.7023, 18.3093, 20.6523)
Luminance0.1831 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD427B #42CD94
analogous
#CD42C0 #CD427B #CD4E42
triadic
#CD427B #7BCD42 #427BCD
tetradic
#CD427B #C0CD42 #42CD94 #4E42CD
square
#CD427B #C0CD42 #42CD94 #4E42CD
split-complementary
#CD427B #42CD4E #42C0CD
monochromatic
#761F43 #A62C5E #CD427B #DA729D #E7A3BF

Accessibility & contrast

On white

4.51
#CD427B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#CD427B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD427B
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD427B#FFFFFF#000000##000000
##CD427B1.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D667D
Deuteranopia (green-blind)
#838078
Tritanopia (blue-blind)
#DE3259
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #cd427b;
/* rgb */ color: rgb(205, 66, 123);
/* oklch */ color: oklch(59.2% 0.181 359.1);
Tailwind
colors: {
  custom: {
    50: '#e180a1',
    500: '#cd427b',
    950: '#000000',
  },
}
SCSS
$custom: #cd427b;
$custom-light: #e180a1;
$custom-dark: #000000;
JSON
{
  "hex": "#cd427b",
  "rgb": {
    "r": 205,
    "g": 66,
    "b": 123
  },
  "hsl": {
    "h": 335.396,
    "s": 58.159,
    "l": 53.137
  },
  "oklch": {
    "l": 0.59153,
    "c": 0.18117,
    "h": 359.1
  },
  "luminance": 0.18306
}

Semantic roles & 50–950 ramp

primary
#CD427B
secondary
#97D3BB
accent
#E1A246
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#160B0E
muted
#847C7E

Preview Lab

Preview with #CD427B

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

Preview Lab → · Contrast checker → · Palette generator →

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