#CD4A7F#CD4A7F

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

Color values

HEX#CD4A7F
RGBrgb(205, 74, 127)
HSLhsl(336, 57%, 55%)
HSVhsv(336, 64%, 80%)
CMYKcmyk(0%, 63.9%, 38%, 19.6%)
CIE-LABlab(51.17, 56.35, -1.85)
CIE-LCHlch(51.17, 56.38, 358.12°)
OKLaboklab(60.15% 0.1723 -0.0041)
OKLCHoklch(60.15% 0.172 358.6)
XYZxyz(31.4583, 19.4126, 22.1649)
Luminance0.1941 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD4A7F #4ACD98
analogous
#CD4AC1 #CD4A7F #CD564A
triadic
#CD4A7F #7FCD4A #4A7FCD
tetradic
#CD4A7F #C1CD4A #4ACD98 #564ACD
square
#CD4A7F #C1CD4A #4ACD98 #564ACD
split-complementary
#CD4A7F #4ACD56 #4AC1CD
monochromatic
#7B2246 #AB2F61 #CD4A7F #DA7AA1 #E7AAC3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CD4A7F#FFFFFF#000000##000000
##CD4A7F1.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)
#626A80
Deuteranopia (green-blind)
#85837C
Tritanopia (blue-blind)
#DD3D5F
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #cd4a7f;
/* rgb */ color: rgb(205, 74, 127);
/* oklch */ color: oklch(60.2% 0.172 358.6);
Tailwind
colors: {
  custom: {
    50: '#e184a4',
    500: '#cd4a7f',
    950: '#000000',
  },
}
SCSS
$custom: #cd4a7f;
$custom-light: #e184a4;
$custom-dark: #000000;
JSON
{
  "hex": "#cd4a7f",
  "rgb": {
    "r": 205,
    "g": 74,
    "b": 127
  },
  "hsl": {
    "h": 335.725,
    "s": 56.71,
    "l": 54.706
  },
  "oklch": {
    "l": 0.60153,
    "c": 0.17233,
    "h": 358.6
  },
  "luminance": 0.19409
}

Semantic roles & 50–950 ramp

primary
#CD4A7F
secondary
#9ED5BF
accent
#E0A248
background
#FEF8FA
surface
#FDF0F3
border
#D5CBCD
text
#160B0F
muted
#847C7F

Preview Lab

Preview with #CD4A7F

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

Preview Lab → · Contrast checker → · Palette generator →

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