#CD4791#CD4791

#CD4791 is a mid, vivid pink. Relative luminance 0.195; OKLCH L 60.4% C 0.184 H 349.9°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#CD4791
RGBrgb(205, 71, 145)
HSLhsl(327, 57%, 54%)
HSVhsv(327, 65%, 80%)
CMYKcmyk(0%, 65.4%, 29.3%, 19.6%)
CIE-LABlab(51.31, 59.68, -12.40)
CIE-LCHlch(51.31, 60.95, 348.26°)
OKLaboklab(60.45% 0.1815 -0.0323)
OKLCHoklch(60.45% 0.184 349.9)
XYZxyz(32.5424, 19.5334, 28.8391)
Luminance0.1953 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD4791 #47CD83
analogous
#C647CD #CD4791 #CD474E
triadic
#CD4791 #91CD47 #4791CD
tetradic
#CD4791 #CDC647 #47CD83 #474ECD
square
#CD4791 #CDC647 #47CD83 #474ECD
split-complementary
#CD4791 #4ECD47 #47CDC6
monochromatic
#792151 #A92E72 #CD4791 #DA77AE #E7A7CB

Accessibility & contrast

On white

4.28
#CD4791 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#CD4791 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD4791
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD4791#FFFFFF#000000##000000
##CD47911.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A6B93
Deuteranopia (green-blind)
#7F838E
Tritanopia (blue-blind)
#DB4166
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #cd4791;
/* rgb */ color: rgb(205, 71, 145);
/* oklch */ color: oklch(60.4% 0.184 349.9);
Tailwind
colors: {
  custom: {
    50: '#e083b1',
    500: '#cd4791',
    950: '#000000',
  },
}
SCSS
$custom: #cd4791;
$custom-light: #e083b1;
$custom-dark: #000000;
JSON
{
  "hex": "#cd4791",
  "rgb": {
    "r": 205,
    "g": 71,
    "b": 145
  },
  "hsl": {
    "h": 326.866,
    "s": 57.265,
    "l": 54.118
  },
  "oklch": {
    "l": 0.60449,
    "c": 0.18436,
    "h": 349.9
  },
  "luminance": 0.1953
}

Semantic roles & 50–950 ramp

primary
#CD4791
secondary
#9BD4B5
accent
#E18C47
background
#FEF8FA
surface
#FCF0F5
border
#D5CBCF
text
#160B10
muted
#847C7F

Preview Lab

Preview with #CD4791

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

Preview Lab → · Contrast checker → · Palette generator →

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