#CD4F87#CD4F87

#CD4F87 is a mid, vivid pink. Relative luminance 0.203; OKLCH L 61.0% C 0.169 H 355.7°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#CD4F87
RGBrgb(205, 79, 135)
HSLhsl(333, 56%, 56%)
HSVhsv(333, 61%, 80%)
CMYKcmyk(0%, 61.5%, 34.1%, 19.6%)
CIE-LABlab(52.20, 55.12, -5.10)
CIE-LCHlch(52.20, 55.35, 354.71°)
OKLaboklab(61% 0.1682 -0.0127)
OKLCHoklch(61% 0.169 355.7)
XYZxyz(32.3477, 20.3238, 25.1363)
Luminance0.2032 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD4F87 #4FCD95
analogous
#CD4FC6 #CD4F87 #CD564F
triadic
#CD4F87 #87CD4F #4F87CD
tetradic
#CD4F87 #C6CD4F #4FCD95 #564FCD
square
#CD4F87 #C6CD4F #4FCD95 #564FCD
split-complementary
#CD4F87 #4FCD56 #4FC6CD
monochromatic
#7E244C #AE3168 #CD4F87 #DB7FA7 #E8AEC8

Accessibility & contrast

On white

4.15
#CD4F87 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#CD4F87 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD4F87
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD4F87#FFFFFF#000000##000000
##CD4F871.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#636E89
Deuteranopia (green-blind)
#858584
Tritanopia (blue-blind)
#DC4665
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cd4f87;
/* rgb */ color: rgb(205, 79, 135);
/* oklch */ color: oklch(61.0% 0.169 355.7);
Tailwind
colors: {
  custom: {
    50: '#e087a9',
    500: '#cd4f87',
    950: '#000000',
  },
}
SCSS
$custom: #cd4f87;
$custom-light: #e087a9;
$custom-dark: #000000;
JSON
{
  "hex": "#cd4f87",
  "rgb": {
    "r": 205,
    "g": 79,
    "b": 135
  },
  "hsl": {
    "h": 333.333,
    "s": 55.752,
    "l": 55.686
  },
  "oklch": {
    "l": 0.61001,
    "c": 0.16863,
    "h": 355.7
  },
  "luminance": 0.2032
}

Semantic roles & 50–950 ramp

primary
#CD4F87
secondary
#A2D6BF
accent
#DF9C49
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F

Preview Lab

Preview with #CD4F87

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

Preview Lab → · Contrast checker → · Palette generator →

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