#CD5742#CD5742

#CD5742 is a mid, vivid red. Relative luminance 0.202; OKLCH L 60.4% C 0.155 H 32.0°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#CD5742
RGBrgb(205, 87, 66)
HSLhsl(9, 58%, 53%)
HSVhsv(9, 68%, 80%)
CMYKcmyk(0%, 57.6%, 67.8%, 19.6%)
CIE-LABlab(52.05, 45.47, 35.37)
CIE-LCHlch(52.05, 57.61, 37.88°)
OKLaboklab(60.4% 0.131 0.0819)
OKLCHoklch(60.4% 0.155 32)
XYZxyz(29.5713, 20.1927, 7.4936)
Luminance0.2019 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5742 #42B8CD
analogous
#CD4272 #CD5742 #CD9D42
triadic
#CD5742 #42CD57 #5742CD
tetradic
#CD5742 #72CD42 #42B8CD #9D42CD
square
#CD5742 #72CD42 #42B8CD #9D42CD
split-complementary
#CD5742 #42CD9D #4272CD
monochromatic
#762C1F #A63E2C #CD5742 #DA8272 #E7ADA3

Accessibility & contrast

On white

4.17
#CD5742 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#CD5742 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5742
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5742#FFFFFF#000000##000000
##CD57421.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#766C3F
Deuteranopia (green-blind)
#93863F
Tritanopia (blue-blind)
#E13E52
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cd5742;
/* rgb */ color: rgb(205, 87, 66);
/* oklch */ color: oklch(60.4% 0.155 32.0);
Tailwind
colors: {
  custom: {
    50: '#e38a77',
    500: '#cd5742',
    950: '#000000',
  },
}
SCSS
$custom: #cd5742;
$custom-light: #e38a77;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5742",
  "rgb": {
    "r": 205,
    "g": 87,
    "b": 66
  },
  "hsl": {
    "h": 9.065,
    "s": 58.159,
    "l": 53.137
  },
  "oklch": {
    "l": 0.60395,
    "c": 0.15452,
    "h": 32
  },
  "luminance": 0.20189
}

Semantic roles & 50–950 ramp

primary
#CD5742
secondary
#97CAD3
accent
#CAE146
background
#FEF8F7
surface
#FDF0ED
border
#D5CBC8
text
#170C08
muted
#857D7B

Preview Lab

Preview with #CD5742

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

Preview Lab → · Contrast checker → · Palette generator →

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