#CD4A7B#CD4A7B

#CD4A7B is a mid, vivid pink. Relative luminance 0.193; OKLCH L 60.0% C 0.171 H 0.6°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#CD4A7B
RGBrgb(205, 74, 123)
HSLhsl(338, 57%, 55%)
HSVhsv(338, 64%, 80%)
CMYKcmyk(0%, 63.9%, 40%, 19.6%)
CIE-LABlab(51.05, 55.92, 0.38)
CIE-LCHlch(51.05, 55.92, 0.39°)
OKLaboklab(60.03% 0.171 0.0017)
OKLCHoklch(60.03% 0.171 0.6)
XYZxyz(31.2028, 19.3104, 20.8191)
Luminance0.1931 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD4A7B #4ACD9C
analogous
#CD4ABD #CD4A7B #CD5A4A
triadic
#CD4A7B #7BCD4A #4A7BCD
tetradic
#CD4A7B #BDCD4A #4ACD9C #5A4ACD
square
#CD4A7B #BDCD4A #4ACD9C #5A4ACD
split-complementary
#CD4A7B #4ACD5A #4ABDCD
monochromatic
#7B2243 #AB2F5D #CD4A7B #DA7A9E #E7AAC1

Accessibility & contrast

On white

4.32
#CD4A7B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#CD4A7B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD4A7B
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD4A7B#FFFFFF#000000##000000
##CD4A7B1.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#636A7C
Deuteranopia (green-blind)
#868378
Tritanopia (blue-blind)
#DD3C5D
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #cd4a7b;
/* rgb */ color: rgb(205, 74, 123);
/* oklch */ color: oklch(60.0% 0.171 0.6);
Tailwind
colors: {
  custom: {
    50: '#e184a1',
    500: '#cd4a7b',
    950: '#000000',
  },
}
SCSS
$custom: #cd4a7b;
$custom-light: #e184a1;
$custom-dark: #000000;
JSON
{
  "hex": "#cd4a7b",
  "rgb": {
    "r": 205,
    "g": 74,
    "b": 123
  },
  "hsl": {
    "h": 337.557,
    "s": 56.71,
    "l": 54.706
  },
  "oklch": {
    "l": 0.60026,
    "c": 0.17096,
    "h": 0.6
  },
  "luminance": 0.19307
}

Semantic roles & 50–950 ramp

primary
#CD4A7B
secondary
#9ED5C0
accent
#E0A748
background
#FEF8F9
surface
#FDF0F2
border
#D5CBCC
text
#160B0E
muted
#847C7E

Preview Lab

Preview with #CD4A7B

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

Preview Lab → · Contrast checker → · Palette generator →

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