#CD3F98#CD3F98

#CD3F98 is a mid, vivid pink. Relative luminance 0.188; OKLCH L 59.9% C 0.198 H 346.2°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#CD3F98
RGBrgb(205, 63, 152)
HSLhsl(322, 59%, 53%)
HSVhsv(322, 69%, 80%)
CMYKcmyk(0%, 69.3%, 25.9%, 19.6%)
CIE-LABlab(50.46, 63.62, -17.85)
CIE-LCHlch(50.46, 66.08, 344.33°)
OKLaboklab(59.91% 0.1927 -0.0472)
OKLCHoklch(59.91% 0.198 346.2)
XYZxyz(32.6232, 18.8046, 31.6113)
Luminance0.1880 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD3F98 #3FCD74
analogous
#BB3FCD #CD3F98 #CD3F51
triadic
#CD3F98 #98CD3F #3F98CD
tetradic
#CD3F98 #CDBB3F #3FCD74 #3F51CD
square
#CD3F98 #CDBB3F #3FCD74 #3F51CD
split-complementary
#CD3F98 #51CD3F #3FCDBB
monochromatic
#741E54 #A42B77 #CD3F98 #DA70B2 #E6A0CC

Accessibility & contrast

On white

4.41
#CD3F98 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#CD3F98 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD3F98
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD3F98#FFFFFF#000000##000000
##CD3F981.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cd3f98;
/* rgb */ color: rgb(205, 63, 152);
/* oklch */ color: oklch(59.9% 0.198 346.2);
Tailwind
colors: {
  custom: {
    50: '#e07fb6',
    500: '#cd3f98',
    950: '#000000',
  },
}
SCSS
$custom: #cd3f98;
$custom-light: #e07fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#cd3f98",
  "rgb": {
    "r": 205,
    "g": 63,
    "b": 152
  },
  "hsl": {
    "h": 322.394,
    "s": 58.678,
    "l": 52.549
  },
  "oklch": {
    "l": 0.59911,
    "c": 0.19842,
    "h": 346.2
  },
  "luminance": 0.18801
}

Semantic roles & 50–950 ramp

primary
#CD3F98
secondary
#95D3AC
accent
#E28046
background
#FEF8FB
surface
#FCEFF6
border
#D5CAD0
text
#160B11
muted
#847C80

Preview Lab

Preview with #CD3F98

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

Preview Lab → · Contrast checker → · Palette generator →

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