#CD5158#CD5158

#CD5158 is a mid, vivid red. Relative luminance 0.196; OKLCH L 60.0% C 0.157 H 19.8°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#CD5158
RGBrgb(205, 81, 88)
HSLhsl(357, 55%, 56%)
HSVhsv(357, 60%, 80%)
CMYKcmyk(0%, 60.5%, 57.1%, 19.6%)
CIE-LABlab(51.35, 49.69, 21.76)
CIE-LCHlch(51.35, 54.24, 23.65°)
OKLaboklab(59.98% 0.1481 0.0535)
OKLCHoklch(59.98% 0.157 19.8)
XYZxyz(29.8834, 19.5724, 11.4348)
Luminance0.1957 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5158 #51CDC6
analogous
#CD5196 #CD5158 #CD8851
triadic
#CD5158 #58CD51 #5158CD
tetradic
#CD5158 #96CD51 #51CDC6 #8851CD
square
#CD5158 #96CD51 #51CDC6 #8851CD
split-complementary
#CD5158 #51CD88 #5196CD
monochromatic
#7F252A #AF3239 #CD5158 #DB8186 #E8B0B3

Accessibility & contrast

On white

4.27
#CD5158 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#CD5158 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5158
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5158#FFFFFF#000000##000000
##CD51581.004.274.914.91
#FFFFFF4.271.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F6A57
Deuteranopia (green-blind)
#8F8455
Tritanopia (blue-blind)
#E03B54
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #cd5158;
/* rgb */ color: rgb(205, 81, 88);
/* oklch */ color: oklch(60.0% 0.157 19.8);
Tailwind
colors: {
  custom: {
    50: '#e28787',
    500: '#cd5158',
    950: '#000000',
  },
}
SCSS
$custom: #cd5158;
$custom-light: #e28787;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5158",
  "rgb": {
    "r": 205,
    "g": 81,
    "b": 88
  },
  "hsl": {
    "h": 356.613,
    "s": 55.357,
    "l": 56.078
  },
  "oklch": {
    "l": 0.59979,
    "c": 0.15749,
    "h": 19.8
  },
  "luminance": 0.19569
}

Semantic roles & 50–950 ramp

primary
#CD5158
secondary
#A3D7D4
accent
#DFD649
background
#FEF8F8
surface
#FDF0EF
border
#D5CBCA
text
#170C0B
muted
#857D7C

Preview Lab

Preview with #CD5158

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

Preview Lab → · Contrast checker → · Palette generator →

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