#CD404E#CD404E

#CD404E is a mid, vivid red. Relative luminance 0.172; OKLCH L 57.8% C 0.177 H 19.1°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#CD404E
RGBrgb(205, 64, 78)
HSLhsl(354, 59%, 53%)
HSVhsv(354, 69%, 80%)
CMYKcmyk(0%, 68.8%, 62%, 19.6%)
CIE-LABlab(48.51, 56.16, 24.00)
CIE-LCHlch(48.51, 61.07, 23.14°)
OKLaboklab(57.79% 0.1669 0.0579)
OKLCHoklch(57.79% 0.177 19.1)
XYZxyz(28.3882, 17.2000, 9.0313)
Luminance0.1720 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD404E #40CDBF
analogous
#CD4094 #CD404E #CD7940
triadic
#CD404E #4ECD40 #404ECD
tetradic
#CD404E #94CD40 #40CDBF #7940CD
square
#CD404E #94CD40 #40CDBF #7940CD
split-complementary
#CD404E #40CD79 #4094CD
monochromatic
#741E27 #A52B37 #CD404E #DA717B #E6A1A8

Accessibility & contrast

On white

4.73
#CD404E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#CD404E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CD404E
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD404E#FFFFFF#000000##FFFFFF
##CD404E1.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#65604E
Deuteranopia (green-blind)
#897E4A
Tritanopia (blue-blind)
#E01B46
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #cd404e;
/* rgb */ color: rgb(205, 64, 78);
/* oklch */ color: oklch(57.8% 0.177 19.1);
Tailwind
colors: {
  custom: {
    50: '#e37e7f',
    500: '#cd404e',
    950: '#000000',
  },
}
SCSS
$custom: #cd404e;
$custom-light: #e37e7f;
$custom-dark: #000000;
JSON
{
  "hex": "#cd404e",
  "rgb": {
    "r": 205,
    "g": 64,
    "b": 78
  },
  "hsl": {
    "h": 354.043,
    "s": 58.506,
    "l": 52.745
  },
  "oklch": {
    "l": 0.57793,
    "c": 0.17671,
    "h": 19.1
  },
  "luminance": 0.17196
}

Semantic roles & 50–950 ramp

primary
#CD404E
secondary
#96D3CD
accent
#E2D246
background
#FEF8F7
surface
#FDEFEE
border
#D5CAC9
text
#170A0A
muted
#857C7C

Preview Lab

Preview with #CD404E

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

Preview Lab → · Contrast checker → · Palette generator →

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