#CD4072#CD4072

#CD4072 is a mid, vivid pink. Relative luminance 0.179; OKLCH L 58.7% C 0.181 H 2.9°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#CD4072
RGBrgb(205, 64, 114)
HSLhsl(339, 59%, 53%)
HSVhsv(339, 69%, 80%)
CMYKcmyk(0%, 68.8%, 44.4%, 19.6%)
CIE-LABlab(49.33, 59.02, 3.32)
CIE-LCHlch(49.33, 59.11, 3.22°)
OKLaboklab(58.67% 0.1805 0.0092)
OKLCHoklch(58.67% 0.181 2.9)
XYZxyz(30.0498, 17.8646, 17.7821)
Luminance0.1786 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD4072 #40CD9B
analogous
#CD40B9 #CD4072 #CD5440
triadic
#CD4072 #72CD40 #4072CD
tetradic
#CD4072 #B9CD40 #40CD9B #5440CD
square
#CD4072 #B9CD40 #40CD9B #5440CD
split-complementary
#CD4072 #40CD54 #40B9CD
monochromatic
#741E3D #A52B56 #CD4072 #DA7196 #E6A1BA

Accessibility & contrast

On white

4.59
#CD4072 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#CD4072 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #CD4072
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD4072#FFFFFF#000000##FFFFFF
##CD40721.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E6473
Deuteranopia (green-blind)
#847F6F
Tritanopia (blue-blind)
#DE2C54
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #cd4072;
/* rgb */ color: rgb(205, 64, 114);
/* oklch */ color: oklch(58.7% 0.181 2.9);
Tailwind
colors: {
  custom: {
    50: '#e27e9a',
    500: '#cd4072',
    950: '#000000',
  },
}
SCSS
$custom: #cd4072;
$custom-light: #e27e9a;
$custom-dark: #000000;
JSON
{
  "hex": "#cd4072",
  "rgb": {
    "r": 205,
    "g": 64,
    "b": 114
  },
  "hsl": {
    "h": 338.723,
    "s": 58.506,
    "l": 52.745
  },
  "oklch": {
    "l": 0.5867,
    "c": 0.18077,
    "h": 2.9
  },
  "luminance": 0.17861
}

Semantic roles & 50–950 ramp

primary
#CD4072
secondary
#96D3BD
accent
#E2AB46
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#160B0E
muted
#847C7E

Preview Lab

Preview with #CD4072

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

Preview Lab → · Contrast checker → · Palette generator →

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