#CD4F82#CD4F82

#CD4F82 is a mid, vivid pink. Relative luminance 0.202; OKLCH L 60.8% C 0.167 H 358.1°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#CD4F82
RGBrgb(205, 79, 130)
HSLhsl(336, 56%, 56%)
HSVhsv(336, 61%, 80%)
CMYKcmyk(0%, 61.5%, 36.6%, 19.6%)
CIE-LABlab(52.05, 54.54, -2.35)
CIE-LCHlch(52.05, 54.59, 357.53°)
OKLaboklab(60.84% 0.1665 -0.0055)
OKLCHoklch(60.84% 0.167 358.1)
XYZxyz(32.0039, 20.1863, 23.3257)
Luminance0.2018 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD4F82 #4FCD9A
analogous
#CD4FC1 #CD4F82 #CD5B4F
triadic
#CD4F82 #82CD4F #4F82CD
tetradic
#CD4F82 #C1CD4F #4FCD9A #5B4FCD
square
#CD4F82 #C1CD4F #4FCD9A #5B4FCD
split-complementary
#CD4F82 #4FCD5B #4FC1CD
monochromatic
#7E2448 #AE3164 #CD4F82 #DB7FA4 #E8AEC6

Accessibility & contrast

On white

4.17
#CD4F82 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#CD4F82 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD4F82
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD4F82#FFFFFF#000000##000000
##CD4F821.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#656D83
Deuteranopia (green-blind)
#87857F
Tritanopia (blue-blind)
#DD4463
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cd4f82;
/* rgb */ color: rgb(205, 79, 130);
/* oklch */ color: oklch(60.8% 0.167 358.1);
Tailwind
colors: {
  custom: {
    50: '#e087a6',
    500: '#cd4f82',
    950: '#000000',
  },
}
SCSS
$custom: #cd4f82;
$custom-light: #e087a6;
$custom-dark: #000000;
JSON
{
  "hex": "#cd4f82",
  "rgb": {
    "r": 205,
    "g": 79,
    "b": 130
  },
  "hsl": {
    "h": 335.714,
    "s": 55.752,
    "l": 55.686
  },
  "oklch": {
    "l": 0.60836,
    "c": 0.16663,
    "h": 358.1
  },
  "luminance": 0.20183
}

Semantic roles & 50–950 ramp

primary
#CD4F82
secondary
#A2D6C1
accent
#DFA249
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C0F
muted
#847D7F

Preview Lab

Preview with #CD4F82

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

Preview Lab → · Contrast checker → · Palette generator →

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