#CD2E8C#CD2E8C

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

Color values

HEX#CD2E8C
RGBrgb(205, 46, 140)
HSLhsl(325, 63%, 49%)
HSVhsv(325, 78%, 80%)
CMYKcmyk(0%, 77.6%, 31.7%, 19.6%)
CIE-LABlab(48.05, 67.71, -14.33)
CIE-LCHlch(48.05, 69.21, 348.05°)
OKLaboklab(58% 0.2072 -0.0374)
OKLCHoklch(58% 0.211 349.8)
XYZxyz(30.8892, 16.8302, 26.4278)
Luminance0.1683 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD2E8C #2ECD6F
analogous
#BF2ECD #CD2E8C #CD2E3D
triadic
#CD2E8C #8CCD2E #2E8CCD
tetradic
#CD2E8C #CDBF2E #2ECD6F #2E3DCD
square
#CD2E8C #CDBF2E #2ECD6F #2E3DCD
split-complementary
#CD2E8C #3DCD2E #2ECDBF
monochromatic
#691848 #9B236A #CD2E8C #DB5DA8 #E68FC3

Accessibility & contrast

On white

4.81
#CD2E8C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #CD2E8C
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD2E8C#FFFFFF#000000##FFFFFF
##CD2E8C1.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A608E
Deuteranopia (green-blind)
#787C88
Tritanopia (blue-blind)
#DC225A
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #cd2e8c;
/* rgb */ color: rgb(205, 46, 140);
/* oklch */ color: oklch(58.0% 0.211 349.8);
Tailwind
colors: {
  custom: {
    50: '#e177ad',
    500: '#cd2e8c',
    950: '#000000',
  },
}
SCSS
$custom: #cd2e8c;
$custom-light: #e177ad;
$custom-dark: #000000;
JSON
{
  "hex": "#cd2e8c",
  "rgb": {
    "r": 205,
    "g": 46,
    "b": 140
  },
  "hsl": {
    "h": 324.528,
    "s": 63.347,
    "l": 49.216
  },
  "oklch": {
    "l": 0.58002,
    "c": 0.21055,
    "h": 349.8
  },
  "luminance": 0.16827
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD2E8C

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

Preview Lab → · Contrast checker → · Palette generator →

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