#CD4074#CD4074

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

Color values

HEX#CD4074
RGBrgb(205, 64, 116)
HSLhsl(338, 59%, 53%)
HSVhsv(338, 69%, 80%)
CMYKcmyk(0%, 68.8%, 43.4%, 19.6%)
CIE-LABlab(49.39, 59.21, 2.19)
CIE-LCHlch(49.39, 59.25, 2.12°)
OKLaboklab(58.73% 0.1812 0.0063)
OKLCHoklch(58.73% 0.181 2)
XYZxyz(30.1648, 17.9107, 18.3882)
Luminance0.1791 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD4074 #40CD99
analogous
#CD40BB #CD4074 #CD5240
triadic
#CD4074 #74CD40 #4074CD
tetradic
#CD4074 #BBCD40 #40CD99 #5240CD
square
#CD4074 #BBCD40 #40CD99 #5240CD
split-complementary
#CD4074 #40CD52 #40BBCD
monochromatic
#741E3E #A52B58 #CD4074 #DA7197 #E6A1BB

Accessibility & contrast

On white

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

On black

4.58
#CD4074 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD4074
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD4074#FFFFFF#000000##000000
##CD40741.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E6475
Deuteranopia (green-blind)
#837F71
Tritanopia (blue-blind)
#DE2C55
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #cd4074;
/* rgb */ color: rgb(205, 64, 116);
/* oklch */ color: oklch(58.7% 0.181 2.0);
Tailwind
colors: {
  custom: {
    50: '#e17e9b',
    500: '#cd4074',
    950: '#000000',
  },
}
SCSS
$custom: #cd4074;
$custom-light: #e17e9b;
$custom-dark: #000000;
JSON
{
  "hex": "#cd4074",
  "rgb": {
    "r": 205,
    "g": 64,
    "b": 116
  },
  "hsl": {
    "h": 337.872,
    "s": 58.506,
    "l": 52.745
  },
  "oklch": {
    "l": 0.5873,
    "c": 0.18135,
    "h": 2
  },
  "luminance": 0.17907
}

Semantic roles & 50–950 ramp

primary
#CD4074
secondary
#96D3BC
accent
#E2A846
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#160B0E
muted
#847C7E

Preview Lab

Preview with #CD4074

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

Preview Lab → · Contrast checker → · Palette generator →

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