#CD2D8F#CD2D8F

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

Color values

HEX#CD2D8F
RGBrgb(205, 45, 143)
HSLhsl(323, 64%, 49%)
HSVhsv(323, 78%, 80%)
CMYKcmyk(0%, 78%, 30.2%, 19.6%)
CIE-LABlab(48.06, 68.32, -16.12)
CIE-LCHlch(48.06, 70.20, 346.73°)
OKLaboklab(58.05% 0.2088 -0.0423)
OKLCHoklch(58.05% 0.213 348.5)
XYZxyz(31.0748, 16.8427, 27.5958)
Luminance0.1684 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD2D8F #2DCD6B
analogous
#BB2DCD #CD2D8F #CD2D3F
triadic
#CD2D8F #8FCD2D #2D8FCD
tetradic
#CD2D8F #CDBB2D #2DCD6B #2D3FCD
square
#CD2D8F #CDBB2D #2DCD6B #2D3FCD
split-complementary
#CD2D8F #3FCD2D #2DCDBB
monochromatic
#691749 #9B226C #CD2D8F #DB5CAA #E68EC4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CD2D8F#FFFFFF#000000##FFFFFF
##CD2D8F1.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)
#486092
Deuteranopia (green-blind)
#777C8B
Tritanopia (blue-blind)
#DC235B
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #cd2d8f;
/* rgb */ color: rgb(205, 45, 143);
/* oklch */ color: oklch(58.1% 0.213 348.5);
Tailwind
colors: {
  custom: {
    50: '#e177b0',
    500: '#cd2d8f',
    950: '#000000',
  },
}
SCSS
$custom: #cd2d8f;
$custom-light: #e177b0;
$custom-dark: #000000;
JSON
{
  "hex": "#cd2d8f",
  "rgb": {
    "r": 205,
    "g": 45,
    "b": 143
  },
  "hsl": {
    "h": 323.25,
    "s": 64,
    "l": 49.02
  },
  "oklch": {
    "l": 0.58051,
    "c": 0.213,
    "h": 348.5
  },
  "luminance": 0.16839
}

Semantic roles & 50–950 ramp

primary
#CD2D8F
secondary
#85D1A2
accent
#E78141
background
#FEF7FA
surface
#FDEEF4
border
#D5C9CE
text
#160A10
muted
#847C7F

Preview Lab

Preview with #CD2D8F

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

Preview Lab → · Contrast checker → · Palette generator →

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