#CD4B9E#CD4B9E

#CD4B9E is a mid, vivid pink. Relative luminance 0.205; OKLCH L 61.4% C 0.186 H 344.7°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#CD4B9E
RGBrgb(205, 75, 158)
HSLhsl(322, 57%, 55%)
HSVhsv(322, 63%, 80%)
CMYKcmyk(0%, 63.4%, 22.9%, 19.6%)
CIE-LABlab(52.38, 59.73, -18.47)
CIE-LCHlch(52.38, 62.52, 342.82°)
OKLaboklab(61.4% 0.1797 -0.0491)
OKLCHoklch(61.4% 0.186 344.7)
XYZxyz(33.8656, 20.4832, 34.5112)
Luminance0.2048 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD4B9E #4BCD7A
analogous
#BB4BCD #CD4B9E #CD4B5D
triadic
#CD4B9E #9ECD4B #4B9ECD
tetradic
#CD4B9E #CDBB4B #4BCD7A #4B5DCD
square
#CD4B9E #CDBB4B #4BCD7A #4B5DCD
split-complementary
#CD4B9E #5DCD4B #4BCDBB
monochromatic
#7B225B #AB307F #CD4B9E #DA7BB8 #E8ABD2

Accessibility & contrast

On white

4.12
#CD4B9E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#CD4B9E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD4B9E
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD4B9E#FFFFFF#000000##000000
##CD4B9E1.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#586FA0
Deuteranopia (green-blind)
#7E859B
Tritanopia (blue-blind)
#DA4A6E
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cd4b9e;
/* rgb */ color: rgb(205, 75, 158);
/* oklch */ color: oklch(61.4% 0.186 344.7);
Tailwind
colors: {
  custom: {
    50: '#e085ba',
    500: '#cd4b9e',
    950: '#000000',
  },
}
SCSS
$custom: #cd4b9e;
$custom-light: #e085ba;
$custom-dark: #000000;
JSON
{
  "hex": "#cd4b9e",
  "rgb": {
    "r": 205,
    "g": 75,
    "b": 158
  },
  "hsl": {
    "h": 321.692,
    "s": 56.522,
    "l": 54.902
  },
  "oklch": {
    "l": 0.61396,
    "c": 0.18627,
    "h": 344.7
  },
  "luminance": 0.2048
}

Semantic roles & 50–950 ramp

primary
#CD4B9E
secondary
#9FD5B2
accent
#E07F48
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C11
muted
#847D80

Preview Lab

Preview with #CD4B9E

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

Preview Lab → · Contrast checker → · Palette generator →

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