#CD4B7A#CD4B7A

#CD4B7A is a mid, vivid pink. Relative luminance 0.194; OKLCH L 60.1% C 0.169 H 1.2°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#CD4B7A
RGBrgb(205, 75, 122)
HSLhsl(338, 57%, 55%)
HSVhsv(338, 63%, 80%)
CMYKcmyk(0%, 63.4%, 40.5%, 19.6%)
CIE-LABlab(51.18, 55.39, 1.16)
CIE-LCHlch(51.18, 55.41, 1.20°)
OKLaboklab(60.11% 0.1693 0.0037)
OKLCHoklch(60.11% 0.169 1.2)
XYZxyz(31.2078, 19.4201, 20.5136)
Luminance0.1942 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD4B7A #4BCD9E
analogous
#CD4BBB #CD4B7A #CD5D4B
triadic
#CD4B7A #7ACD4B #4B7ACD
tetradic
#CD4B7A #BBCD4B #4BCD9E #5D4BCD
square
#CD4B7A #BBCD4B #4BCD9E #5D4BCD
split-complementary
#CD4B7A #4BCD5D #4BBBCD
monochromatic
#7B2242 #AB305C #CD4B7A #DA7B9D #E8ABC1

Accessibility & contrast

On white

4.30
#CD4B7A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#CD4B7A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD4B7A
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD4B7A#FFFFFF#000000##000000
##CD4B7A1.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#646A7B
Deuteranopia (green-blind)
#878377
Tritanopia (blue-blind)
#DD3D5D
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #cd4b7a;
/* rgb */ color: rgb(205, 75, 122);
/* oklch */ color: oklch(60.1% 0.169 1.2);
Tailwind
colors: {
  custom: {
    50: '#e184a0',
    500: '#cd4b7a',
    950: '#000000',
  },
}
SCSS
$custom: #cd4b7a;
$custom-light: #e184a0;
$custom-dark: #000000;
JSON
{
  "hex": "#cd4b7a",
  "rgb": {
    "r": 205,
    "g": 75,
    "b": 122
  },
  "hsl": {
    "h": 338.308,
    "s": 56.522,
    "l": 54.902
  },
  "oklch": {
    "l": 0.60111,
    "c": 0.16931,
    "h": 1.2
  },
  "luminance": 0.19416
}

Semantic roles & 50–950 ramp

primary
#CD4B7A
secondary
#9FD5C1
accent
#E0A948
background
#FEF8F9
surface
#FDF0F2
border
#D5CBCC
text
#160B0E
muted
#847C7E

Preview Lab

Preview with #CD4B7A

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

Preview Lab → · Contrast checker → · Palette generator →

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