#CD4A8B#CD4A8B

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

Color values

HEX#CD4A8B
RGBrgb(205, 74, 139)
HSLhsl(330, 57%, 55%)
HSVhsv(330, 64%, 80%)
CMYKcmyk(0%, 63.9%, 32.2%, 19.6%)
CIE-LABlab(51.55, 57.72, -8.46)
CIE-LCHlch(51.55, 58.34, 351.66°)
OKLaboklab(60.56% 0.176 -0.0217)
OKLCHoklch(60.56% 0.177 353)
XYZxyz(32.2875, 19.7443, 26.5318)
Luminance0.1974 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD4A8B #4ACD8C
analogous
#CD4ACD #CD4A8B #CD4B4A
triadic
#CD4A8B #8BCD4A #4A8BCD
tetradic
#CD4A8B #CDCD4A #4ACD8C #4B4ACD
square
#CD4A8B #CDCD4A #4ACD8C #4B4ACD
split-complementary
#CD4A8B #4ACD4B #4ACDCD
monochromatic
#7B224E #AB2F6C #CD4A8B #DA7AAA #E7AAC8

Accessibility & contrast

On white

4.24
#CD4A8B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#CD4A8B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD4A8B
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD4A8B#FFFFFF#000000##000000
##CD4A8B1.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E6C8D
Deuteranopia (green-blind)
#828488
Tritanopia (blue-blind)
#DC4264
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cd4a8b;
/* rgb */ color: rgb(205, 74, 139);
/* oklch */ color: oklch(60.6% 0.177 353.0);
Tailwind
colors: {
  custom: {
    50: '#e084ac',
    500: '#cd4a8b',
    950: '#000000',
  },
}
SCSS
$custom: #cd4a8b;
$custom-light: #e084ac;
$custom-dark: #000000;
JSON
{
  "hex": "#cd4a8b",
  "rgb": {
    "r": 205,
    "g": 74,
    "b": 139
  },
  "hsl": {
    "h": 330.229,
    "s": 56.71,
    "l": 54.706
  },
  "oklch": {
    "l": 0.60559,
    "c": 0.17734,
    "h": 353
  },
  "luminance": 0.19741
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD4A8B

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

Preview Lab → · Contrast checker → · Palette generator →

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