#CD2C5F#CD2C5F

#CD2C5F is a mid, vivid pink. Relative luminance 0.156; OKLCH L 56.4% C 0.197 H 8.1°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#CD2C5F
RGBrgb(205, 44, 95)
HSLhsl(341, 65%, 49%)
HSVhsv(341, 79%, 80%)
CMYKcmyk(0%, 78.5%, 53.7%, 19.6%)
CIE-LABlab(46.46, 64.05, 10.86)
CIE-LCHlch(46.46, 64.96, 9.63°)
OKLaboklab(56.39% 0.195 0.0278)
OKLCHoklch(56.39% 0.197 8.1)
XYZxyz(28.1457, 15.6108, 12.3554)
Luminance0.1561 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD2C5F #2CCD9A
analogous
#CD2CB0 #CD2C5F #CD4A2C
triadic
#CD2C5F #5FCD2C #2C5FCD
tetradic
#CD2C5F #B0CD2C #2CCD9A #4A2CCD
square
#CD2C5F #B0CD2C #2CCD9A #4A2CCD
split-complementary
#CD2C5F #2CCD4A #2CB0CD
monochromatic
#681630 #9B2148 #CD2C5F #DC5B83 #E78DA9

Accessibility & contrast

On white

5.10
#CD2C5F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#CD2C5F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CD2C5F
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD2C5F#FFFFFF#000000##FFFFFF
##CD2C5F1.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#575960
Deuteranopia (green-blind)
#817A5B
Tritanopia (blue-blind)
#E00042
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #cd2c5f;
/* rgb */ color: rgb(205, 44, 95);
/* oklch */ color: oklch(56.4% 0.197 8.1);
Tailwind
colors: {
  custom: {
    50: '#e3758c',
    500: '#cd2c5f',
    950: '#000000',
  },
}
SCSS
$custom: #cd2c5f;
$custom-light: #e3758c;
$custom-dark: #000000;
JSON
{
  "hex": "#cd2c5f",
  "rgb": {
    "r": 205,
    "g": 44,
    "b": 95
  },
  "hsl": {
    "h": 340.994,
    "s": 64.659,
    "l": 48.824
  },
  "oklch": {
    "l": 0.56388,
    "c": 0.19699,
    "h": 8.1
  },
  "luminance": 0.15607
}

Semantic roles & 50–950 ramp

primary
#CD2C5F
secondary
#84D1B8
accent
#E8B340
background
#FEF7F8
surface
#FDEEF0
border
#D5C9CB
text
#17090C
muted
#857B7D

Preview Lab

Preview with #CD2C5F

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

Preview Lab → · Contrast checker → · Palette generator →

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