#CD4042#CD4042

#CD4042 is a mid, vivid red. Relative luminance 0.170; OKLCH L 57.6% C 0.178 H 23.9°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#CD4042
RGBrgb(205, 64, 66)
HSLhsl(359, 59%, 53%)
HSVhsv(359, 69%, 80%)
CMYKcmyk(0%, 68.8%, 67.8%, 19.6%)
CIE-LABlab(48.31, 55.46, 30.89)
CIE-LCHlch(48.31, 63.48, 29.11°)
OKLaboklab(57.58% 0.1624 0.072)
OKLCHoklch(57.58% 0.178 23.9)
XYZxyz(27.9966, 17.0433, 6.9687)
Luminance0.1704 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD4042 #40CDCB
analogous
#CD4088 #CD4042 #CD8440
triadic
#CD4042 #42CD40 #4042CD
tetradic
#CD4042 #88CD40 #40CDCB #8440CD
square
#CD4042 #88CD40 #40CDCB #8440CD
split-complementary
#CD4042 #40CD84 #4088CD
monochromatic
#741E20 #A52B2D #CD4042 #DA7172 #E6A1A2

Accessibility & contrast

On white

4.76
#CD4042 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#CD4042 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CD4042
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD4042#FFFFFF#000000##FFFFFF
##CD40421.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675F41
Deuteranopia (green-blind)
#8A7E3E
Tritanopia (blue-blind)
#E11642
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #cd4042;
/* rgb */ color: rgb(205, 64, 66);
/* oklch */ color: oklch(57.6% 0.178 23.9);
Tailwind
colors: {
  custom: {
    50: '#e47d76',
    500: '#cd4042',
    950: '#000000',
  },
}
SCSS
$custom: #cd4042;
$custom-light: #e47d76;
$custom-dark: #000000;
JSON
{
  "hex": "#cd4042",
  "rgb": {
    "r": 205,
    "g": 64,
    "b": 66
  },
  "hsl": {
    "h": 359.149,
    "s": 58.506,
    "l": 52.745
  },
  "oklch": {
    "l": 0.57583,
    "c": 0.17764,
    "h": 23.9
  },
  "luminance": 0.17039
}

Semantic roles & 50–950 ramp

primary
#CD4042
secondary
#96D3D2
accent
#E2E046
background
#FFF8F7
surface
#FEEFED
border
#D6CAC8
text
#170A08
muted
#857C7B

Preview Lab

Preview with #CD4042

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

Preview Lab → · Contrast checker → · Palette generator →

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