#CD5151#CD5151

#CD5151 is a mid, vivid red. Relative luminance 0.195; OKLCH L 59.8% C 0.158 H 23.1°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#CD5151
RGBrgb(205, 81, 81)
HSLhsl(0, 55%, 56%)
HSVhsv(0, 60%, 80%)
CMYKcmyk(0%, 60.5%, 60.5%, 19.6%)
CIE-LABlab(51.22, 49.18, 25.73)
CIE-LCHlch(51.22, 55.51, 27.61°)
OKLaboklab(59.84% 0.1454 0.0621)
OKLCHoklch(59.84% 0.158 23.1)
XYZxyz(29.6072, 19.4619, 9.9804)
Luminance0.1946 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5151 #51CDCD
analogous
#CD518F #CD5151 #CD8F51
triadic
#CD5151 #51CD51 #5151CD
tetradic
#CD5151 #8FCD51 #51CDCD #8F51CD
square
#CD5151 #8FCD51 #51CDCD #8F51CD
split-complementary
#CD5151 #51CD8F #518FCD
monochromatic
#7F2525 #AF3232 #CD5151 #DB8181 #E8B0B0

Accessibility & contrast

On white

4.29
#CD5151 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#CD5151 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5151
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5151#FFFFFF#000000##000000
##CD51511.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#706A50
Deuteranopia (green-blind)
#8F844E
Tritanopia (blue-blind)
#E03952
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #cd5151;
/* rgb */ color: rgb(205, 81, 81);
/* oklch */ color: oklch(59.8% 0.158 23.1);
Tailwind
colors: {
  custom: {
    50: '#e28782',
    500: '#cd5151',
    950: '#000000',
  },
}
SCSS
$custom: #cd5151;
$custom-light: #e28782;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5151",
  "rgb": {
    "r": 205,
    "g": 81,
    "b": 81
  },
  "hsl": {
    "h": 0,
    "s": 55.357,
    "l": 56.078
  },
  "oklch": {
    "l": 0.59842,
    "c": 0.1581,
    "h": 23.1
  },
  "luminance": 0.19458
}

Semantic roles & 50–950 ramp

primary
#CD5151
secondary
#A3D7D7
accent
#DFDF49
background
#FEF8F7
surface
#FDF0EE
border
#D5CBC9
text
#170C0A
muted
#857D7C

Preview Lab

Preview with #CD5151

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

Preview Lab → · Contrast checker → · Palette generator →

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