#CD3940#CD3940

#CD3940 is a mid, vivid red. Relative luminance 0.163; OKLCH L 56.8% C 0.184 H 22.9°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#CD3940
RGBrgb(205, 57, 64)
HSLhsl(357, 60%, 51%)
HSVhsv(357, 72%, 80%)
CMYKcmyk(0%, 72.2%, 68.8%, 19.6%)
CIE-LABlab(47.34, 57.96, 30.88)
CIE-LCHlch(47.34, 65.67, 28.05°)
OKLaboklab(56.85% 0.1699 0.0717)
OKLCHoklch(56.85% 0.184 22.9)
XYZxyz(27.5684, 16.2797, 6.5402)
Luminance0.1628 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD3940 #39CDC6
analogous
#CD398A #CD3940 #CD7C39
triadic
#CD3940 #40CD39 #3940CD
tetradic
#CD3940 #8ACD39 #39CDC6 #7C39CD
square
#CD3940 #8ACD39 #39CDC6 #7C39CD
split-complementary
#CD3940 #39CD7C #398ACD
monochromatic
#6F1C20 #A0282E #CD3940 #D96A6F #E69B9E

Accessibility & contrast

On white

4.94
#CD3940 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#CD3940 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CD3940
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD3940#FFFFFF#000000##FFFFFF
##CD39401.004.944.264.94
#FFFFFF4.941.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#635C3F
Deuteranopia (green-blind)
#887C3B
Tritanopia (blue-blind)
#E1003D
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #cd3940;
/* rgb */ color: rgb(205, 57, 64);
/* oklch */ color: oklch(56.8% 0.184 22.9);
Tailwind
colors: {
  custom: {
    50: '#e47a75',
    500: '#cd3940',
    950: '#000000',
  },
}
SCSS
$custom: #cd3940;
$custom-light: #e47a75;
$custom-dark: #000000;
JSON
{
  "hex": "#cd3940",
  "rgb": {
    "r": 205,
    "g": 57,
    "b": 64
  },
  "hsl": {
    "h": 357.162,
    "s": 59.677,
    "l": 51.373
  },
  "oklch": {
    "l": 0.56846,
    "c": 0.18441,
    "h": 22.9
  },
  "luminance": 0.16276
}

Semantic roles & 50–950 ramp

primary
#CD3940
secondary
#90D2CE
accent
#E3DB45
background
#FFF7F7
surface
#FEEEED
border
#D6C9C8
text
#170A08
muted
#857C7B

Preview Lab

Preview with #CD3940

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

Preview Lab → · Contrast checker → · Palette generator →

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