#CD4A8F#CD4A8F

#CD4A8F is a mid, vivid pink. Relative luminance 0.199; OKLCH L 60.7% C 0.179 H 351.2°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#CD4A8F
RGBrgb(205, 74, 143)
HSLhsl(328, 57%, 55%)
HSVhsv(328, 64%, 80%)
CMYKcmyk(0%, 63.9%, 30.2%, 19.6%)
CIE-LABlab(51.68, 58.21, -10.64)
CIE-LCHlch(51.68, 59.17, 349.64°)
OKLaboklab(60.7% 0.1772 -0.0276)
OKLCHoklch(60.7% 0.179 351.2)
XYZxyz(32.5851, 19.8633, 28.0992)
Luminance0.1986 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD4A8F #4ACD88
analogous
#CA4ACD #CD4A8F #CD4A4E
triadic
#CD4A8F #8FCD4A #4A8FCD
tetradic
#CD4A8F #CDCA4A #4ACD88 #4A4ECD
square
#CD4A8F #CDCA4A #4ACD88 #4A4ECD
split-complementary
#CD4A8F #4ECD4A #4ACDCA
monochromatic
#7B2251 #AB2F70 #CD4A8F #DA7AAD #E7AACA

Accessibility & contrast

On white

4.22
#CD4A8F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#CD4A8F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD4A8F
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD4A8F#FFFFFF#000000##000000
##CD4A8F1.004.224.974.97
#FFFFFF4.221.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D6C91
Deuteranopia (green-blind)
#81848C
Tritanopia (blue-blind)
#DC4366
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cd4a8f;
/* rgb */ color: rgb(205, 74, 143);
/* oklch */ color: oklch(60.7% 0.179 351.2);
Tailwind
colors: {
  custom: {
    50: '#e084af',
    500: '#cd4a8f',
    950: '#000000',
  },
}
SCSS
$custom: #cd4a8f;
$custom-light: #e084af;
$custom-dark: #000000;
JSON
{
  "hex": "#cd4a8f",
  "rgb": {
    "r": 205,
    "g": 74,
    "b": 143
  },
  "hsl": {
    "h": 328.397,
    "s": 56.71,
    "l": 54.706
  },
  "oklch": {
    "l": 0.60704,
    "c": 0.17929,
    "h": 351.2
  },
  "luminance": 0.1986
}

Semantic roles & 50–950 ramp

primary
#CD4A8F
secondary
#9ED5B8
accent
#E09048
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160B10
muted
#847C7F

Preview Lab

Preview with #CD4A8F

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

Preview Lab → · Contrast checker → · Palette generator →

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