#CD4B7C#CD4B7C

#CD4B7C is a mid, vivid pink. Relative luminance 0.195; OKLCH L 60.2% C 0.170 H 0.3°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#CD4B7C
RGBrgb(205, 75, 124)
HSLhsl(337, 57%, 55%)
HSVhsv(337, 63%, 80%)
CMYKcmyk(0%, 63.4%, 39.5%, 19.6%)
CIE-LABlab(51.23, 55.61, 0.05)
CIE-LCHlch(51.23, 55.61, 0.05°)
OKLaboklab(60.17% 0.17 0.0008)
OKLCHoklch(60.17% 0.17 0.3)
XYZxyz(31.3330, 19.4701, 21.1729)
Luminance0.1947 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD4B7C #4BCD9C
analogous
#CD4BBD #CD4B7C #CD5B4B
triadic
#CD4B7C #7CCD4B #4B7CCD
tetradic
#CD4B7C #BDCD4B #4BCD9C #5B4BCD
square
#CD4B7C #BDCD4B #4BCD9C #5B4BCD
split-complementary
#CD4B7C #4BCD5B #4BBDCD
monochromatic
#7B2244 #AB305E #CD4B7C #DA7B9F #E8ABC2

Accessibility & contrast

On white

4.29
#CD4B7C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#CD4B7C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD4B7C
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD4B7C#FFFFFF#000000##000000
##CD4B7C1.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#636A7D
Deuteranopia (green-blind)
#868379
Tritanopia (blue-blind)
#DD3D5E
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #cd4b7c;
/* rgb */ color: rgb(205, 75, 124);
/* oklch */ color: oklch(60.2% 0.170 0.3);
Tailwind
colors: {
  custom: {
    50: '#e184a1',
    500: '#cd4b7c',
    950: '#000000',
  },
}
SCSS
$custom: #cd4b7c;
$custom-light: #e184a1;
$custom-dark: #000000;
JSON
{
  "hex": "#cd4b7c",
  "rgb": {
    "r": 205,
    "g": 75,
    "b": 124
  },
  "hsl": {
    "h": 337.385,
    "s": 56.522,
    "l": 54.902
  },
  "oklch": {
    "l": 0.60173,
    "c": 0.16995,
    "h": 0.3
  },
  "luminance": 0.19467
}

Semantic roles & 50–950 ramp

primary
#CD4B7C
secondary
#9FD5C1
accent
#E0A748
background
#FEF8F9
surface
#FDF0F2
border
#D5CBCC
text
#160B0F
muted
#847C7E

Preview Lab

Preview with #CD4B7C

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

Preview Lab → · Contrast checker → · Palette generator →

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