#CD427E#CD427E

#CD427E is a mid, vivid pink. Relative luminance 0.184; OKLCH L 59.3% C 0.182 H 357.7°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#CD427E
RGBrgb(205, 66, 126)
HSLhsl(334, 58%, 53%)
HSVhsv(334, 68%, 80%)
CMYKcmyk(0%, 67.8%, 38.5%, 19.6%)
CIE-LABlab(49.96, 59.46, -3.02)
CIE-LCHlch(49.96, 59.54, 357.09°)
OKLaboklab(59.25% 0.1821 -0.0072)
OKLCHoklch(59.25% 0.182 357.7)
XYZxyz(30.8930, 18.3856, 21.6565)
Luminance0.1838 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD427E #42CD91
analogous
#CD42C3 #CD427E #CD4B42
triadic
#CD427E #7ECD42 #427ECD
tetradic
#CD427E #C3CD42 #42CD91 #4B42CD
square
#CD427E #C3CD42 #42CD91 #4B42CD
split-complementary
#CD427E #42CD4B #42C3CD
monochromatic
#761F44 #A62C61 #CD427E #DA729F #E7A3C0

Accessibility & contrast

On white

4.49
#CD427E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#CD427E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD427E
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD427E#FFFFFF#000000##000000
##CD427E1.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C6680
Deuteranopia (green-blind)
#82807B
Tritanopia (blue-blind)
#DD335B
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #cd427e;
/* rgb */ color: rgb(205, 66, 126);
/* oklch */ color: oklch(59.3% 0.182 357.7);
Tailwind
colors: {
  custom: {
    50: '#e180a3',
    500: '#cd427e',
    950: '#000000',
  },
}
SCSS
$custom: #cd427e;
$custom-light: #e180a3;
$custom-dark: #000000;
JSON
{
  "hex": "#cd427e",
  "rgb": {
    "r": 205,
    "g": 66,
    "b": 126
  },
  "hsl": {
    "h": 334.101,
    "s": 58.159,
    "l": 53.137
  },
  "oklch": {
    "l": 0.5925,
    "c": 0.18226,
    "h": 357.7
  },
  "luminance": 0.18382
}

Semantic roles & 50–950 ramp

primary
#CD427E
secondary
#97D3B9
accent
#E19E46
background
#FEF8FA
surface
#FDEFF3
border
#D5CACD
text
#160B0F
muted
#847C7F

Preview Lab

Preview with #CD427E

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

Preview Lab → · Contrast checker → · Palette generator →

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