#CD5152#CD5152

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

Color values

HEX#CD5152
RGBrgb(205, 81, 82)
HSLhsl(360, 55%, 56%)
HSVhsv(360, 60%, 80%)
CMYKcmyk(0%, 60.5%, 60%, 19.6%)
CIE-LABlab(51.24, 49.25, 25.16)
CIE-LCHlch(51.24, 55.31, 27.06°)
OKLaboklab(59.86% 0.1458 0.0609)
OKLCHoklch(59.86% 0.158 22.7)
XYZxyz(29.6450, 19.4770, 10.1794)
Luminance0.1947 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5152 #51CDCC
analogous
#CD5190 #CD5152 #CD8E51
triadic
#CD5152 #52CD51 #5152CD
tetradic
#CD5152 #90CD51 #51CDCC #8E51CD
square
#CD5152 #90CD51 #51CDCC #8E51CD
split-complementary
#CD5152 #51CD8E #5190CD
monochromatic
#7F2525 #AF3233 #CD5152 #DB8181 #E8B0B1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CD5152#FFFFFF#000000##000000
##CD51521.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)
#706A51
Deuteranopia (green-blind)
#8F844F
Tritanopia (blue-blind)
#E03952
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #cd5152;
/* rgb */ color: rgb(205, 81, 82);
/* oklch */ color: oklch(59.9% 0.158 22.7);
Tailwind
colors: {
  custom: {
    50: '#e28782',
    500: '#cd5152',
    950: '#000000',
  },
}
SCSS
$custom: #cd5152;
$custom-light: #e28782;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5152",
  "rgb": {
    "r": 205,
    "g": 81,
    "b": 82
  },
  "hsl": {
    "h": 359.516,
    "s": 55.357,
    "l": 56.078
  },
  "oklch": {
    "l": 0.59861,
    "c": 0.15799,
    "h": 22.7
  },
  "luminance": 0.19473
}

Semantic roles & 50–950 ramp

primary
#CD5152
secondary
#A3D7D6
accent
#DFDD49
background
#FEF8F7
surface
#FDF0EE
border
#D5CBC9
text
#170C0A
muted
#857D7C

Preview Lab

Preview with #CD5152

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

Preview Lab → · Contrast checker → · Palette generator →

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