#CD4F9E#CD4F9E

#CD4F9E is a mid, vivid pink. Relative luminance 0.210; OKLCH L 61.9% C 0.181 H 345.1°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#CD4F9E
RGBrgb(205, 79, 158)
HSLhsl(322, 56%, 56%)
HSVhsv(322, 61%, 80%)
CMYKcmyk(0%, 61.5%, 22.9%, 19.6%)
CIE-LABlab(53.00, 58.04, -17.53)
CIE-LCHlch(53.00, 60.63, 343.20°)
OKLaboklab(61.85% 0.1745 -0.0465)
OKLCHoklch(61.85% 0.181 345.1)
XYZxyz(34.1455, 21.0429, 34.6045)
Luminance0.2104 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD4F9E #4FCD7E
analogous
#BD4FCD #CD4F9E #CD4F5F
triadic
#CD4F9E #9ECD4F #4F9ECD
tetradic
#CD4F9E #CDBD4F #4FCD7E #4F5FCD
square
#CD4F9E #CDBD4F #4FCD7E #4F5FCD
split-complementary
#CD4F9E #5FCD4F #4FCDBD
monochromatic
#7E245C #AE317F #CD4F9E #DB7FB8 #E8AED3

Accessibility & contrast

On white

4.03
#CD4F9E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#CD4F9E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD4F9E
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD4F9E#FFFFFF#000000##000000
##CD4F9E1.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B71A0
Deuteranopia (green-blind)
#7F869B
Tritanopia (blue-blind)
#DA4E70
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cd4f9e;
/* rgb */ color: rgb(205, 79, 158);
/* oklch */ color: oklch(61.9% 0.181 345.1);
Tailwind
colors: {
  custom: {
    50: '#e087ba',
    500: '#cd4f9e',
    950: '#000000',
  },
}
SCSS
$custom: #cd4f9e;
$custom-light: #e087ba;
$custom-dark: #000000;
JSON
{
  "hex": "#cd4f9e",
  "rgb": {
    "r": 205,
    "g": 79,
    "b": 158
  },
  "hsl": {
    "h": 322.381,
    "s": 55.752,
    "l": 55.686
  },
  "oklch": {
    "l": 0.6185,
    "c": 0.18063,
    "h": 345.1
  },
  "luminance": 0.2104
}

Semantic roles & 50–950 ramp

primary
#CD4F9E
secondary
#A2D6B5
accent
#DF8149
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C11
muted
#847D80

Preview Lab

Preview with #CD4F9E

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

Preview Lab → · Contrast checker → · Palette generator →

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