#CD2E8B#CD2E8B

#CD2E8B is a mid, highly saturated pink. Relative luminance 0.168; OKLCH L 58.0% C 0.210 H 350.1°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#CD2E8B
RGBrgb(205, 46, 139)
HSLhsl(325, 63%, 49%)
HSVhsv(325, 78%, 80%)
CMYKcmyk(0%, 77.6%, 32.2%, 19.6%)
CIE-LABlab(48.01, 67.59, -13.79)
CIE-LCHlch(48.01, 68.98, 348.47°)
OKLaboklab(57.96% 0.207 -0.036)
OKLCHoklch(57.96% 0.21 350.1)
XYZxyz(30.8158, 16.8009, 26.0412)
Luminance0.1680 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD2E8B #2ECD70
analogous
#C02ECD #CD2E8B #CD2E3B
triadic
#CD2E8B #8BCD2E #2E8BCD
tetradic
#CD2E8B #CDC02E #2ECD70 #2E3BCD
square
#CD2E8B #CDC02E #2ECD70 #2E3BCD
split-complementary
#CD2E8B #3BCD2E #2ECDC0
monochromatic
#691847 #9B2369 #CD2E8B #DB5DA7 #E68FC2

Accessibility & contrast

On white

4.82
#CD2E8B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#CD2E8B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CD2E8B
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD2E8B#FFFFFF#000000##FFFFFF
##CD2E8B1.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A608D
Deuteranopia (green-blind)
#787C87
Tritanopia (blue-blind)
#DC2259
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #cd2e8b;
/* rgb */ color: rgb(205, 46, 139);
/* oklch */ color: oklch(58.0% 0.210 350.1);
Tailwind
colors: {
  custom: {
    50: '#e177ad',
    500: '#cd2e8b',
    950: '#000000',
  },
}
SCSS
$custom: #cd2e8b;
$custom-light: #e177ad;
$custom-dark: #000000;
JSON
{
  "hex": "#cd2e8b",
  "rgb": {
    "r": 205,
    "g": 46,
    "b": 139
  },
  "hsl": {
    "h": 324.906,
    "s": 63.347,
    "l": 49.216
  },
  "oklch": {
    "l": 0.57963,
    "c": 0.21006,
    "h": 350.1
  },
  "luminance": 0.16797
}

Semantic roles & 50–950 ramp

primary
#CD2E8B
secondary
#86D0A5
accent
#E68641
background
#FEF7FA
surface
#FDEEF4
border
#D5C9CE
text
#160A10
muted
#847C7F

Preview Lab

Preview with #CD2E8B

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

Preview Lab → · Contrast checker → · Palette generator →

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