#CD3E97#CD3E97

#CD3E97 is a mid, vivid pink. Relative luminance 0.187; OKLCH L 59.8% C 0.199 H 346.5°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#CD3E97
RGBrgb(205, 62, 151)
HSLhsl(323, 59%, 52%)
HSVhsv(323, 70%, 80%)
CMYKcmyk(0%, 69.8%, 26.3%, 19.6%)
CIE-LABlab(50.29, 63.86, -17.51)
CIE-LCHlch(50.29, 66.22, 344.67°)
OKLaboklab(59.78% 0.1936 -0.0463)
OKLCHoklch(59.78% 0.199 346.5)
XYZxyz(32.4868, 18.6622, 31.1635)
Luminance0.1866 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD3E97 #3ECD74
analogous
#BB3ECD #CD3E97 #CD3E50
triadic
#CD3E97 #97CD3E #3E97CD
tetradic
#CD3E97 #CDBB3E #3ECD74 #3E50CD
square
#CD3E97 #CDBB3E #3ECD74 #3E50CD
split-complementary
#CD3E97 #50CD3E #3ECDBB
monochromatic
#731E53 #A32A76 #CD3E97 #DA6FB1 #E69FCB

Accessibility & contrast

On white

4.44
#CD3E97 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#CD3E97 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD3E97
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD3E97#FFFFFF#000000##000000
##CD3E971.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#50689A
Deuteranopia (green-blind)
#7A8194
Tritanopia (blue-blind)
#DB3A65
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #cd3e97;
/* rgb */ color: rgb(205, 62, 151);
/* oklch */ color: oklch(59.8% 0.199 346.5);
Tailwind
colors: {
  custom: {
    50: '#e07eb5',
    500: '#cd3e97',
    950: '#000000',
  },
}
SCSS
$custom: #cd3e97;
$custom-light: #e07eb5;
$custom-dark: #000000;
JSON
{
  "hex": "#cd3e97",
  "rgb": {
    "r": 205,
    "g": 62,
    "b": 151
  },
  "hsl": {
    "h": 322.657,
    "s": 58.848,
    "l": 52.353
  },
  "oklch": {
    "l": 0.59776,
    "c": 0.19907,
    "h": 346.5
  },
  "luminance": 0.18659
}

Semantic roles & 50–950 ramp

primary
#CD3E97
secondary
#94D3AC
accent
#E28146
background
#FEF8FB
surface
#FDEFF6
border
#D5CAD0
text
#160B11
muted
#847C80

Preview Lab

Preview with #CD3E97

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

Preview Lab → · Contrast checker → · Palette generator →

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