#CD5040#CD5040

#CD5040 is a mid, vivid red. Relative luminance 0.191; OKLCH L 59.4% C 0.162 H 29.9°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#CD5040
RGBrgb(205, 80, 64)
HSLhsl(7, 59%, 53%)
HSVhsv(7, 69%, 80%)
CMYKcmyk(0%, 61%, 68.8%, 19.6%)
CIE-LABlab(50.79, 48.60, 35.01)
CIE-LCHlch(50.79, 59.90, 35.76°)
OKLaboklab(59.43% 0.1404 0.0808)
OKLCHoklch(59.43% 0.162 29.9)
XYZxyz(28.9738, 19.0906, 7.0086)
Luminance0.1909 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5040 #40BDCD
analogous
#CD4076 #CD5040 #CD9740
triadic
#CD5040 #40CD50 #5040CD
tetradic
#CD5040 #76CD40 #40BDCD #9740CD
square
#CD5040 #76CD40 #40BDCD #9740CD
split-complementary
#CD5040 #40CD97 #4076CD
monochromatic
#74281E #A5392B #CD5040 #DA7C71 #E6A9A1

Accessibility & contrast

On white

4.36
#CD5040 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#CD5040 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5040
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5040#FFFFFF#000000##000000
##CD50401.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#72683E
Deuteranopia (green-blind)
#91833C
Tritanopia (blue-blind)
#E1344D
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #cd5040;
/* rgb */ color: rgb(205, 80, 64);
/* oklch */ color: oklch(59.4% 0.162 29.9);
Tailwind
colors: {
  custom: {
    50: '#e38675',
    500: '#cd5040',
    950: '#000000',
  },
}
SCSS
$custom: #cd5040;
$custom-light: #e38675;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5040",
  "rgb": {
    "r": 205,
    "g": 80,
    "b": 64
  },
  "hsl": {
    "h": 6.809,
    "s": 58.506,
    "l": 52.745
  },
  "oklch": {
    "l": 0.59434,
    "c": 0.16201,
    "h": 29.9
  },
  "luminance": 0.19087
}

Semantic roles & 50–950 ramp

primary
#CD5040
secondary
#96CCD3
accent
#D0E246
background
#FFF8F7
surface
#FEF0ED
border
#D6CBC8
text
#170B08
muted
#857C7B

Preview Lab

Preview with #CD5040

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

Preview Lab → · Contrast checker → · Palette generator →

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