#CD4A8E#CD4A8E

#CD4A8E is a mid, vivid pink. Relative luminance 0.198; OKLCH L 60.7% C 0.179 H 351.6°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#CD4A8E
RGBrgb(205, 74, 142)
HSLhsl(329, 57%, 55%)
HSVhsv(329, 64%, 80%)
CMYKcmyk(0%, 63.9%, 30.7%, 19.6%)
CIE-LABlab(51.65, 58.09, -10.10)
CIE-LCHlch(51.65, 58.96, 350.14°)
OKLaboklab(60.67% 0.1769 -0.0261)
OKLCHoklch(60.67% 0.179 351.6)
XYZxyz(32.5097, 19.8331, 27.7020)
Luminance0.1983 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD4A8E #4ACD89
analogous
#CB4ACD #CD4A8E #CD4A4D
triadic
#CD4A8E #8ECD4A #4A8ECD
tetradic
#CD4A8E #CDCB4A #4ACD89 #4A4DCD
square
#CD4A8E #CDCB4A #4ACD89 #4A4DCD
split-complementary
#CD4A8E #4DCD4A #4ACDCB
monochromatic
#7B2250 #AB2F6F #CD4A8E #DA7AAC #E7AACA

Accessibility & contrast

On white

4.23
#CD4A8E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#CD4A8E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD4A8E
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD4A8E#FFFFFF#000000##000000
##CD4A8E1.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D6C90
Deuteranopia (green-blind)
#82848B
Tritanopia (blue-blind)
#DC4366
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cd4a8e;
/* rgb */ color: rgb(205, 74, 142);
/* oklch */ color: oklch(60.7% 0.179 351.6);
Tailwind
colors: {
  custom: {
    50: '#e084af',
    500: '#cd4a8e',
    950: '#000000',
  },
}
SCSS
$custom: #cd4a8e;
$custom-light: #e084af;
$custom-dark: #000000;
JSON
{
  "hex": "#cd4a8e",
  "rgb": {
    "r": 205,
    "g": 74,
    "b": 142
  },
  "hsl": {
    "h": 328.855,
    "s": 56.71,
    "l": 54.706
  },
  "oklch": {
    "l": 0.60667,
    "c": 0.1788,
    "h": 351.6
  },
  "luminance": 0.1983
}

Semantic roles & 50–950 ramp

primary
#CD4A8E
secondary
#9ED5B8
accent
#E09148
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160B10
muted
#847C7F

Preview Lab

Preview with #CD4A8E

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

Preview Lab → · Contrast checker → · Palette generator →

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