#CD4B8A#CD4B8A

#CD4B8A is a mid, vivid pink. Relative luminance 0.198; OKLCH L 60.6% C 0.176 H 353.6°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#CD4B8A
RGBrgb(205, 75, 138)
HSLhsl(331, 57%, 55%)
HSVhsv(331, 63%, 80%)
CMYKcmyk(0%, 63.4%, 32.7%, 19.6%)
CIE-LABlab(51.67, 57.19, -7.68)
CIE-LCHlch(51.67, 57.70, 352.35°)
OKLaboklab(60.64% 0.1744 -0.0196)
OKLCHoklch(60.64% 0.176 353.6)
XYZxyz(32.2820, 19.8497, 26.1711)
Luminance0.1985 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD4B8A #4BCD8E
analogous
#CD4BCB #CD4B8A #CD4D4B
triadic
#CD4B8A #8ACD4B #4B8ACD
tetradic
#CD4B8A #CBCD4B #4BCD8E #4D4BCD
square
#CD4B8A #CBCD4B #4BCD8E #4D4BCD
split-complementary
#CD4B8A #4BCD4D #4BCBCD
monochromatic
#7B224D #AB306B #CD4B8A #DA7BA9 #E8ABC8

Accessibility & contrast

On white

4.23
#CD4B8A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#CD4B8A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD4B8A
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD4B8A#FFFFFF#000000##000000
##CD4B8A1.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F6C8C
Deuteranopia (green-blind)
#838487
Tritanopia (blue-blind)
#DC4264
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cd4b8a;
/* rgb */ color: rgb(205, 75, 138);
/* oklch */ color: oklch(60.6% 0.176 353.6);
Tailwind
colors: {
  custom: {
    50: '#e085ac',
    500: '#cd4b8a',
    950: '#000000',
  },
}
SCSS
$custom: #cd4b8a;
$custom-light: #e085ac;
$custom-dark: #000000;
JSON
{
  "hex": "#cd4b8a",
  "rgb": {
    "r": 205,
    "g": 75,
    "b": 138
  },
  "hsl": {
    "h": 330.923,
    "s": 56.522,
    "l": 54.902
  },
  "oklch": {
    "l": 0.60637,
    "c": 0.17551,
    "h": 353.6
  },
  "luminance": 0.19846
}

Semantic roles & 50–950 ramp

primary
#CD4B8A
secondary
#9FD5BB
accent
#E09648
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F

Preview Lab

Preview with #CD4B8A

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

Preview Lab → · Contrast checker → · Palette generator →

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