#CD4A9B#CD4A9B

#CD4A9B is a mid, vivid pink. Relative luminance 0.202; OKLCH L 61.2% C 0.186 H 345.9°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#CD4A9B
RGBrgb(205, 74, 155)
HSLhsl(323, 57%, 55%)
HSVhsv(323, 64%, 80%)
CMYKcmyk(0%, 63.9%, 24.4%, 19.6%)
CIE-LABlab(52.11, 59.74, -17.10)
CIE-LCHlch(52.11, 62.14, 344.03°)
OKLaboklab(61.16% 0.1803 -0.0453)
OKLCHoklch(61.16% 0.186 345.9)
XYZxyz(33.5432, 20.2466, 33.1454)
Luminance0.2024 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD4A9B #4ACD7C
analogous
#BE4ACD #CD4A9B #CD4A59
triadic
#CD4A9B #9BCD4A #4A9BCD
tetradic
#CD4A9B #CDBE4A #4ACD7C #4A59CD
square
#CD4A9B #CDBE4A #4ACD7C #4A59CD
split-complementary
#CD4A9B #59CD4A #4ACDBE
monochromatic
#7B2259 #AB2F7C #CD4A9B #DA7AB5 #E7AAD0

Accessibility & contrast

On white

4.16
#CD4A9B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#CD4A9B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD4A9B
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD4A9B#FFFFFF#000000##000000
##CD4A9B1.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#586E9D
Deuteranopia (green-blind)
#7E8498
Tritanopia (blue-blind)
#DA486C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cd4a9b;
/* rgb */ color: rgb(205, 74, 155);
/* oklch */ color: oklch(61.2% 0.186 345.9);
Tailwind
colors: {
  custom: {
    50: '#e085b8',
    500: '#cd4a9b',
    950: '#000000',
  },
}
SCSS
$custom: #cd4a9b;
$custom-light: #e085b8;
$custom-dark: #000000;
JSON
{
  "hex": "#cd4a9b",
  "rgb": {
    "r": 205,
    "g": 74,
    "b": 155
  },
  "hsl": {
    "h": 322.901,
    "s": 56.71,
    "l": 54.706
  },
  "oklch": {
    "l": 0.61164,
    "c": 0.18585,
    "h": 345.9
  },
  "luminance": 0.20243
}

Semantic roles & 50–950 ramp

primary
#CD4A9B
secondary
#9ED5B3
accent
#E08248
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C11
muted
#847D80

Preview Lab

Preview with #CD4A9B

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

Preview Lab → · Contrast checker → · Palette generator →

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