#CD4A97#CD4A97

#CD4A97 is a mid, vivid pink. Relative luminance 0.201; OKLCH L 61.0% C 0.184 H 347.6°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#CD4A97
RGBrgb(205, 74, 151)
HSLhsl(325, 57%, 55%)
HSVhsv(325, 64%, 80%)
CMYKcmyk(0%, 63.9%, 26.3%, 19.6%)
CIE-LABlab(51.97, 59.22, -14.96)
CIE-LCHlch(51.97, 61.08, 345.82°)
OKLaboklab(61.01% 0.1793 -0.0394)
OKLCHoklch(61.01% 0.184 347.6)
XYZxyz(33.2129, 20.1144, 31.4055)
Luminance0.2011 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD4A97 #4ACD80
analogous
#C24ACD #CD4A97 #CD4A56
triadic
#CD4A97 #97CD4A #4A97CD
tetradic
#CD4A97 #CDC24A #4ACD80 #4A56CD
square
#CD4A97 #CDC24A #4ACD80 #4A56CD
split-complementary
#CD4A97 #56CD4A #4ACDC2
monochromatic
#7B2256 #AB2F78 #CD4A97 #DA7AB3 #E7AACE

Accessibility & contrast

On white

4.18
#CD4A97 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#CD4A97 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD4A97
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD4A97#FFFFFF#000000##000000
##CD4A971.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A6E99
Deuteranopia (green-blind)
#7F8494
Tritanopia (blue-blind)
#DB466A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cd4a97;
/* rgb */ color: rgb(205, 74, 151);
/* oklch */ color: oklch(61.0% 0.184 347.6);
Tailwind
colors: {
  custom: {
    50: '#e084b5',
    500: '#cd4a97',
    950: '#000000',
  },
}
SCSS
$custom: #cd4a97;
$custom-light: #e084b5;
$custom-dark: #000000;
JSON
{
  "hex": "#cd4a97",
  "rgb": {
    "r": 205,
    "g": 74,
    "b": 151
  },
  "hsl": {
    "h": 324.733,
    "s": 56.71,
    "l": 54.706
  },
  "oklch": {
    "l": 0.61006,
    "c": 0.18355,
    "h": 347.6
  },
  "luminance": 0.20111
}

Semantic roles & 50–950 ramp

primary
#CD4A97
secondary
#9ED5B5
accent
#E08748
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C11
muted
#847D80

Preview Lab

Preview with #CD4A97

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

Preview Lab → · Contrast checker → · Palette generator →

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