#CD5F98#CD5F98

#CD5F98 is a light, vivid pink. Relative luminance 0.234; OKLCH L 63.6% C 0.153 H 350.0°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#CD5F98
RGBrgb(205, 95, 152)
HSLhsl(329, 52%, 59%)
HSVhsv(329, 54%, 80%)
CMYKcmyk(0%, 53.7%, 25.9%, 19.6%)
CIE-LABlab(55.52, 49.91, -10.20)
CIE-LCHlch(55.52, 50.94, 348.45°)
OKLaboklab(63.65% 0.1506 -0.0265)
OKLCHoklch(63.65% 0.153 350)
XYZxyz(34.9377, 23.4337, 32.3828)
Luminance0.2343 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5F98 #5FCD94
analogous
#CB5FCD #CD5F98 #CD5F61
triadic
#CD5F98 #98CD5F #5F98CD
tetradic
#CD5F98 #CDCB5F #5FCD94 #5F61CD
square
#CD5F98 #CDCB5F #5FCD94 #5F61CD
split-complementary
#CD5F98 #61CD5F #5FCDCB
monochromatic
#872A5A #B6397A #CD5F98 #DC8EB6 #EABCD4

Accessibility & contrast

On white

3.69
#CD5F98 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.69
#CD5F98 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5F98
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5F98#FFFFFF#000000##000000
##CD5F981.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C799A
Deuteranopia (green-blind)
#898C95
Tritanopia (blue-blind)
#DA5B75
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #cd5f98;
/* rgb */ color: rgb(205, 95, 152);
/* oklch */ color: oklch(63.6% 0.153 350.0);
Tailwind
colors: {
  custom: {
    50: '#df90b6',
    500: '#cd5f98',
    950: '#000000',
  },
}
SCSS
$custom: #cd5f98;
$custom-light: #df90b6;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5f98",
  "rgb": {
    "r": 205,
    "g": 95,
    "b": 152
  },
  "hsl": {
    "h": 328.909,
    "s": 52.381,
    "l": 58.824
  },
  "oklch": {
    "l": 0.6365,
    "c": 0.15294,
    "h": 350
  },
  "luminance": 0.23431
}

Semantic roles & 50–950 ramp

primary
#CD5F98
secondary
#AEDAC3
accent
#DC914C
background
#FEF9FB
surface
#FCF1F6
border
#D5CBD0
text
#160D11
muted
#847E80

Preview Lab

Preview with #CD5F98

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

Preview Lab → · Contrast checker → · Palette generator →

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