#CD2EB2#CD2EB2

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

Color values

HEX#CD2EB2
RGBrgb(205, 46, 178)
HSLhsl(310, 63%, 49%)
HSVhsv(310, 78%, 80%)
CMYKcmyk(0%, 77.6%, 13.2%, 19.6%)
CIE-LABlab(49.68, 72.50, -34.42)
CIE-LCHlch(49.68, 80.25, 334.61°)
OKLaboklab(59.72% 0.213 -0.0939)
OKLCHoklch(59.72% 0.233 336.2)
XYZxyz(34.1903, 18.1507, 43.8136)
Luminance0.1815 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD2EB2 #2ECD49
analogous
#992ECD #CD2EB2 #CD2E62
triadic
#CD2EB2 #B2CD2E #2EB2CD
tetradic
#CD2EB2 #CD992E #2ECD49 #2E62CD
square
#CD2EB2 #CD992E #2ECD49 #2E62CD
split-complementary
#CD2EB2 #62CD2E #2ECD99
monochromatic
#69185B #9B2387 #CD2EB2 #DB5DC5 #E68FD7

Accessibility & contrast

On white

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

On black

4.63
#CD2EB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD2EB2
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD2EB2#FFFFFF#000000##000000
##CD2EB21.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3167B5
Deuteranopia (green-blind)
#6B7FAE
Tritanopia (blue-blind)
#D83B6E
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #cd2eb2;
/* rgb */ color: rgb(205, 46, 178);
/* oklch */ color: oklch(59.7% 0.233 336.2);
Tailwind
colors: {
  custom: {
    50: '#e179c9',
    500: '#cd2eb2',
    950: '#000000',
  },
}
SCSS
$custom: #cd2eb2;
$custom-light: #e179c9;
$custom-dark: #000000;
JSON
{
  "hex": "#cd2eb2",
  "rgb": {
    "r": 205,
    "g": 46,
    "b": 178
  },
  "hsl": {
    "h": 310.189,
    "s": 63.347,
    "l": 49.216
  },
  "oklch": {
    "l": 0.59715,
    "c": 0.23281,
    "h": 336.2
  },
  "luminance": 0.18147
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD2EB2

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

Preview Lab → · Contrast checker → · Palette generator →

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