#CD2D97#CD2D97

#CD2D97 is a mid, highly saturated pink. Relative luminance 0.171; OKLCH L 58.4% C 0.217 H 345.5°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#CD2D97
RGBrgb(205, 45, 151)
HSLhsl(320, 64%, 49%)
HSVhsv(320, 78%, 80%)
CMYKcmyk(0%, 78%, 26.3%, 19.6%)
CIE-LABlab(48.38, 69.26, -20.44)
CIE-LCHlch(48.38, 72.22, 343.56°)
OKLaboklab(58.39% 0.2104 -0.0543)
OKLCHoklch(58.39% 0.217 345.5)
XYZxyz(31.7026, 17.0938, 30.9021)
Luminance0.1709 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD2D97 #2DCD63
analogous
#B32DCD #CD2D97 #CD2D47
triadic
#CD2D97 #97CD2D #2D97CD
tetradic
#CD2D97 #CDB32D #2DCD63 #2D47CD
square
#CD2D97 #CDB32D #2DCD63 #2D47CD
split-complementary
#CD2D97 #47CD2D #2DCDB3
monochromatic
#69174D #9B2272 #CD2D97 #DB5CB0 #E68EC9

Accessibility & contrast

On white

4.75
#CD2D97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#CD2D97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CD2D97
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD2D97#FFFFFF#000000##FFFFFF
##CD2D971.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#44629A
Deuteranopia (green-blind)
#757C93
Tritanopia (blue-blind)
#DB295F
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #cd2d97;
/* rgb */ color: rgb(205, 45, 151);
/* oklch */ color: oklch(58.4% 0.217 345.5);
Tailwind
colors: {
  custom: {
    50: '#e177b5',
    500: '#cd2d97',
    950: '#000000',
  },
}
SCSS
$custom: #cd2d97;
$custom-light: #e177b5;
$custom-dark: #000000;
JSON
{
  "hex": "#cd2d97",
  "rgb": {
    "r": 205,
    "g": 45,
    "b": 151
  },
  "hsl": {
    "h": 320.25,
    "s": 64,
    "l": 49.02
  },
  "oklch": {
    "l": 0.58385,
    "c": 0.21727,
    "h": 345.5
  },
  "luminance": 0.1709
}

Semantic roles & 50–950 ramp

primary
#CD2D97
secondary
#85D19F
accent
#E77941
background
#FEF7FB
surface
#FDEEF6
border
#D5C9D0
text
#160A11
muted
#847C80

Preview Lab

Preview with #CD2D97

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

Preview Lab → · Contrast checker → · Palette generator →

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