#CD2E8D#CD2E8D

#CD2E8D is a mid, highly saturated pink. Relative luminance 0.169; OKLCH L 58.0% C 0.211 H 349.4°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#CD2E8D
RGBrgb(205, 46, 141)
HSLhsl(324, 63%, 49%)
HSVhsv(324, 78%, 80%)
CMYKcmyk(0%, 77.6%, 31.2%, 19.6%)
CIE-LABlab(48.08, 67.82, -14.88)
CIE-LCHlch(48.08, 69.43, 347.63°)
OKLaboklab(58.04% 0.2074 -0.0389)
OKLCHoklch(58.04% 0.211 349.4)
XYZxyz(30.9633, 16.8599, 26.8179)
Luminance0.1686 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD2E8D #2ECD6E
analogous
#BE2ECD #CD2E8D #CD2E3D
triadic
#CD2E8D #8DCD2E #2E8DCD
tetradic
#CD2E8D #CDBE2E #2ECD6E #2E3DCD
square
#CD2E8D #CDBE2E #2ECD6E #2E3DCD
split-complementary
#CD2E8D #3DCD2E #2ECDBE
monochromatic
#691848 #9B236B #CD2E8D #DB5DA8 #E68FC3

Accessibility & contrast

On white

4.80
#CD2E8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#CD2E8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CD2E8D
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD2E8D#FFFFFF#000000##FFFFFF
##CD2E8D1.004.804.374.80
#FFFFFF4.801.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#49608F
Deuteranopia (green-blind)
#787C89
Tritanopia (blue-blind)
#DC235A
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #cd2e8d;
/* rgb */ color: rgb(205, 46, 141);
/* oklch */ color: oklch(58.0% 0.211 349.4);
Tailwind
colors: {
  custom: {
    50: '#e177ae',
    500: '#cd2e8d',
    950: '#000000',
  },
}
SCSS
$custom: #cd2e8d;
$custom-light: #e177ae;
$custom-dark: #000000;
JSON
{
  "hex": "#cd2e8d",
  "rgb": {
    "r": 205,
    "g": 46,
    "b": 141
  },
  "hsl": {
    "h": 324.151,
    "s": 63.347,
    "l": 49.216
  },
  "oklch": {
    "l": 0.58042,
    "c": 0.21106,
    "h": 349.4
  },
  "luminance": 0.16856
}

Semantic roles & 50–950 ramp

primary
#CD2E8D
secondary
#86D0A4
accent
#E68441
background
#FEF7FA
surface
#FDEEF4
border
#D5C9CE
text
#160A10
muted
#847C7F

Preview Lab

Preview with #CD2E8D

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

Preview Lab → · Contrast checker → · Palette generator →

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