#CD5042#CD5042

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

Color values

HEX#CD5042
RGBrgb(205, 80, 66)
HSLhsl(6, 58%, 53%)
HSVhsv(6, 68%, 80%)
CMYKcmyk(0%, 61%, 67.8%, 19.6%)
CIE-LABlab(50.82, 48.71, 33.91)
CIE-LCHlch(50.82, 59.35, 34.84°)
OKLaboklab(59.46% 0.1411 0.0787)
OKLCHoklch(59.46% 0.162 29.2)
XYZxyz(29.0318, 19.1137, 7.3138)
Luminance0.1911 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5042 #42BFCD
analogous
#CD4279 #CD5042 #CD9542
triadic
#CD5042 #42CD50 #5042CD
tetradic
#CD5042 #79CD42 #42BFCD #9542CD
square
#CD5042 #79CD42 #42BFCD #9542CD
split-complementary
#CD5042 #42CD95 #4279CD
monochromatic
#76281F #A6382C #CD5042 #DA7D72 #E7AAA3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CD5042#FFFFFF#000000##000000
##CD50421.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)
#716840
Deuteranopia (green-blind)
#90833F
Tritanopia (blue-blind)
#E1344D
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #cd5042;
/* rgb */ color: rgb(205, 80, 66);
/* oklch */ color: oklch(59.5% 0.162 29.2);
Tailwind
colors: {
  custom: {
    50: '#e38677',
    500: '#cd5042',
    950: '#000000',
  },
}
SCSS
$custom: #cd5042;
$custom-light: #e38677;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5042",
  "rgb": {
    "r": 205,
    "g": 80,
    "b": 66
  },
  "hsl": {
    "h": 6.043,
    "s": 58.159,
    "l": 53.137
  },
  "oklch": {
    "l": 0.59464,
    "c": 0.1616,
    "h": 29.2
  },
  "luminance": 0.1911
}

Semantic roles & 50–950 ramp

primary
#CD5042
secondary
#97CDD3
accent
#D2E146
background
#FEF8F7
surface
#FDF0ED
border
#D5CBC8
text
#170B08
muted
#857C7B

Preview Lab

Preview with #CD5042

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

Preview Lab → · Contrast checker → · Palette generator →

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