#CD4070#CD4070

#CD4070 is a mid, vivid pink. Relative luminance 0.178; OKLCH L 58.6% C 0.180 H 3.8°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#CD4070
RGBrgb(205, 64, 112)
HSLhsl(340, 59%, 53%)
HSVhsv(340, 69%, 80%)
CMYKcmyk(0%, 68.8%, 45.4%, 19.6%)
CIE-LABlab(49.28, 58.83, 4.45)
CIE-LCHlch(49.28, 59.00, 4.33°)
OKLaboklab(58.61% 0.1798 0.0121)
OKLCHoklch(58.61% 0.18 3.8)
XYZxyz(29.9372, 17.8196, 17.1891)
Luminance0.1782 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD4070 #40CD9D
analogous
#CD40B7 #CD4070 #CD5640
triadic
#CD4070 #70CD40 #4070CD
tetradic
#CD4070 #B7CD40 #40CD9D #5640CD
square
#CD4070 #B7CD40 #40CD9D #5640CD
split-complementary
#CD4070 #40CD56 #40B7CD
monochromatic
#741E3C #A52B55 #CD4070 #DA7194 #E6A1B9

Accessibility & contrast

On white

4.60
#CD4070 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#CD4070 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #CD4070
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD4070#FFFFFF#000000##FFFFFF
##CD40701.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F6471
Deuteranopia (green-blind)
#847F6D
Tritanopia (blue-blind)
#DE2B54
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #cd4070;
/* rgb */ color: rgb(205, 64, 112);
/* oklch */ color: oklch(58.6% 0.180 3.8);
Tailwind
colors: {
  custom: {
    50: '#e27e98',
    500: '#cd4070',
    950: '#000000',
  },
}
SCSS
$custom: #cd4070;
$custom-light: #e27e98;
$custom-dark: #000000;
JSON
{
  "hex": "#cd4070",
  "rgb": {
    "r": 205,
    "g": 64,
    "b": 112
  },
  "hsl": {
    "h": 339.574,
    "s": 58.506,
    "l": 52.745
  },
  "oklch": {
    "l": 0.58611,
    "c": 0.18024,
    "h": 3.8
  },
  "luminance": 0.17816
}

Semantic roles & 50–950 ramp

primary
#CD4070
secondary
#96D3BE
accent
#E2AD46
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#160B0D
muted
#847C7E

Preview Lab

Preview with #CD4070

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

Preview Lab → · Contrast checker → · Palette generator →

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