#CD5842#CD5842

#CD5842 is a mid, vivid red. Relative luminance 0.204; OKLCH L 60.5% C 0.154 H 32.5°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#CD5842
RGBrgb(205, 88, 66)
HSLhsl(9, 58%, 53%)
HSVhsv(9, 68%, 80%)
CMYKcmyk(0%, 57.1%, 67.8%, 19.6%)
CIE-LABlab(52.24, 44.99, 35.59)
CIE-LCHlch(52.24, 57.36, 38.35°)
OKLaboklab(60.53% 0.1295 0.0824)
OKLCHoklch(60.53% 0.154 32.5)
XYZxyz(29.6528, 20.3558, 7.5208)
Luminance0.2035 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5842 #42B7CD
analogous
#CD4272 #CD5842 #CD9D42
triadic
#CD5842 #42CD58 #5842CD
tetradic
#CD5842 #72CD42 #42B7CD #9D42CD
square
#CD5842 #72CD42 #42B7CD #9D42CD
split-complementary
#CD5842 #42CD9D #4272CD
monochromatic
#762D1F #A63F2C #CD5842 #DA8372 #E7AEA3

Accessibility & contrast

On white

4.14
#CD5842 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#CD5842 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5842
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5842#FFFFFF#000000##000000
##CD58421.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#776D3F
Deuteranopia (green-blind)
#94863F
Tritanopia (blue-blind)
#E14053
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cd5842;
/* rgb */ color: rgb(205, 88, 66);
/* oklch */ color: oklch(60.5% 0.154 32.5);
Tailwind
colors: {
  custom: {
    50: '#e38b77',
    500: '#cd5842',
    950: '#000000',
  },
}
SCSS
$custom: #cd5842;
$custom-light: #e38b77;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5842",
  "rgb": {
    "r": 205,
    "g": 88,
    "b": 66
  },
  "hsl": {
    "h": 9.496,
    "s": 58.159,
    "l": 53.137
  },
  "oklch": {
    "l": 0.60534,
    "c": 0.15351,
    "h": 32.5
  },
  "luminance": 0.20352
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD5842

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

Preview Lab → · Contrast checker → · Palette generator →

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