#CD4052#CD4052

#CD4052 is a mid, vivid red. Relative luminance 0.173; OKLCH L 57.9% C 0.177 H 17.4°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#CD4052
RGBrgb(205, 64, 82)
HSLhsl(352, 59%, 53%)
HSVhsv(352, 69%, 80%)
CMYKcmyk(0%, 68.8%, 60%, 19.6%)
CIE-LABlab(48.58, 56.42, 21.69)
CIE-LCHlch(48.58, 60.45, 21.03°)
OKLaboklab(57.87% 0.1685 0.0529)
OKLCHoklch(57.87% 0.177 17.4)
XYZxyz(28.5360, 17.2591, 9.8097)
Luminance0.1726 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD4052 #40CDBB
analogous
#CD4099 #CD4052 #CD7440
triadic
#CD4052 #52CD40 #4052CD
tetradic
#CD4052 #99CD40 #40CDBB #7440CD
square
#CD4052 #99CD40 #40CDBB #7440CD
split-complementary
#CD4052 #40CD74 #4099CD
monochromatic
#741E29 #A52B3B #CD4052 #DA717E #E6A1AA

Accessibility & contrast

On white

4.72
#CD4052 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#CD4052 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CD4052
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD4052#FFFFFF#000000##FFFFFF
##CD40521.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#656152
Deuteranopia (green-blind)
#897E4E
Tritanopia (blue-blind)
#E01D48
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #cd4052;
/* rgb */ color: rgb(205, 64, 82);
/* oklch */ color: oklch(57.9% 0.177 17.4);
Tailwind
colors: {
  custom: {
    50: '#e37e82',
    500: '#cd4052',
    950: '#000000',
  },
}
SCSS
$custom: #cd4052;
$custom-light: #e37e82;
$custom-dark: #000000;
JSON
{
  "hex": "#cd4052",
  "rgb": {
    "r": 205,
    "g": 64,
    "b": 82
  },
  "hsl": {
    "h": 352.34,
    "s": 58.506,
    "l": 52.745
  },
  "oklch": {
    "l": 0.57872,
    "c": 0.17661,
    "h": 17.4
  },
  "luminance": 0.17255
}

Semantic roles & 50–950 ramp

primary
#CD4052
secondary
#96D3CB
accent
#E2CE46
background
#FEF8F7
surface
#FDEFEE
border
#D5CAC9
text
#170A0A
muted
#857C7C

Preview Lab

Preview with #CD4052

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

Preview Lab → · Contrast checker → · Palette generator →

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