#CD4F8D#CD4F8D

#CD4F8D is a mid, vivid pink. Relative luminance 0.205; OKLCH L 61.2% C 0.171 H 352.8°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#CD4F8D
RGBrgb(205, 79, 141)
HSLhsl(330, 56%, 56%)
HSVhsv(330, 61%, 80%)
CMYKcmyk(0%, 61.5%, 31.2%, 19.6%)
CIE-LABlab(52.40, 55.84, -8.38)
CIE-LCHlch(52.40, 56.47, 351.46°)
OKLaboklab(61.21% 0.17 -0.0215)
OKLCHoklch(61.21% 0.171 352.8)
XYZxyz(32.7821, 20.4976, 27.4241)
Luminance0.2049 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD4F8D #4FCD8F
analogous
#CD4FCC #CD4F8D #CD504F
triadic
#CD4F8D #8DCD4F #4F8DCD
tetradic
#CD4F8D #CCCD4F #4FCD8F #504FCD
square
#CD4F8D #CCCD4F #4FCD8F #504FCD
split-complementary
#CD4F8D #4FCD50 #4FCCCD
monochromatic
#7E2450 #AE316E #CD4F8D #DB7FAC #E8AECB

Accessibility & contrast

On white

4.12
#CD4F8D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#CD4F8D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD4F8D
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD4F8D#FFFFFF#000000##000000
##CD4F8D1.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#616F8F
Deuteranopia (green-blind)
#84858A
Tritanopia (blue-blind)
#DC4868
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cd4f8d;
/* rgb */ color: rgb(205, 79, 141);
/* oklch */ color: oklch(61.2% 0.171 352.8);
Tailwind
colors: {
  custom: {
    50: '#e087ae',
    500: '#cd4f8d',
    950: '#000000',
  },
}
SCSS
$custom: #cd4f8d;
$custom-light: #e087ae;
$custom-dark: #000000;
JSON
{
  "hex": "#cd4f8d",
  "rgb": {
    "r": 205,
    "g": 79,
    "b": 141
  },
  "hsl": {
    "h": 330.476,
    "s": 55.752,
    "l": 55.686
  },
  "oklch": {
    "l": 0.61209,
    "c": 0.17134,
    "h": 352.8
  },
  "luminance": 0.20494
}

Semantic roles & 50–950 ramp

primary
#CD4F8D
secondary
#A2D6BC
accent
#DF9549
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F

Preview Lab

Preview with #CD4F8D

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

Preview Lab → · Contrast checker → · Palette generator →

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