#CD4873#CD4873

#CD4873 is a mid, vivid pink. Relative luminance 0.189; OKLCH L 59.6% C 0.171 H 4.0°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#CD4873
RGBrgb(205, 72, 115)
HSLhsl(341, 57%, 54%)
HSVhsv(341, 65%, 80%)
CMYKcmyk(0%, 64.9%, 43.9%, 19.6%)
CIE-LABlab(50.52, 55.94, 4.42)
CIE-LCHlch(50.52, 56.11, 4.52°)
OKLaboklab(59.56% 0.1708 0.012)
OKLCHoklch(59.56% 0.171 4)
XYZxyz(30.5909, 18.8554, 18.2448)
Luminance0.1885 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD4873 #48CDA2
analogous
#CD48B5 #CD4873 #CD6048
triadic
#CD4873 #73CD48 #4873CD
tetradic
#CD4873 #B5CD48 #48CDA2 #6048CD
square
#CD4873 #B5CD48 #48CDA2 #6048CD
split-complementary
#CD4873 #48CD60 #48B5CD
monochromatic
#79213E #A92E56 #CD4873 #DA7898 #E7A8BD

Accessibility & contrast

On white

4.40
#CD4873 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#CD4873 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD4873
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD4873#FFFFFF#000000##000000
##CD48731.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#636874
Deuteranopia (green-blind)
#878270
Tritanopia (blue-blind)
#DE3759
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #cd4873;
/* rgb */ color: rgb(205, 72, 115);
/* oklch */ color: oklch(59.6% 0.171 4.0);
Tailwind
colors: {
  custom: {
    50: '#e1839b',
    500: '#cd4873',
    950: '#000000',
  },
}
SCSS
$custom: #cd4873;
$custom-light: #e1839b;
$custom-dark: #000000;
JSON
{
  "hex": "#cd4873",
  "rgb": {
    "r": 205,
    "g": 72,
    "b": 115
  },
  "hsl": {
    "h": 340.602,
    "s": 57.082,
    "l": 54.314
  },
  "oklch": {
    "l": 0.59559,
    "c": 0.17122,
    "h": 4
  },
  "luminance": 0.18852
}

Semantic roles & 50–950 ramp

primary
#CD4873
secondary
#9CD5C2
accent
#E0AF47
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#160B0E
muted
#847C7E

Preview Lab

Preview with #CD4873

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

Preview Lab → · Contrast checker → · Palette generator →

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