#CD4058#CD4058

#CD4058 is a mid, vivid red. Relative luminance 0.174; OKLCH L 58.0% C 0.177 H 14.8°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#CD4058
RGBrgb(205, 64, 88)
HSLhsl(350, 59%, 53%)
HSVhsv(350, 69%, 80%)
CMYKcmyk(0%, 68.8%, 57.1%, 19.6%)
CIE-LABlab(48.70, 56.84, 18.23)
CIE-LCHlch(48.70, 59.69, 17.78°)
OKLaboklab(58% 0.1708 0.0452)
OKLCHoklch(58% 0.177 14.8)
XYZxyz(28.7744, 17.3545, 11.0652)
Luminance0.1735 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD4058 #40CDB5
analogous
#CD409F #CD4058 #CD6E40
triadic
#CD4058 #58CD40 #4058CD
tetradic
#CD4058 #9FCD40 #40CDB5 #6E40CD
square
#CD4058 #9FCD40 #40CDB5 #6E40CD
split-complementary
#CD4058 #40CD6E #409FCD
monochromatic
#741E2D #A52B40 #CD4058 #DA7182 #E6A1AD

Accessibility & contrast

On white

4.70
#CD4058 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#CD4058 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CD4058
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD4058#FFFFFF#000000##FFFFFF
##CD40581.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#646158
Deuteranopia (green-blind)
#887E54
Tritanopia (blue-blind)
#E0204A
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #cd4058;
/* rgb */ color: rgb(205, 64, 88);
/* oklch */ color: oklch(58.0% 0.177 14.8);
Tailwind
colors: {
  custom: {
    50: '#e37e86',
    500: '#cd4058',
    950: '#000000',
  },
}
SCSS
$custom: #cd4058;
$custom-light: #e37e86;
$custom-dark: #000000;
JSON
{
  "hex": "#cd4058",
  "rgb": {
    "r": 205,
    "g": 64,
    "b": 88
  },
  "hsl": {
    "h": 349.787,
    "s": 58.506,
    "l": 52.745
  },
  "oklch": {
    "l": 0.57999,
    "c": 0.17671,
    "h": 14.8
  },
  "luminance": 0.17351
}

Semantic roles & 50–950 ramp

primary
#CD4058
secondary
#96D3C9
accent
#E2C746
background
#FEF8F8
surface
#FDEFEF
border
#D5CACA
text
#170B0B
muted
#857C7C

Preview Lab

Preview with #CD4058

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

Preview Lab → · Contrast checker → · Palette generator →

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