#CD2A17#CD2A17

#CD2A17 is a mid, highly saturated red. Relative luminance 0.147; OKLCH L 55.1% C 0.201 H 30.6°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#CD2A17
RGBrgb(205, 42, 23)
HSLhsl(6, 80%, 45%)
HSVhsv(6, 89%, 80%)
CMYKcmyk(0%, 79.5%, 88.8%, 19.6%)
CIE-LABlab(45.22, 61.36, 50.51)
CIE-LCHlch(45.22, 79.47, 39.46°)
OKLaboklab(55.14% 0.1727 0.1023)
OKLCHoklch(55.14% 0.201 30.6)
XYZxyz(26.1628, 14.7012, 2.2705)
Luminance0.1470 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD2A17 #17BACD
analogous
#CD175F #CD2A17 #CD8517
triadic
#CD2A17 #17CD2A #2A17CD
tetradic
#CD2A17 #5FCD17 #17BACD #8517CD
square
#CD2A17 #5FCD17 #17BACD #8517CD
split-complementary
#CD2A17 #17CD85 #175FCD
monochromatic
#5F130B #961F11 #CD2A17 #E94B38 #EF7D70

Accessibility & contrast

On white

5.33
#CD2A17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#CD2A17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CD2A17
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD2A17#FFFFFF#000000##FFFFFF
##CD2A171.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5411
Deuteranopia (green-blind)
#877807
Tritanopia (blue-blind)
#E20028
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #cd2a17;
/* rgb */ color: rgb(205, 42, 23);
/* oklch */ color: oklch(55.1% 0.201 30.6);
Tailwind
colors: {
  custom: {
    50: '#e77359',
    500: '#cd2a17',
    950: '#000000',
  },
}
SCSS
$custom: #cd2a17;
$custom-light: #e77359;
$custom-dark: #000000;
JSON
{
  "hex": "#cd2a17",
  "rgb": {
    "r": 205,
    "g": 42,
    "b": 23
  },
  "hsl": {
    "h": 6.264,
    "s": 79.825,
    "l": 44.706
  },
  "oklch": {
    "l": 0.55139,
    "c": 0.20076,
    "h": 30.6
  },
  "luminance": 0.14697
}

Semantic roles & 50–950 ramp

primary
#CD2A17
secondary
#6BCAD5
accent
#E2F632
background
#FFF7F5
surface
#FFEDE9
border
#D7C8C5
text
#180904
muted
#867B79

Preview Lab

Preview with #CD2A17

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

Preview Lab → · Contrast checker → · Palette generator →

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