#CD4786#CD4786

#CD4786 is a mid, vivid pink. Relative luminance 0.192; OKLCH L 60.1% C 0.179 H 354.8°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#CD4786
RGBrgb(205, 71, 134)
HSLhsl(332, 57%, 54%)
HSVhsv(332, 65%, 80%)
CMYKcmyk(0%, 65.4%, 34.6%, 19.6%)
CIE-LABlab(50.93, 58.37, -6.39)
CIE-LCHlch(50.93, 58.72, 353.75°)
OKLaboklab(60.05% 0.1784 -0.0161)
OKLCHoklch(60.05% 0.179 354.8)
XYZxyz(31.7350, 19.2104, 24.5864)
Luminance0.1921 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD4786 #47CD8E
analogous
#CD47C9 #CD4786 #CD4B47
triadic
#CD4786 #86CD47 #4786CD
tetradic
#CD4786 #C9CD47 #47CD8E #4B47CD
square
#CD4786 #C9CD47 #47CD8E #4B47CD
split-complementary
#CD4786 #47CD4B #47C9CD
monochromatic
#79214A #A92E68 #CD4786 #DA77A6 #E7A7C5

Accessibility & contrast

On white

4.34
#CD4786 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#CD4786 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD4786
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD4786#FFFFFF#000000##000000
##CD47861.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D6A88
Deuteranopia (green-blind)
#828283
Tritanopia (blue-blind)
#DC3D61
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #cd4786;
/* rgb */ color: rgb(205, 71, 134);
/* oklch */ color: oklch(60.1% 0.179 354.8);
Tailwind
colors: {
  custom: {
    50: '#e182a9',
    500: '#cd4786',
    950: '#000000',
  },
}
SCSS
$custom: #cd4786;
$custom-light: #e182a9;
$custom-dark: #000000;
JSON
{
  "hex": "#cd4786",
  "rgb": {
    "r": 205,
    "g": 71,
    "b": 134
  },
  "hsl": {
    "h": 331.791,
    "s": 57.265,
    "l": 54.118
  },
  "oklch": {
    "l": 0.60051,
    "c": 0.17911,
    "h": 354.8
  },
  "luminance": 0.19207
}

Semantic roles & 50–950 ramp

primary
#CD4786
secondary
#9BD4BA
accent
#E19847
background
#FEF8FA
surface
#FDEFF4
border
#D5CACE
text
#160B0F
muted
#847C7F

Preview Lab

Preview with #CD4786

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

Preview Lab → · Contrast checker → · Palette generator →

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