#CD4797#CD4797

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

Color values

HEX#CD4797
RGBrgb(205, 71, 151)
HSLhsl(324, 57%, 54%)
HSVhsv(324, 65%, 80%)
CMYKcmyk(0%, 65.4%, 26.3%, 19.6%)
CIE-LABlab(51.52, 60.44, -15.63)
CIE-LCHlch(51.52, 62.42, 345.50°)
OKLaboklab(60.68% 0.183 -0.0412)
OKLCHoklch(60.68% 0.188 347.3)
XYZxyz(33.0173, 19.7234, 31.3403)
Luminance0.1972 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD4797 #47CD7D
analogous
#C047CD #CD4797 #CD4754
triadic
#CD4797 #97CD47 #4797CD
tetradic
#CD4797 #CDC047 #47CD7D #4754CD
square
#CD4797 #CDC047 #47CD7D #4754CD
split-complementary
#CD4797 #54CD47 #47CDC0
monochromatic
#792155 #A92E77 #CD4797 #DA77B2 #E7A7CD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CD4797#FFFFFF#000000##000000
##CD47971.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)
#576C99
Deuteranopia (green-blind)
#7E8394
Tritanopia (blue-blind)
#DB4369
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cd4797;
/* rgb */ color: rgb(205, 71, 151);
/* oklch */ color: oklch(60.7% 0.188 347.3);
Tailwind
colors: {
  custom: {
    50: '#e083b5',
    500: '#cd4797',
    950: '#000000',
  },
}
SCSS
$custom: #cd4797;
$custom-light: #e083b5;
$custom-dark: #000000;
JSON
{
  "hex": "#cd4797",
  "rgb": {
    "r": 205,
    "g": 71,
    "b": 151
  },
  "hsl": {
    "h": 324.179,
    "s": 57.265,
    "l": 54.118
  },
  "oklch": {
    "l": 0.6068,
    "c": 0.18761,
    "h": 347.3
  },
  "luminance": 0.1972
}

Semantic roles & 50–950 ramp

primary
#CD4797
secondary
#9BD4B2
accent
#E18547
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160B11
muted
#847C80

Preview Lab

Preview with #CD4797

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

Preview Lab → · Contrast checker → · Palette generator →

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