#CD4B8C#CD4B8C

#CD4B8C is a mid, vivid pink. Relative luminance 0.199; OKLCH L 60.7% C 0.176 H 352.7°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#CD4B8C
RGBrgb(205, 75, 140)
HSLhsl(330, 57%, 55%)
HSVhsv(330, 63%, 80%)
CMYKcmyk(0%, 63.4%, 31.7%, 19.6%)
CIE-LABlab(51.73, 57.43, -8.78)
CIE-LCHlch(51.73, 58.09, 351.31°)
OKLaboklab(60.71% 0.175 -0.0225)
OKLCHoklch(60.71% 0.176 352.7)
XYZxyz(32.4282, 19.9082, 26.9407)
Luminance0.1991 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD4B8C #4BCD8C
analogous
#CD4BCD #CD4B8C #CD4B4B
triadic
#CD4B8C #8CCD4B #4B8CCD
tetradic
#CD4B8C #CDCD4B #4BCD8C #4B4BCD
square
#CD4B8C #CDCD4B #4BCD8C #4B4BCD
split-complementary
#CD4B8C #4BCD4B #4BCDCD
monochromatic
#7B224F #AB306D #CD4B8C #DA7BAB #E8ABC9

Accessibility & contrast

On white

4.22
#CD4B8C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#CD4B8C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD4B8C
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD4B8C#FFFFFF#000000##000000
##CD4B8C1.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F6C8E
Deuteranopia (green-blind)
#828489
Tritanopia (blue-blind)
#DC4365
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cd4b8c;
/* rgb */ color: rgb(205, 75, 140);
/* oklch */ color: oklch(60.7% 0.176 352.7);
Tailwind
colors: {
  custom: {
    50: '#e085ad',
    500: '#cd4b8c',
    950: '#000000',
  },
}
SCSS
$custom: #cd4b8c;
$custom-light: #e085ad;
$custom-dark: #000000;
JSON
{
  "hex": "#cd4b8c",
  "rgb": {
    "r": 205,
    "g": 75,
    "b": 140
  },
  "hsl": {
    "h": 330,
    "s": 56.522,
    "l": 54.902
  },
  "oklch": {
    "l": 0.60708,
    "c": 0.17645,
    "h": 352.7
  },
  "luminance": 0.19905
}

Semantic roles & 50–950 ramp

primary
#CD4B8C
secondary
#9FD5BA
accent
#E09448
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F

Preview Lab

Preview with #CD4B8C

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

Preview Lab → · Contrast checker → · Palette generator →

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