#CD4F7A#CD4F7A

#CD4F7A is a mid, vivid pink. Relative luminance 0.200; OKLCH L 60.6% C 0.164 H 2.1°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#CD4F7A
RGBrgb(205, 79, 122)
HSLhsl(340, 56%, 56%)
HSVhsv(340, 61%, 80%)
CMYKcmyk(0%, 61.5%, 40.5%, 19.6%)
CIE-LABlab(51.81, 53.67, 2.09)
CIE-LCHlch(51.81, 53.71, 2.23°)
OKLaboklab(60.59% 0.1638 0.0061)
OKLCHoklch(60.59% 0.164 2.1)
XYZxyz(31.4877, 19.9798, 20.6069)
Luminance0.1998 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD4F7A #4FCDA2
analogous
#CD4FB9 #CD4F7A #CD634F
triadic
#CD4F7A #7ACD4F #4F7ACD
tetradic
#CD4F7A #B9CD4F #4FCDA2 #634FCD
square
#CD4F7A #B9CD4F #4FCDA2 #634FCD
split-complementary
#CD4F7A #4FCD63 #4FB9CD
monochromatic
#7E2442 #AE315C #CD4F7A #DB7F9E #E8AEC2

Accessibility & contrast

On white

4.20
#CD4F7A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#CD4F7A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD4F7A
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD4F7A#FFFFFF#000000##000000
##CD4F7A1.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#676C7B
Deuteranopia (green-blind)
#888577
Tritanopia (blue-blind)
#DD4160
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cd4f7a;
/* rgb */ color: rgb(205, 79, 122);
/* oklch */ color: oklch(60.6% 0.164 2.1);
Tailwind
colors: {
  custom: {
    50: '#e187a0',
    500: '#cd4f7a',
    950: '#000000',
  },
}
SCSS
$custom: #cd4f7a;
$custom-light: #e187a0;
$custom-dark: #000000;
JSON
{
  "hex": "#cd4f7a",
  "rgb": {
    "r": 205,
    "g": 79,
    "b": 122
  },
  "hsl": {
    "h": 339.524,
    "s": 55.752,
    "l": 55.686
  },
  "oklch": {
    "l": 0.60587,
    "c": 0.16394,
    "h": 2.1
  },
  "luminance": 0.19976
}

Semantic roles & 50–950 ramp

primary
#CD4F7A
secondary
#A2D6C4
accent
#DFAC49
background
#FEF8F9
surface
#FDF0F2
border
#D5CBCC
text
#160C0E
muted
#847D7E

Preview Lab

Preview with #CD4F7A

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

Preview Lab → · Contrast checker → · Palette generator →

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