#CD418D#CD418D

#CD418D is a mid, vivid pink. Relative luminance 0.187; OKLCH L 59.7% C 0.190 H 351.0°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#CD418D
RGBrgb(205, 65, 141)
HSLhsl(327, 58%, 53%)
HSVhsv(327, 68%, 80%)
CMYKcmyk(0%, 68.3%, 31.2%, 19.6%)
CIE-LABlab(50.32, 61.53, -11.50)
CIE-LCHlch(50.32, 62.60, 349.42°)
OKLaboklab(59.68% 0.1877 -0.0298)
OKLCHoklch(59.68% 0.19 351)
XYZxyz(31.8765, 18.6863, 27.1223)
Luminance0.1868 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD418D #41CD81
analogous
#C741CD #CD418D #CD4147
triadic
#CD418D #8DCD41 #418DCD
tetradic
#CD418D #CDC741 #41CD81 #4147CD
square
#CD418D #CDC741 #41CD81 #4147CD
split-complementary
#CD418D #47CD41 #41CDC7
monochromatic
#751F4D #A52C6E #CD418D #DA71AA #E6A2C7

Accessibility & contrast

On white

4.43
#CD418D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#CD418D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD418D
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD418D#FFFFFF#000000##000000
##CD418D1.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#56688F
Deuteranopia (green-blind)
#7E818A
Tritanopia (blue-blind)
#DC3961
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #cd418d;
/* rgb */ color: rgb(205, 65, 141);
/* oklch */ color: oklch(59.7% 0.190 351.0);
Tailwind
colors: {
  custom: {
    50: '#e180ae',
    500: '#cd418d',
    950: '#000000',
  },
}
SCSS
$custom: #cd418d;
$custom-light: #e180ae;
$custom-dark: #000000;
JSON
{
  "hex": "#cd418d",
  "rgb": {
    "r": 205,
    "g": 65,
    "b": 141
  },
  "hsl": {
    "h": 327.429,
    "s": 58.333,
    "l": 52.941
  },
  "oklch": {
    "l": 0.59676,
    "c": 0.19008,
    "h": 351
  },
  "luminance": 0.18683
}

Semantic roles & 50–950 ramp

primary
#CD418D
secondary
#97D3B2
accent
#E28D46
background
#FEF8FA
surface
#FDEFF4
border
#D5CACE
text
#160B10
muted
#847C7F

Preview Lab

Preview with #CD418D

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

Preview Lab → · Contrast checker → · Palette generator →

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