#CD4D97#CD4D97

#CD4D97 is a mid, vivid pink. Relative luminance 0.205; OKLCH L 61.3% C 0.179 H 347.9°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#CD4D97
RGBrgb(205, 77, 151)
HSLhsl(325, 56%, 55%)
HSVhsv(325, 62%, 80%)
CMYKcmyk(0%, 62.4%, 26.3%, 19.6%)
CIE-LABlab(52.43, 57.96, -14.26)
CIE-LCHlch(52.43, 59.69, 346.17°)
OKLaboklab(61.34% 0.1754 -0.0375)
OKLCHoklch(61.34% 0.179 347.9)
XYZxyz(33.4180, 20.5246, 31.4739)
Luminance0.2052 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD4D97 #4DCD83
analogous
#C34DCD #CD4D97 #CD4D57
triadic
#CD4D97 #97CD4D #4D97CD
tetradic
#CD4D97 #CDC34D #4DCD83 #4D57CD
square
#CD4D97 #CDC34D #4DCD83 #4D57CD
split-complementary
#CD4D97 #57CD4D #4DCDC3
monochromatic
#7D2357 #AC3078 #CD4D97 #DA7DB3 #E8ADCF

Accessibility & contrast

On white

4.11
#CD4D97 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#CD4D97 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD4D97
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD4D97#FFFFFF#000000##000000
##CD4D971.004.115.105.10
#FFFFFF4.111.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cd4d97;
/* rgb */ color: rgb(205, 77, 151);
/* oklch */ color: oklch(61.3% 0.179 347.9);
Tailwind
colors: {
  custom: {
    50: '#e086b5',
    500: '#cd4d97',
    950: '#000000',
  },
}
SCSS
$custom: #cd4d97;
$custom-light: #e086b5;
$custom-dark: #000000;
JSON
{
  "hex": "#cd4d97",
  "rgb": {
    "r": 205,
    "g": 77,
    "b": 151
  },
  "hsl": {
    "h": 325.313,
    "s": 56.14,
    "l": 55.294
  },
  "oklch": {
    "l": 0.61344,
    "c": 0.17938,
    "h": 347.9
  },
  "luminance": 0.20521
}

Semantic roles & 50–950 ramp

primary
#CD4D97
secondary
#A0D6B7
accent
#DF8848
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C11
muted
#847D80

Preview Lab

Preview with #CD4D97

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

Preview Lab → · Contrast checker → · Palette generator →

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