#CD2CB1#CD2CB1

#CD2CB1 is a mid, highly saturated pink. Relative luminance 0.180; OKLCH L 59.5% C 0.234 H 336.5°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#CD2CB1
RGBrgb(205, 44, 177)
HSLhsl(310, 65%, 49%)
HSVhsv(310, 79%, 80%)
CMYKcmyk(0%, 78.5%, 13.7%, 19.6%)
CIE-LABlab(49.45, 72.89, -34.19)
CIE-LCHlch(49.45, 80.52, 334.87°)
OKLaboklab(59.53% 0.2145 -0.0933)
OKLCHoklch(59.53% 0.234 336.5)
XYZxyz(34.0140, 17.9581, 43.2613)
Luminance0.1795 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD2CB1 #2CCD48
analogous
#992CCD #CD2CB1 #CD2C61
triadic
#CD2CB1 #B1CD2C #2CB1CD
tetradic
#CD2CB1 #CD992C #2CCD48 #2C61CD
square
#CD2CB1 #CD992C #2CCD48 #2C61CD
split-complementary
#CD2CB1 #61CD2C #2CCD99
monochromatic
#68165A #9B2185 #CD2CB1 #DC5BC5 #E78DD7

Accessibility & contrast

On white

4.57
#CD2CB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#CD2CB1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD2CB1
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD2CB1#FFFFFF#000000##000000
##CD2CB11.004.574.594.59
#FFFFFF4.571.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3066B4
Deuteranopia (green-blind)
#6B7EAD
Tritanopia (blue-blind)
#D8396D
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #cd2cb1;
/* rgb */ color: rgb(205, 44, 177);
/* oklch */ color: oklch(59.5% 0.234 336.5);
Tailwind
colors: {
  custom: {
    50: '#e178c8',
    500: '#cd2cb1',
    950: '#000000',
  },
}
SCSS
$custom: #cd2cb1;
$custom-light: #e178c8;
$custom-dark: #000000;
JSON
{
  "hex": "#cd2cb1",
  "rgb": {
    "r": 205,
    "g": 44,
    "b": 177
  },
  "hsl": {
    "h": 310.435,
    "s": 64.659,
    "l": 48.824
  },
  "oklch": {
    "l": 0.59532,
    "c": 0.23393,
    "h": 336.5
  },
  "luminance": 0.17955
}

Semantic roles & 50–950 ramp

primary
#CD2CB1
secondary
#84D191
accent
#E85D40
background
#FEF7FC
surface
#FDEEF8
border
#D5C9D1
text
#160A13
muted
#847C82

Preview Lab

Preview with #CD2CB1

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

Preview Lab → · Contrast checker → · Palette generator →

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