#CD315F#CD315F

#CD315F is a mid, vivid pink. Relative luminance 0.160; OKLCH L 56.8% C 0.193 H 8.8°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#CD315F
RGBrgb(205, 49, 95)
HSLhsl(342, 61%, 50%)
HSVhsv(342, 76%, 80%)
CMYKcmyk(0%, 76.1%, 53.7%, 19.6%)
CIE-LABlab(46.98, 62.57, 11.59)
CIE-LCHlch(46.98, 63.64, 10.50°)
OKLaboklab(56.77% 0.1903 0.0296)
OKLCHoklch(56.77% 0.193 8.8)
XYZxyz(28.3434, 16.0060, 12.4212)
Luminance0.1600 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD315F #31CD9F
analogous
#CD31AD #CD315F #CD5131
triadic
#CD315F #5FCD31 #315FCD
tetradic
#CD315F #ADCD31 #31CD9F #5131CD
square
#CD315F #ADCD31 #31CD9F #5131CD
split-complementary
#CD315F #31CD51 #31ADCD
monochromatic
#6A1931 #9C2548 #CD315F #D96285 #E593AB

Accessibility & contrast

On white

5.00
#CD315F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#CD315F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CD315F
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD315F#FFFFFF#000000##FFFFFF
##CD315F1.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A5B60
Deuteranopia (green-blind)
#827B5B
Tritanopia (blue-blind)
#E00045
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #cd315f;
/* rgb */ color: rgb(205, 49, 95);
/* oklch */ color: oklch(56.8% 0.193 8.8);
Tailwind
colors: {
  custom: {
    50: '#e3778c',
    500: '#cd315f',
    950: '#000000',
  },
}
SCSS
$custom: #cd315f;
$custom-light: #e3778c;
$custom-dark: #000000;
JSON
{
  "hex": "#cd315f",
  "rgb": {
    "r": 205,
    "g": 49,
    "b": 95
  },
  "hsl": {
    "h": 342.308,
    "s": 61.417,
    "l": 49.804
  },
  "oklch": {
    "l": 0.56774,
    "c": 0.19254,
    "h": 8.8
  },
  "luminance": 0.16002
}

Semantic roles & 50–950 ramp

primary
#CD315F
secondary
#8AD0BB
accent
#E5B543
background
#FEF7F8
surface
#FDEEF0
border
#D5C9CB
text
#170A0C
muted
#857C7D

Preview Lab

Preview with #CD315F

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

Preview Lab → · Contrast checker → · Palette generator →

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