#CD2D9B#CD2D9B

#CD2D9B is a mid, highly saturated pink. Relative luminance 0.172; OKLCH L 58.6% C 0.220 H 344.1°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#CD2D9B
RGBrgb(205, 45, 155)
HSLhsl(319, 64%, 49%)
HSVhsv(319, 78%, 80%)
CMYKcmyk(0%, 78%, 24.4%, 19.6%)
CIE-LABlab(48.54, 69.75, -22.57)
CIE-LCHlch(48.54, 73.31, 342.07°)
OKLaboklab(58.56% 0.2111 -0.0603)
OKLCHoklch(58.56% 0.22 344.1)
XYZxyz(32.0329, 17.2260, 32.6420)
Luminance0.1722 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD2D9B #2DCD5F
analogous
#AF2DCD #CD2D9B #CD2D4B
triadic
#CD2D9B #9BCD2D #2D9BCD
tetradic
#CD2D9B #CDAF2D #2DCD5F #2D4BCD
square
#CD2D9B #CDAF2D #2DCD5F #2D4BCD
split-complementary
#CD2D9B #4BCD2D #2DCDAF
monochromatic
#69174F #9B2275 #CD2D9B #DB5CB3 #E68ECB

Accessibility & contrast

On white

4.73
#CD2D9B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#CD2D9B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CD2D9B
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD2D9B#FFFFFF#000000##FFFFFF
##CD2D9B1.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#41629E
Deuteranopia (green-blind)
#737D97
Tritanopia (blue-blind)
#DB2C61
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #cd2d9b;
/* rgb */ color: rgb(205, 45, 155);
/* oklch */ color: oklch(58.6% 0.220 344.1);
Tailwind
colors: {
  custom: {
    50: '#e178b8',
    500: '#cd2d9b',
    950: '#000000',
  },
}
SCSS
$custom: #cd2d9b;
$custom-light: #e178b8;
$custom-dark: #000000;
JSON
{
  "hex": "#cd2d9b",
  "rgb": {
    "r": 205,
    "g": 45,
    "b": 155
  },
  "hsl": {
    "h": 318.75,
    "s": 64,
    "l": 49.02
  },
  "oklch": {
    "l": 0.58558,
    "c": 0.21952,
    "h": 344.1
  },
  "luminance": 0.17222
}

Semantic roles & 50–950 ramp

primary
#CD2D9B
secondary
#85D19D
accent
#E77541
background
#FEF7FB
surface
#FDEEF6
border
#D5C9D0
text
#160A11
muted
#847C80

Preview Lab

Preview with #CD2D9B

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

Preview Lab → · Contrast checker → · Palette generator →

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