#CD4F81#CD4F81

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

Color values

HEX#CD4F81
RGBrgb(205, 79, 129)
HSLhsl(336, 56%, 56%)
HSVhsv(336, 61%, 80%)
CMYKcmyk(0%, 61.5%, 37.1%, 19.6%)
CIE-LABlab(52.02, 54.43, -1.80)
CIE-LCHlch(52.02, 54.46, 358.11°)
OKLaboklab(60.8% 0.1662 -0.004)
OKLCHoklch(60.8% 0.166 358.6)
XYZxyz(31.9372, 20.1596, 22.9739)
Luminance0.2016 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD4F81 #4FCD9B
analogous
#CD4FC0 #CD4F81 #CD5C4F
triadic
#CD4F81 #81CD4F #4F81CD
tetradic
#CD4F81 #C0CD4F #4FCD9B #5C4FCD
square
#CD4F81 #C0CD4F #4FCD9B #5C4FCD
split-complementary
#CD4F81 #4FCD5C #4FC0CD
monochromatic
#7E2448 #AE3163 #CD4F81 #DB7FA3 #E8AEC5

Accessibility & contrast

On white

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

On black

5.03
#CD4F81 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD4F81
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD4F81#FFFFFF#000000##000000
##CD4F811.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cd4f81;
/* rgb */ color: rgb(205, 79, 129);
/* oklch */ color: oklch(60.8% 0.166 358.6);
Tailwind
colors: {
  custom: {
    50: '#e087a5',
    500: '#cd4f81',
    950: '#000000',
  },
}
SCSS
$custom: #cd4f81;
$custom-light: #e087a5;
$custom-dark: #000000;
JSON
{
  "hex": "#cd4f81",
  "rgb": {
    "r": 205,
    "g": 79,
    "b": 129
  },
  "hsl": {
    "h": 336.19,
    "s": 55.752,
    "l": 55.686
  },
  "oklch": {
    "l": 0.60804,
    "c": 0.16626,
    "h": 358.6
  },
  "luminance": 0.20156
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD4F81

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

Preview Lab → · Contrast checker → · Palette generator →

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