#CD312C#CD312C

#CD312C is a mid, vivid red. Relative luminance 0.154; OKLCH L 55.9% C 0.193 H 27.5°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#CD312C
RGBrgb(205, 49, 44)
HSLhsl(2, 65%, 49%)
HSVhsv(2, 79%, 80%)
CMYKcmyk(0%, 76.1%, 78.5%, 19.6%)
CIE-LABlab(46.13, 59.81, 40.96)
CIE-LCHlch(46.13, 72.49, 34.41°)
OKLaboklab(55.86% 0.1716 0.0892)
OKLCHoklch(55.86% 0.193 27.5)
XYZxyz(26.7330, 15.3619, 3.9399)
Luminance0.1536 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD312C #2CC8CD
analogous
#CD2C78 #CD312C #CD822C
triadic
#CD312C #2CCD31 #312CCD
tetradic
#CD312C #78CD2C #2CC8CD #822CCD
square
#CD312C #78CD2C #2CC8CD #822CCD
split-complementary
#CD312C #2CCD82 #2C78CD
monochromatic
#681916 #9B2521 #CD312C #DC5F5B #E7908D

Accessibility & contrast

On white

5.16
#CD312C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#CD312C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CD312C
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD312C#FFFFFF#000000##FFFFFF
##CD312C1.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615829
Deuteranopia (green-blind)
#887925
Tritanopia (blue-blind)
#E20032
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #cd312c;
/* rgb */ color: rgb(205, 49, 44);
/* oklch */ color: oklch(55.9% 0.193 27.5);
Tailwind
colors: {
  custom: {
    50: '#e67666',
    500: '#cd312c',
    950: '#000000',
  },
}
SCSS
$custom: #cd312c;
$custom-light: #e67666;
$custom-dark: #000000;
JSON
{
  "hex": "#cd312c",
  "rgb": {
    "r": 205,
    "g": 49,
    "b": 44
  },
  "hsl": {
    "h": 1.863,
    "s": 64.659,
    "l": 48.824
  },
  "oklch": {
    "l": 0.55863,
    "c": 0.19336,
    "h": 27.5
  },
  "luminance": 0.15358
}

Semantic roles & 50–950 ramp

primary
#CD312C
secondary
#84CED1
accent
#E2E840
background
#FFF7F6
surface
#FFEEEB
border
#D7C9C6
text
#180906
muted
#867B7A

Preview Lab

Preview with #CD312C

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

Preview Lab → · Contrast checker → · Palette generator →

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