#CD4B8E#CD4B8E

#CD4B8E is a mid, vivid pink. Relative luminance 0.200; OKLCH L 60.8% C 0.177 H 351.7°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#CD4B8E
RGBrgb(205, 75, 142)
HSLhsl(329, 57%, 55%)
HSVhsv(329, 63%, 80%)
CMYKcmyk(0%, 63.4%, 30.7%, 19.6%)
CIE-LABlab(51.80, 57.67, -9.87)
CIE-LCHlch(51.80, 58.51, 350.29°)
OKLaboklab(60.78% 0.1756 -0.0255)
OKLCHoklch(60.78% 0.177 351.7)
XYZxyz(32.5770, 19.9677, 27.7245)
Luminance0.1996 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD4B8E #4BCD8A
analogous
#CB4BCD #CD4B8E #CD4B4D
triadic
#CD4B8E #8ECD4B #4B8ECD
tetradic
#CD4B8E #CDCB4B #4BCD8A #4B4DCD
square
#CD4B8E #CDCB4B #4BCD8A #4B4DCD
split-complementary
#CD4B8E #4DCD4B #4BCDCB
monochromatic
#7B2250 #AB306F #CD4B8E #DA7BAC #E8ABCA

Accessibility & contrast

On white

4.21
#CD4B8E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#CD4B8E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD4B8E
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD4B8E#FFFFFF#000000##000000
##CD4B8E1.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E6D90
Deuteranopia (green-blind)
#82848B
Tritanopia (blue-blind)
#DC4466
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cd4b8e;
/* rgb */ color: rgb(205, 75, 142);
/* oklch */ color: oklch(60.8% 0.177 351.7);
Tailwind
colors: {
  custom: {
    50: '#e085af',
    500: '#cd4b8e',
    950: '#000000',
  },
}
SCSS
$custom: #cd4b8e;
$custom-light: #e085af;
$custom-dark: #000000;
JSON
{
  "hex": "#cd4b8e",
  "rgb": {
    "r": 205,
    "g": 75,
    "b": 142
  },
  "hsl": {
    "h": 329.077,
    "s": 56.522,
    "l": 54.902
  },
  "oklch": {
    "l": 0.6078,
    "c": 0.17742,
    "h": 351.7
  },
  "luminance": 0.19964
}

Semantic roles & 50–950 ramp

primary
#CD4B8E
secondary
#9FD5B9
accent
#E09248
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F

Preview Lab

Preview with #CD4B8E

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

Preview Lab → · Contrast checker → · Palette generator →

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