#CD4874#CD4874

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

Color values

HEX#CD4874
RGBrgb(205, 72, 116)
HSLhsl(340, 57%, 54%)
HSVhsv(340, 65%, 80%)
CMYKcmyk(0%, 64.9%, 43.4%, 19.6%)
CIE-LABlab(50.54, 56.04, 3.86)
CIE-LCHlch(50.54, 56.17, 3.94°)
OKLaboklab(59.59% 0.1712 0.0106)
OKLCHoklch(59.59% 0.171 3.5)
XYZxyz(30.6488, 18.8785, 18.5495)
Luminance0.1888 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD4874 #48CDA1
analogous
#CD48B7 #CD4874 #CD5E48
triadic
#CD4874 #74CD48 #4874CD
tetradic
#CD4874 #B7CD48 #48CDA1 #5E48CD
square
#CD4874 #B7CD48 #48CDA1 #5E48CD
split-complementary
#CD4874 #48CD5E #48B7CD
monochromatic
#79213E #A92E57 #CD4874 #DA7899 #E7A8BD

Accessibility & contrast

On white

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

On black

4.78
#CD4874 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD4874
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD4874#FFFFFF#000000##000000
##CD48741.004.404.784.78
#FFFFFF4.401.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cd4874;
/* rgb */ color: rgb(205, 72, 116);
/* oklch */ color: oklch(59.6% 0.171 3.5);
Tailwind
colors: {
  custom: {
    50: '#e1839b',
    500: '#cd4874',
    950: '#000000',
  },
}
SCSS
$custom: #cd4874;
$custom-light: #e1839b;
$custom-dark: #000000;
JSON
{
  "hex": "#cd4874",
  "rgb": {
    "r": 205,
    "g": 72,
    "b": 116
  },
  "hsl": {
    "h": 340.15,
    "s": 57.082,
    "l": 54.314
  },
  "oklch": {
    "l": 0.59588,
    "c": 0.17148,
    "h": 3.5
  },
  "luminance": 0.18875
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD4874

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

Preview Lab → · Contrast checker → · Palette generator →

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