#CD4B9F#CD4B9F

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

Color values

HEX#CD4B9F
RGBrgb(205, 75, 159)
HSLhsl(321, 57%, 55%)
HSVhsv(321, 63%, 80%)
CMYKcmyk(0%, 63.4%, 22.4%, 19.6%)
CIE-LABlab(52.42, 59.87, -19.00)
CIE-LCHlch(52.42, 62.81, 342.39°)
OKLaboklab(61.44% 0.1799 -0.0505)
OKLCHoklch(61.44% 0.187 344.3)
XYZxyz(33.9520, 20.5177, 34.9664)
Luminance0.2051 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD4B9F #4BCD79
analogous
#BA4BCD #CD4B9F #CD4B5E
triadic
#CD4B9F #9FCD4B #4B9FCD
tetradic
#CD4B9F #CDBA4B #4BCD79 #4B5ECD
square
#CD4B9F #CDBA4B #4BCD79 #4B5ECD
split-complementary
#CD4B9F #5ECD4B #4BCDBA
monochromatic
#7B225C #AB307F #CD4B9F #DA7BB9 #E8ABD2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CD4B9F#FFFFFF#000000##000000
##CD4B9F1.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)
#576FA2
Deuteranopia (green-blind)
#7D859C
Tritanopia (blue-blind)
#DA4A6E
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cd4b9f;
/* rgb */ color: rgb(205, 75, 159);
/* oklch */ color: oklch(61.4% 0.187 344.3);
Tailwind
colors: {
  custom: {
    50: '#e085bb',
    500: '#cd4b9f',
    950: '#000000',
  },
}
SCSS
$custom: #cd4b9f;
$custom-light: #e085bb;
$custom-dark: #000000;
JSON
{
  "hex": "#cd4b9f",
  "rgb": {
    "r": 205,
    "g": 75,
    "b": 159
  },
  "hsl": {
    "h": 321.231,
    "s": 56.522,
    "l": 54.902
  },
  "oklch": {
    "l": 0.61437,
    "c": 0.18688,
    "h": 344.3
  },
  "luminance": 0.20514
}

Semantic roles & 50–950 ramp

primary
#CD4B9F
secondary
#9FD5B2
accent
#E07E48
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C12
muted
#847D81

Preview Lab

Preview with #CD4B9F

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

Preview Lab → · Contrast checker → · Palette generator →

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