#CD4C97#CD4C97

#CD4C97 is a mid, vivid pink. Relative luminance 0.204; OKLCH L 61.2% C 0.181 H 347.8°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#CD4C97
RGBrgb(205, 76, 151)
HSLhsl(325, 56%, 55%)
HSVhsv(325, 63%, 80%)
CMYKcmyk(0%, 62.9%, 26.3%, 19.6%)
CIE-LABlab(52.27, 58.38, -14.50)
CIE-LCHlch(52.27, 60.16, 346.05°)
OKLaboklab(61.23% 0.1767 -0.0381)
OKLCHoklch(61.23% 0.181 347.8)
XYZxyz(33.3485, 20.3857, 31.4507)
Luminance0.2038 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD4C97 #4CCD82
analogous
#C24CCD #CD4C97 #CD4C57
triadic
#CD4C97 #97CD4C #4C97CD
tetradic
#CD4C97 #CDC24C #4CCD82 #4C57CD
square
#CD4C97 #CDC24C #4CCD82 #4C57CD
split-complementary
#CD4C97 #57CD4C #4CCDC2
monochromatic
#7C2357 #AC3078 #CD4C97 #DA7CB3 #E8ACCF

Accessibility & contrast

On white

4.14
#CD4C97 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#CD4C97 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD4C97
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD4C97#FFFFFF#000000##000000
##CD4C971.004.145.085.08
#FFFFFF4.141.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B6E99
Deuteranopia (green-blind)
#808594
Tritanopia (blue-blind)
#DB486B
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cd4c97;
/* rgb */ color: rgb(205, 76, 151);
/* oklch */ color: oklch(61.2% 0.181 347.8);
Tailwind
colors: {
  custom: {
    50: '#e086b5',
    500: '#cd4c97',
    950: '#000000',
  },
}
SCSS
$custom: #cd4c97;
$custom-light: #e086b5;
$custom-dark: #000000;
JSON
{
  "hex": "#cd4c97",
  "rgb": {
    "r": 205,
    "g": 76,
    "b": 151
  },
  "hsl": {
    "h": 325.116,
    "s": 56.332,
    "l": 55.098
  },
  "oklch": {
    "l": 0.6123,
    "c": 0.18077,
    "h": 347.8
  },
  "luminance": 0.20382
}

Semantic roles & 50–950 ramp

primary
#CD4C97
secondary
#9FD5B6
accent
#E08848
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C11
muted
#847D80

Preview Lab

Preview with #CD4C97

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

Preview Lab → · Contrast checker → · Palette generator →

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