#CD335E#CD335E

#CD335E is a mid, vivid pink. Relative luminance 0.162; OKLCH L 56.9% C 0.191 H 9.6°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#CD335E
RGBrgb(205, 51, 94)
HSLhsl(343, 61%, 50%)
HSVhsv(343, 75%, 80%)
CMYKcmyk(0%, 75.1%, 54.1%, 19.6%)
CIE-LABlab(47.18, 61.87, 12.48)
CIE-LCHlch(47.18, 63.11, 11.41°)
OKLaboklab(56.91% 0.1879 0.0317)
OKLCHoklch(56.91% 0.191 9.6)
XYZxyz(28.3837, 16.1590, 12.2119)
Luminance0.1615 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD335E #33CDA2
analogous
#CD33AB #CD335E #CD5533
triadic
#CD335E #5ECD33 #335ECD
tetradic
#CD335E #ABCD33 #33CDA2 #5533CD
square
#CD335E #ABCD33 #33CDA2 #5533CD
split-complementary
#CD335E #33CD55 #33ABCD
monochromatic
#6B1A31 #9C2647 #CD335E #D96485 #E595AC

Accessibility & contrast

On white

4.96
#CD335E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#CD335E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CD335E
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD335E#FFFFFF#000000##FFFFFF
##CD335E1.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B5C5F
Deuteranopia (green-blind)
#837B5A
Tritanopia (blue-blind)
#E00045
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #cd335e;
/* rgb */ color: rgb(205, 51, 94);
/* oklch */ color: oklch(56.9% 0.191 9.6);
Tailwind
colors: {
  custom: {
    50: '#e3788b',
    500: '#cd335e',
    950: '#000000',
  },
}
SCSS
$custom: #cd335e;
$custom-light: #e3788b;
$custom-dark: #000000;
JSON
{
  "hex": "#cd335e",
  "rgb": {
    "r": 205,
    "g": 51,
    "b": 94
  },
  "hsl": {
    "h": 343.247,
    "s": 60.63,
    "l": 50.196
  },
  "oklch": {
    "l": 0.56914,
    "c": 0.19051,
    "h": 9.6
  },
  "luminance": 0.16155
}

Semantic roles & 50–950 ramp

primary
#CD335E
secondary
#8BD0BD
accent
#E4B744
background
#FEF7F8
surface
#FDEEF0
border
#D5C9CB
text
#170A0B
muted
#857C7C

Preview Lab

Preview with #CD335E

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

Preview Lab → · Contrast checker → · Palette generator →

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