#CD335F#CD335F

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

Color values

HEX#CD335F
RGBrgb(205, 51, 95)
HSLhsl(343, 61%, 50%)
HSVhsv(343, 75%, 80%)
CMYKcmyk(0%, 75.1%, 53.7%, 19.6%)
CIE-LABlab(47.21, 61.94, 11.90)
CIE-LCHlch(47.21, 63.08, 10.88°)
OKLaboklab(56.94% 0.1882 0.0303)
OKLCHoklch(56.94% 0.191 9.1)
XYZxyz(28.4289, 16.1770, 12.4497)
Luminance0.1617 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD335F #33CDA1
analogous
#CD33AC #CD335F #CD5433
triadic
#CD335F #5FCD33 #335FCD
tetradic
#CD335F #ACCD33 #33CDA1 #5433CD
square
#CD335F #ACCD33 #33CDA1 #5433CD
split-complementary
#CD335F #33CD54 #33ACCD
monochromatic
#6B1A31 #9C2648 #CD335F #D96486 #E595AC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CD335F#FFFFFF#000000##FFFFFF
##CD335F1.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)
#5B5C60
Deuteranopia (green-blind)
#837B5B
Tritanopia (blue-blind)
#E00046
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #cd335f;
/* rgb */ color: rgb(205, 51, 95);
/* oklch */ color: oklch(56.9% 0.191 9.1);
Tailwind
colors: {
  custom: {
    50: '#e3788c',
    500: '#cd335f',
    950: '#000000',
  },
}
SCSS
$custom: #cd335f;
$custom-light: #e3788c;
$custom-dark: #000000;
JSON
{
  "hex": "#cd335f",
  "rgb": {
    "r": 205,
    "g": 51,
    "b": 95
  },
  "hsl": {
    "h": 342.857,
    "s": 60.63,
    "l": 50.196
  },
  "oklch": {
    "l": 0.56939,
    "c": 0.19066,
    "h": 9.1
  },
  "luminance": 0.16173
}

Semantic roles & 50–950 ramp

primary
#CD335F
secondary
#8BD0BD
accent
#E4B644
background
#FEF7F8
surface
#FDEEF0
border
#D5C9CB
text
#170A0C
muted
#857C7D

Preview Lab

Preview with #CD335F

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

Preview Lab → · Contrast checker → · Palette generator →

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