#CD334C#CD334C

#CD334C is a mid, vivid red. Relative luminance 0.159; OKLCH L 56.5% C 0.189 H 17.0°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#CD334C
RGBrgb(205, 51, 76)
HSLhsl(350, 61%, 50%)
HSVhsv(350, 75%, 80%)
CMYKcmyk(0%, 75.1%, 62.9%, 19.6%)
CIE-LABlab(46.81, 60.65, 23.00)
CIE-LCHlch(46.81, 64.87, 20.77°)
OKLaboklab(56.51% 0.1809 0.0555)
OKLCHoklch(56.51% 0.189 17)
XYZxyz(27.6681, 15.8727, 8.4429)
Luminance0.1587 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD334C #33CDB4
analogous
#CD3399 #CD334C #CD6733
triadic
#CD334C #4CCD33 #334CCD
tetradic
#CD334C #99CD33 #33CDB4 #6733CD
square
#CD334C #99CD33 #33CDB4 #6733CD
split-complementary
#CD334C #33CD67 #3399CD
monochromatic
#6B1A27 #9C263A #CD334C #D96477 #E595A2

Accessibility & contrast

On white

5.03
#CD334C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#CD334C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CD334C
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD334C#FFFFFF#000000##FFFFFF
##CD334C1.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5A4C
Deuteranopia (green-blind)
#857B48
Tritanopia (blue-blind)
#E1003E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #cd334c;
/* rgb */ color: rgb(205, 51, 76);
/* oklch */ color: oklch(56.5% 0.189 17.0);
Tailwind
colors: {
  custom: {
    50: '#e4787d',
    500: '#cd334c',
    950: '#000000',
  },
}
SCSS
$custom: #cd334c;
$custom-light: #e4787d;
$custom-dark: #000000;
JSON
{
  "hex": "#cd334c",
  "rgb": {
    "r": 205,
    "g": 51,
    "b": 76
  },
  "hsl": {
    "h": 350.26,
    "s": 60.63,
    "l": 50.196
  },
  "oklch": {
    "l": 0.56514,
    "c": 0.18925,
    "h": 17
  },
  "luminance": 0.15869
}

Semantic roles & 50–950 ramp

primary
#CD334C
secondary
#8BD0C5
accent
#E4CA44
background
#FFF7F7
surface
#FEEEEE
border
#D6C9C9
text
#170A09
muted
#857C7B

Preview Lab

Preview with #CD334C

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

Preview Lab → · Contrast checker → · Palette generator →

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