#CD2EB1#CD2EB1

#CD2EB1 is a mid, highly saturated pink. Relative luminance 0.181; OKLCH L 59.7% C 0.232 H 336.5°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#CD2EB1
RGBrgb(205, 46, 177)
HSLhsl(311, 63%, 49%)
HSVhsv(311, 78%, 80%)
CMYKcmyk(0%, 77.6%, 13.7%, 19.6%)
CIE-LABlab(49.63, 72.36, -33.90)
CIE-LCHlch(49.63, 79.91, 334.89°)
OKLaboklab(59.67% 0.213 -0.0924)
OKLCHoklch(59.67% 0.232 336.5)
XYZxyz(34.0903, 18.1107, 43.2868)
Luminance0.1811 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD2EB1 #2ECD4A
analogous
#9A2ECD #CD2EB1 #CD2E62
triadic
#CD2EB1 #B1CD2E #2EB1CD
tetradic
#CD2EB1 #CD9A2E #2ECD4A #2E62CD
square
#CD2EB1 #CD9A2E #2ECD4A #2E62CD
split-complementary
#CD2EB1 #62CD2E #2ECD9A
monochromatic
#69185B #9B2386 #CD2EB1 #DB5DC5 #E68FD7

Accessibility & contrast

On white

4.54
#CD2EB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#CD2EB1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD2EB1
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD2EB1#FFFFFF#000000##000000
##CD2EB11.004.544.624.62
#FFFFFF4.541.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cd2eb1;
/* rgb */ color: rgb(205, 46, 177);
/* oklch */ color: oklch(59.7% 0.232 336.5);
Tailwind
colors: {
  custom: {
    50: '#e179c8',
    500: '#cd2eb1',
    950: '#000000',
  },
}
SCSS
$custom: #cd2eb1;
$custom-light: #e179c8;
$custom-dark: #000000;
JSON
{
  "hex": "#cd2eb1",
  "rgb": {
    "r": 205,
    "g": 46,
    "b": 177
  },
  "hsl": {
    "h": 310.566,
    "s": 63.347,
    "l": 49.216
  },
  "oklch": {
    "l": 0.59665,
    "c": 0.23215,
    "h": 336.5
  },
  "luminance": 0.18107
}

Semantic roles & 50–950 ramp

primary
#CD2EB1
secondary
#86D093
accent
#E65E41
background
#FEF7FC
surface
#FDEEF8
border
#D5C9D1
text
#160A13
muted
#847C82

Preview Lab

Preview with #CD2EB1

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

Preview Lab → · Contrast checker → · Palette generator →

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