#CD4178#CD4178

#CD4178 is a mid, vivid pink. Relative luminance 0.181; OKLCH L 59.0% C 0.181 H 0.3°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#CD4178
RGBrgb(205, 65, 120)
HSLhsl(336, 58%, 53%)
HSVhsv(336, 68%, 80%)
CMYKcmyk(0%, 68.3%, 41.5%, 19.6%)
CIE-LABlab(49.64, 59.23, 0.13)
CIE-LCHlch(49.64, 59.23, 0.13°)
OKLaboklab(58.96% 0.1814 0.001)
OKLCHoklch(58.96% 0.181 0.3)
XYZxyz(30.4594, 18.1195, 19.6591)
Luminance0.1812 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD4178 #41CD96
analogous
#CD41BE #CD4178 #CD5041
triadic
#CD4178 #78CD41 #4178CD
tetradic
#CD4178 #BECD41 #41CD96 #5041CD
square
#CD4178 #BECD41 #41CD96 #5041CD
split-complementary
#CD4178 #41CD50 #41BECD
monochromatic
#751F41 #A52C5B #CD4178 #DA719A #E6A2BD

Accessibility & contrast

On white

4.54
#CD4178 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#CD4178 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD4178
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD4178#FFFFFF#000000##000000
##CD41781.004.544.624.62
#FFFFFF4.541.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D6579
Deuteranopia (green-blind)
#838075
Tritanopia (blue-blind)
#DE3058
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #cd4178;
/* rgb */ color: rgb(205, 65, 120);
/* oklch */ color: oklch(59.0% 0.181 0.3);
Tailwind
colors: {
  custom: {
    50: '#e17f9e',
    500: '#cd4178',
    950: '#000000',
  },
}
SCSS
$custom: #cd4178;
$custom-light: #e17f9e;
$custom-dark: #000000;
JSON
{
  "hex": "#cd4178",
  "rgb": {
    "r": 205,
    "g": 65,
    "b": 120
  },
  "hsl": {
    "h": 336.429,
    "s": 58.333,
    "l": 52.941
  },
  "oklch": {
    "l": 0.58955,
    "c": 0.18138,
    "h": 0.3
  },
  "luminance": 0.18116
}

Semantic roles & 50–950 ramp

primary
#CD4178
secondary
#97D3BB
accent
#E2A546
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#160B0E
muted
#847C7E

Preview Lab

Preview with #CD4178

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

Preview Lab → · Contrast checker → · Palette generator →

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