#CD4170#CD4170

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

Color values

HEX#CD4170
RGBrgb(205, 65, 112)
HSLhsl(340, 58%, 53%)
HSVhsv(340, 68%, 80%)
CMYKcmyk(0%, 68.3%, 45.4%, 19.6%)
CIE-LABlab(49.42, 58.45, 4.65)
CIE-LCHlch(49.42, 58.63, 4.55°)
OKLaboklab(58.71% 0.1786 0.0126)
OKLCHoklch(58.71% 0.179 4)
XYZxyz(29.9941, 17.9334, 17.2081)
Luminance0.1793 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD4170 #41CD9E
analogous
#CD41B6 #CD4170 #CD5841
triadic
#CD4170 #70CD41 #4170CD
tetradic
#CD4170 #B6CD41 #41CD9E #5841CD
square
#CD4170 #B6CD41 #41CD9E #5841CD
split-complementary
#CD4170 #41CD58 #41B6CD
monochromatic
#751F3C #A52C54 #CD4170 #DA7194 #E6A2B9

Accessibility & contrast

On white

4.58
#CD4170 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#CD4170 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD4170
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD4170#FFFFFF#000000##000000
##CD41701.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F6471
Deuteranopia (green-blind)
#85806D
Tritanopia (blue-blind)
#DE2C54
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #cd4170;
/* rgb */ color: rgb(205, 65, 112);
/* oklch */ color: oklch(58.7% 0.179 4.0);
Tailwind
colors: {
  custom: {
    50: '#e27f98',
    500: '#cd4170',
    950: '#000000',
  },
}
SCSS
$custom: #cd4170;
$custom-light: #e27f98;
$custom-dark: #000000;
JSON
{
  "hex": "#cd4170",
  "rgb": {
    "r": 205,
    "g": 65,
    "b": 112
  },
  "hsl": {
    "h": 339.857,
    "s": 58.333,
    "l": 52.941
  },
  "oklch": {
    "l": 0.58714,
    "c": 0.17906,
    "h": 4
  },
  "luminance": 0.1793
}

Semantic roles & 50–950 ramp

primary
#CD4170
secondary
#97D3BF
accent
#E2AD46
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#160B0D
muted
#847C7E

Preview Lab

Preview with #CD4170

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

Preview Lab → · Contrast checker → · Palette generator →

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