#CD342A#CD342A

#CD342A is a mid, vivid red. Relative luminance 0.156; OKLCH L 56.1% C 0.191 H 28.6°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#CD342A
RGBrgb(205, 52, 42)
HSLhsl(4, 66%, 48%)
HSVhsv(4, 80%, 80%)
CMYKcmyk(0%, 74.6%, 79.5%, 19.6%)
CIE-LABlab(46.45, 58.78, 42.38)
CIE-LCHlch(46.45, 72.46, 35.79°)
OKLaboklab(56.1% 0.1679 0.0917)
OKLCHoklch(56.1% 0.191 28.6)
XYZxyz(26.8260, 15.6065, 3.7899)
Luminance0.1560 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD342A #2AC3CD
analogous
#CD2A71 #CD342A #CD852A
triadic
#CD342A #2ACD34 #342ACD
tetradic
#CD342A #71CD2A #2AC3CD #852ACD
square
#CD342A #71CD2A #2AC3CD #852ACD
split-complementary
#CD342A #2ACD85 #2A71CD
monochromatic
#671A15 #9A2720 #CD342A #DD6058 #E7908A

Accessibility & contrast

On white

5.10
#CD342A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#CD342A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CD342A
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD342A#FFFFFF#000000##FFFFFF
##CD342A1.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#635927
Deuteranopia (green-blind)
#897A23
Tritanopia (blue-blind)
#E20033
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #cd342a;
/* rgb */ color: rgb(205, 52, 42);
/* oklch */ color: oklch(56.1% 0.191 28.6);
Tailwind
colors: {
  custom: {
    50: '#e67765',
    500: '#cd342a',
    950: '#000000',
  },
}
SCSS
$custom: #cd342a;
$custom-light: #e67765;
$custom-dark: #000000;
JSON
{
  "hex": "#cd342a",
  "rgb": {
    "r": 205,
    "g": 52,
    "b": 42
  },
  "hsl": {
    "h": 3.681,
    "s": 65.992,
    "l": 48.431
  },
  "oklch": {
    "l": 0.56101,
    "c": 0.1913,
    "h": 28.6
  },
  "luminance": 0.15602
}

Semantic roles & 50–950 ramp

primary
#CD342A
secondary
#82CCD1
accent
#DEE93F
background
#FFF7F6
surface
#FFEEEB
border
#D7C9C6
text
#180A06
muted
#867C7A

Preview Lab

Preview with #CD342A

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

Preview Lab → · Contrast checker → · Palette generator →

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