#CD4096#CD4096

#CD4096 is a mid, vivid pink. Relative luminance 0.188; OKLCH L 59.9% C 0.196 H 347.1°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#CD4096
RGBrgb(205, 64, 150)
HSLhsl(323, 59%, 53%)
HSVhsv(323, 69%, 80%)
CMYKcmyk(0%, 68.8%, 26.8%, 19.6%)
CIE-LABlab(50.51, 63.00, -16.57)
CIE-LCHlch(50.51, 65.15, 345.26°)
OKLaboklab(59.93% 0.1911 -0.0437)
OKLCHoklch(59.93% 0.196 347.1)
XYZxyz(32.5167, 18.8514, 30.7745)
Luminance0.1885 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD4096 #40CD77
analogous
#BD40CD #CD4096 #CD4050
triadic
#CD4096 #96CD40 #4096CD
tetradic
#CD4096 #CDBD40 #40CD77 #4050CD
square
#CD4096 #CDBD40 #40CD77 #4050CD
split-complementary
#CD4096 #50CD40 #40CDBD
monochromatic
#741E53 #A52B75 #CD4096 #DA71B1 #E6A1CB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CD4096#FFFFFF#000000##000000
##CD40961.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)
#526998
Deuteranopia (green-blind)
#7B8193
Tritanopia (blue-blind)
#DB3C65
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #cd4096;
/* rgb */ color: rgb(205, 64, 150);
/* oklch */ color: oklch(59.9% 0.196 347.1);
Tailwind
colors: {
  custom: {
    50: '#e07fb5',
    500: '#cd4096',
    950: '#000000',
  },
}
SCSS
$custom: #cd4096;
$custom-light: #e07fb5;
$custom-dark: #000000;
JSON
{
  "hex": "#cd4096",
  "rgb": {
    "r": 205,
    "g": 64,
    "b": 150
  },
  "hsl": {
    "h": 323.404,
    "s": 58.506,
    "l": 52.745
  },
  "oklch": {
    "l": 0.59927,
    "c": 0.19606,
    "h": 347.1
  },
  "luminance": 0.18848
}

Semantic roles & 50–950 ramp

primary
#CD4096
secondary
#96D3AE
accent
#E28346
background
#FEF8FB
surface
#FCEFF6
border
#D5CAD0
text
#160B11
muted
#847C80

Preview Lab

Preview with #CD4096

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

Preview Lab → · Contrast checker → · Palette generator →

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