#CD405E#CD405E

#CD405E is a mid, vivid red. Relative luminance 0.175; OKLCH L 58.1% C 0.177 H 12.1°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#CD405E
RGBrgb(205, 64, 94)
HSLhsl(347, 59%, 53%)
HSVhsv(347, 69%, 80%)
CMYKcmyk(0%, 68.8%, 54.1%, 19.6%)
CIE-LABlab(48.83, 57.29, 14.76)
CIE-LCHlch(48.83, 59.16, 14.45°)
OKLaboklab(58.14% 0.1732 0.0372)
OKLCHoklch(58.14% 0.177 12.1)
XYZxyz(29.0332, 17.4580, 12.4284)
Luminance0.1745 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD405E #40CDAF
analogous
#CD40A4 #CD405E #CD6840
triadic
#CD405E #5ECD40 #405ECD
tetradic
#CD405E #A4CD40 #40CDAF #6840CD
square
#CD405E #A4CD40 #40CDAF #6840CD
split-complementary
#CD405E #40CD68 #40A4CD
monochromatic
#741E31 #A52B45 #CD405E #DA7187 #E6A1B0

Accessibility & contrast

On white

4.68
#CD405E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#CD405E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CD405E
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD405E#FFFFFF#000000##FFFFFF
##CD405E1.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#63625E
Deuteranopia (green-blind)
#877F5B
Tritanopia (blue-blind)
#E0224C
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #cd405e;
/* rgb */ color: rgb(205, 64, 94);
/* oklch */ color: oklch(58.1% 0.177 12.1);
Tailwind
colors: {
  custom: {
    50: '#e27e8b',
    500: '#cd405e',
    950: '#000000',
  },
}
SCSS
$custom: #cd405e;
$custom-light: #e27e8b;
$custom-dark: #000000;
JSON
{
  "hex": "#cd405e",
  "rgb": {
    "r": 205,
    "g": 64,
    "b": 94
  },
  "hsl": {
    "h": 347.234,
    "s": 58.506,
    "l": 52.745
  },
  "oklch": {
    "l": 0.58137,
    "c": 0.17711,
    "h": 12.1
  },
  "luminance": 0.17454
}

Semantic roles & 50–950 ramp

primary
#CD405E
secondary
#96D3C6
accent
#E2C146
background
#FEF8F8
surface
#FDEFF0
border
#D5CACB
text
#170B0C
muted
#857C7D

Preview Lab

Preview with #CD405E

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

Preview Lab → · Contrast checker → · Palette generator →

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