#CD4F8E#CD4F8E

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

Color values

HEX#CD4F8E
RGBrgb(205, 79, 142)
HSLhsl(330, 56%, 56%)
HSVhsv(330, 61%, 80%)
CMYKcmyk(0%, 61.5%, 30.7%, 19.6%)
CIE-LABlab(52.43, 55.96, -8.93)
CIE-LCHlch(52.43, 56.67, 350.94°)
OKLaboklab(61.24% 0.1703 -0.023)
OKLCHoklch(61.24% 0.172 352.3)
XYZxyz(32.8569, 20.5275, 27.8178)
Luminance0.2052 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD4F8E #4FCD8E
analogous
#CD4FCD #CD4F8E #CD4F4F
triadic
#CD4F8E #8ECD4F #4F8ECD
tetradic
#CD4F8E #CDCD4F #4FCD8E #4F4FCD
square
#CD4F8E #CDCD4F #4FCD8E #4F4FCD
split-complementary
#CD4F8E #4FCD4F #4FCDCD
monochromatic
#7E2451 #AE316F #CD4F8E #DB7FAD #E8AECB

Accessibility & contrast

On white

4.11
#CD4F8E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##CD4F8E#FFFFFF#000000##000000
##CD4F8E1.004.115.105.10
#FFFFFF4.111.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cd4f8e;
/* rgb */ color: rgb(205, 79, 142);
/* oklch */ color: oklch(61.2% 0.172 352.3);
Tailwind
colors: {
  custom: {
    50: '#e087af',
    500: '#cd4f8e',
    950: '#000000',
  },
}
SCSS
$custom: #cd4f8e;
$custom-light: #e087af;
$custom-dark: #000000;
JSON
{
  "hex": "#cd4f8e",
  "rgb": {
    "r": 205,
    "g": 79,
    "b": 142
  },
  "hsl": {
    "h": 330,
    "s": 55.752,
    "l": 55.686
  },
  "oklch": {
    "l": 0.61244,
    "c": 0.17182,
    "h": 352.3
  },
  "luminance": 0.20524
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD4F8E

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

Preview Lab → · Contrast checker → · Palette generator →

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