#CD4F7F#CD4F7F

#CD4F7F is a mid, vivid pink. Relative luminance 0.201; OKLCH L 60.7% C 0.166 H 359.6°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#CD4F7F
RGBrgb(205, 79, 127)
HSLhsl(337, 56%, 56%)
HSVhsv(337, 61%, 80%)
CMYKcmyk(0%, 61.5%, 38%, 19.6%)
CIE-LABlab(51.96, 54.21, -0.69)
CIE-LCHlch(51.96, 54.21, 359.27°)
OKLaboklab(60.74% 0.1655 -0.0011)
OKLCHoklch(60.74% 0.166 359.6)
XYZxyz(31.8055, 20.1070, 22.2806)
Luminance0.2010 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD4F7F #4FCD9D
analogous
#CD4FBE #CD4F7F #CD5E4F
triadic
#CD4F7F #7FCD4F #4F7FCD
tetradic
#CD4F7F #BECD4F #4FCD9D #5E4FCD
square
#CD4F7F #BECD4F #4FCD9D #5E4FCD
split-complementary
#CD4F7F #4FCD5E #4FBECD
monochromatic
#7E2446 #AE3161 #CD4F7F #DB7FA2 #E8AEC4

Accessibility & contrast

On white

4.18
#CD4F7F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#CD4F7F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD4F7F
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD4F7F#FFFFFF#000000##000000
##CD4F7F1.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#666D80
Deuteranopia (green-blind)
#87857C
Tritanopia (blue-blind)
#DD4362
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cd4f7f;
/* rgb */ color: rgb(205, 79, 127);
/* oklch */ color: oklch(60.7% 0.166 359.6);
Tailwind
colors: {
  custom: {
    50: '#e087a4',
    500: '#cd4f7f',
    950: '#000000',
  },
}
SCSS
$custom: #cd4f7f;
$custom-light: #e087a4;
$custom-dark: #000000;
JSON
{
  "hex": "#cd4f7f",
  "rgb": {
    "r": 205,
    "g": 79,
    "b": 127
  },
  "hsl": {
    "h": 337.143,
    "s": 55.752,
    "l": 55.686
  },
  "oklch": {
    "l": 0.60741,
    "c": 0.16554,
    "h": 359.6
  },
  "luminance": 0.20103
}

Semantic roles & 50–950 ramp

primary
#CD4F7F
secondary
#A2D6C2
accent
#DFA649
background
#FEF8FA
surface
#FDF0F3
border
#D5CBCD
text
#160C0F
muted
#847D7F

Preview Lab

Preview with #CD4F7F

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

Preview Lab → · Contrast checker → · Palette generator →

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