#CD5F7E#CD5F7E

#CD5F7E is a light, vivid pink. Relative luminance 0.227; OKLCH L 62.8% C 0.142 H 4.3°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#CD5F7E
RGBrgb(205, 95, 126)
HSLhsl(343, 52%, 59%)
HSVhsv(343, 54%, 80%)
CMYKcmyk(0%, 53.7%, 38.5%, 19.6%)
CIE-LABlab(54.73, 46.66, 3.94)
CIE-LCHlch(54.73, 46.83, 4.83°)
OKLaboklab(62.81% 0.142 0.0108)
OKLCHoklch(62.81% 0.142 4.3)
XYZxyz(33.0368, 22.6733, 22.3712)
Luminance0.2267 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5F7E #5FCDAE
analogous
#CD5FB5 #CD5F7E #CD775F
triadic
#CD5F7E #7ECD5F #5F7ECD
tetradic
#CD5F7E #B5CD5F #5FCDAE #775FCD
square
#CD5F7E #B5CD5F #5FCDAE #775FCD
split-complementary
#CD5F7E #5FCD77 #5FB5CD
monochromatic
#872A45 #B6395C #CD5F7E #DC8EA4 #EABCC9

Accessibility & contrast

On white

3.79
#CD5F7E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#CD5F7E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5F7E
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5F7E#FFFFFF#000000##000000
##CD5F7E1.003.795.535.53
#FFFFFF3.791.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#73767F
Deuteranopia (green-blind)
#8F8B7C
Tritanopia (blue-blind)
#DD546A
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #cd5f7e;
/* rgb */ color: rgb(205, 95, 126);
/* oklch */ color: oklch(62.8% 0.142 4.3);
Tailwind
colors: {
  custom: {
    50: '#e090a3',
    500: '#cd5f7e',
    950: '#000000',
  },
}
SCSS
$custom: #cd5f7e;
$custom-light: #e090a3;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5f7e",
  "rgb": {
    "r": 205,
    "g": 95,
    "b": 126
  },
  "hsl": {
    "h": 343.091,
    "s": 52.381,
    "l": 58.824
  },
  "oklch": {
    "l": 0.62807,
    "c": 0.14238,
    "h": 4.3
  },
  "luminance": 0.2267
}

Semantic roles & 50–950 ramp

primary
#CD5F7E
secondary
#AEDACD
accent
#DCB34C
background
#FEF9FA
surface
#FCF1F3
border
#D5CBCD
text
#160D0F
muted
#847E7F

Preview Lab

Preview with #CD5F7E

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

Preview Lab → · Contrast checker → · Palette generator →

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