#CD3E98#CD3E98

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

Color values

HEX#CD3E98
RGBrgb(205, 62, 152)
HSLhsl(322, 59%, 52%)
HSVhsv(322, 70%, 80%)
CMYKcmyk(0%, 69.8%, 25.9%, 19.6%)
CIE-LABlab(50.33, 63.99, -18.05)
CIE-LCHlch(50.33, 66.48, 344.25°)
OKLaboklab(59.82% 0.1938 -0.0478)
OKLCHoklch(59.82% 0.2 346.1)
XYZxyz(32.5683, 18.6948, 31.5930)
Luminance0.1869 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD3E98 #3ECD73
analogous
#BB3ECD #CD3E98 #CD3E50
triadic
#CD3E98 #98CD3E #3E98CD
tetradic
#CD3E98 #CDBB3E #3ECD73 #3E50CD
square
#CD3E98 #CDBB3E #3ECD73 #3E50CD
split-complementary
#CD3E98 #50CD3E #3ECDBB
monochromatic
#731E53 #A32A77 #CD3E98 #DA6FB2 #E69FCC

Accessibility & contrast

On white

4.43
#CD3E98 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#CD3E98 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD3E98
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD3E98#FFFFFF#000000##000000
##CD3E981.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#50689B
Deuteranopia (green-blind)
#7A8195
Tritanopia (blue-blind)
#DB3B66
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #cd3e98;
/* rgb */ color: rgb(205, 62, 152);
/* oklch */ color: oklch(59.8% 0.200 346.1);
Tailwind
colors: {
  custom: {
    50: '#e07eb6',
    500: '#cd3e98',
    950: '#000000',
  },
}
SCSS
$custom: #cd3e98;
$custom-light: #e07eb6;
$custom-dark: #000000;
JSON
{
  "hex": "#cd3e98",
  "rgb": {
    "r": 205,
    "g": 62,
    "b": 152
  },
  "hsl": {
    "h": 322.238,
    "s": 58.848,
    "l": 52.353
  },
  "oklch": {
    "l": 0.59817,
    "c": 0.19963,
    "h": 346.1
  },
  "luminance": 0.18691
}

Semantic roles & 50–950 ramp

primary
#CD3E98
secondary
#94D3AB
accent
#E28046
background
#FEF8FB
surface
#FDEFF6
border
#D5CAD0
text
#160B11
muted
#847C80

Preview Lab

Preview with #CD3E98

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

Preview Lab → · Contrast checker → · Palette generator →

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