#CD4A8A#CD4A8A

#CD4A8A is a mid, vivid pink. Relative luminance 0.197; OKLCH L 60.5% C 0.177 H 353.4°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#CD4A8A
RGBrgb(205, 74, 138)
HSLhsl(331, 57%, 55%)
HSVhsv(331, 64%, 80%)
CMYKcmyk(0%, 63.9%, 32.7%, 19.6%)
CIE-LABlab(51.51, 57.60, -7.91)
CIE-LCHlch(51.51, 58.15, 352.18°)
OKLaboklab(60.52% 0.1757 -0.0202)
OKLCHoklch(60.52% 0.177 353.4)
XYZxyz(32.2148, 19.7152, 26.1487)
Luminance0.1971 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD4A8A #4ACD8D
analogous
#CD4ACC #CD4A8A #CD4C4A
triadic
#CD4A8A #8ACD4A #4A8ACD
tetradic
#CD4A8A #CCCD4A #4ACD8D #4C4ACD
square
#CD4A8A #CCCD4A #4ACD8D #4C4ACD
split-complementary
#CD4A8A #4ACD4C #4ACCCD
monochromatic
#7B224D #AB2F6B #CD4A8A #DA7AA9 #E7AAC8

Accessibility & contrast

On white

4.25
#CD4A8A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#CD4A8A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD4A8A
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD4A8A#FFFFFF#000000##000000
##CD4A8A1.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E6C8C
Deuteranopia (green-blind)
#838487
Tritanopia (blue-blind)
#DC4164
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cd4a8a;
/* rgb */ color: rgb(205, 74, 138);
/* oklch */ color: oklch(60.5% 0.177 353.4);
Tailwind
colors: {
  custom: {
    50: '#e084ac',
    500: '#cd4a8a',
    950: '#000000',
  },
}
SCSS
$custom: #cd4a8a;
$custom-light: #e084ac;
$custom-dark: #000000;
JSON
{
  "hex": "#cd4a8a",
  "rgb": {
    "r": 205,
    "g": 74,
    "b": 138
  },
  "hsl": {
    "h": 330.687,
    "s": 56.71,
    "l": 54.706
  },
  "oklch": {
    "l": 0.60524,
    "c": 0.17688,
    "h": 353.4
  },
  "luminance": 0.19712
}

Semantic roles & 50–950 ramp

primary
#CD4A8A
secondary
#9ED5BA
accent
#E09648
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160B10
muted
#847C7F

Preview Lab

Preview with #CD4A8A

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

Preview Lab → · Contrast checker → · Palette generator →

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