#CD418F#CD418F

#CD418F is a mid, vivid pink. Relative luminance 0.187; OKLCH L 59.8% C 0.191 H 350.1°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#CD418F
RGBrgb(205, 65, 143)
HSLhsl(327, 58%, 53%)
HSVhsv(327, 68%, 80%)
CMYKcmyk(0%, 68.3%, 30.2%, 19.6%)
CIE-LABlab(50.39, 61.77, -12.59)
CIE-LCHlch(50.39, 63.04, 348.48°)
OKLaboklab(59.75% 0.1883 -0.0328)
OKLCHoklch(59.75% 0.191 350.1)
XYZxyz(32.0267, 18.7464, 27.9131)
Luminance0.1874 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD418F #41CD7F
analogous
#C541CD #CD418F #CD4149
triadic
#CD418F #8FCD41 #418FCD
tetradic
#CD418F #CDC541 #41CD7F #4149CD
square
#CD418F #CDC541 #41CD7F #4149CD
split-complementary
#CD418F #49CD41 #41CDC5
monochromatic
#751F4F #A52C6F #CD418F #DA71AC #E6A2C8

Accessibility & contrast

On white

4.42
#CD418F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#CD418F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD418F
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD418F#FFFFFF#000000##000000
##CD418F1.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#566891
Deuteranopia (green-blind)
#7E818C
Tritanopia (blue-blind)
#DC3A62
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #cd418f;
/* rgb */ color: rgb(205, 65, 143);
/* oklch */ color: oklch(59.8% 0.191 350.1);
Tailwind
colors: {
  custom: {
    50: '#e080af',
    500: '#cd418f',
    950: '#000000',
  },
}
SCSS
$custom: #cd418f;
$custom-light: #e080af;
$custom-dark: #000000;
JSON
{
  "hex": "#cd418f",
  "rgb": {
    "r": 205,
    "g": 65,
    "b": 143
  },
  "hsl": {
    "h": 326.571,
    "s": 58.333,
    "l": 52.941
  },
  "oklch": {
    "l": 0.59752,
    "c": 0.19109,
    "h": 350.1
  },
  "luminance": 0.18743
}

Semantic roles & 50–950 ramp

primary
#CD418F
secondary
#97D3B1
accent
#E28B46
background
#FEF8FA
surface
#FDEFF4
border
#D5CACE
text
#160B10
muted
#847C7F

Preview Lab

Preview with #CD418F

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

Preview Lab → · Contrast checker → · Palette generator →

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