#CD4F7D#CD4F7D

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

Color values

HEX#CD4F7D
RGBrgb(205, 79, 125)
HSLhsl(338, 56%, 56%)
HSVhsv(338, 61%, 80%)
CMYKcmyk(0%, 61.5%, 39%, 19.6%)
CIE-LABlab(51.90, 53.99, 0.42)
CIE-LCHlch(51.90, 53.99, 0.45°)
OKLaboklab(60.68% 0.1649 0.0018)
OKLCHoklch(60.68% 0.165 0.6)
XYZxyz(31.6765, 20.0553, 21.6010)
Luminance0.2005 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD4F7D #4FCD9F
analogous
#CD4FBC #CD4F7D #CD604F
triadic
#CD4F7D #7DCD4F #4F7DCD
tetradic
#CD4F7D #BCCD4F #4FCD9F #604FCD
square
#CD4F7D #BCCD4F #4FCD9F #604FCD
split-complementary
#CD4F7D #4FCD60 #4FBCCD
monochromatic
#7E2445 #AE315F #CD4F7D #DB7FA0 #E8AEC3

Accessibility & contrast

On white

4.19
#CD4F7D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#CD4F7D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD4F7D
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD4F7D#FFFFFF#000000##000000
##CD4F7D1.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#666D7E
Deuteranopia (green-blind)
#88857A
Tritanopia (blue-blind)
#DD4261
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cd4f7d;
/* rgb */ color: rgb(205, 79, 125);
/* oklch */ color: oklch(60.7% 0.165 0.6);
Tailwind
colors: {
  custom: {
    50: '#e187a2',
    500: '#cd4f7d',
    950: '#000000',
  },
}
SCSS
$custom: #cd4f7d;
$custom-light: #e187a2;
$custom-dark: #000000;
JSON
{
  "hex": "#cd4f7d",
  "rgb": {
    "r": 205,
    "g": 79,
    "b": 125
  },
  "hsl": {
    "h": 338.095,
    "s": 55.752,
    "l": 55.686
  },
  "oklch": {
    "l": 0.60678,
    "c": 0.16487,
    "h": 0.6
  },
  "luminance": 0.20052
}

Semantic roles & 50–950 ramp

primary
#CD4F7D
secondary
#A2D6C3
accent
#DFA849
background
#FEF8F9
surface
#FDF0F2
border
#D5CBCC
text
#160C0F
muted
#847D7E

Preview Lab

Preview with #CD4F7D

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

Preview Lab → · Contrast checker → · Palette generator →

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