#CD2F28#CD2F28

#CD2F28 is a mid, vivid red. Relative luminance 0.152; OKLCH L 55.7% C 0.195 H 28.1°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#CD2F28
RGBrgb(205, 47, 40)
HSLhsl(3, 67%, 48%)
HSVhsv(3, 80%, 80%)
CMYKcmyk(0%, 77.1%, 80.5%, 19.6%)
CIE-LABlab(45.87, 60.31, 42.86)
CIE-LCHlch(45.87, 73.98, 35.40°)
OKLaboklab(55.66% 0.1723 0.0921)
OKLCHoklch(55.66% 0.195 28.1)
XYZxyz(26.5796, 15.1696, 3.5356)
Luminance0.1517 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD2F28 #28C6CD
analogous
#CD2874 #CD2F28 #CD8128
triadic
#CD2F28 #28CD2F #2F28CD
tetradic
#CD2F28 #74CD28 #28C6CD #8128CD
square
#CD2F28 #74CD28 #28C6CD #8128CD
split-complementary
#CD2F28 #28CD81 #2874CD
monochromatic
#671814 #9A231E #CD2F28 #DE5A54 #E88C88

Accessibility & contrast

On white

5.21
#CD2F28 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#CD2F28 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CD2F28
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD2F28#FFFFFF#000000##FFFFFF
##CD2F281.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615725
Deuteranopia (green-blind)
#877920
Tritanopia (blue-blind)
#E20030
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #cd2f28;
/* rgb */ color: rgb(205, 47, 40);
/* oklch */ color: oklch(55.7% 0.195 28.1);
Tailwind
colors: {
  custom: {
    50: '#e67563',
    500: '#cd2f28',
    950: '#000000',
  },
}
SCSS
$custom: #cd2f28;
$custom-light: #e67563;
$custom-dark: #000000;
JSON
{
  "hex": "#cd2f28",
  "rgb": {
    "r": 205,
    "g": 47,
    "b": 40
  },
  "hsl": {
    "h": 2.545,
    "s": 67.347,
    "l": 48.039
  },
  "oklch": {
    "l": 0.55657,
    "c": 0.19537,
    "h": 28.1
  },
  "luminance": 0.15165
}

Semantic roles & 50–950 ramp

primary
#CD2F28
secondary
#80CED1
accent
#E3EA3E
background
#FFF7F6
surface
#FFEEEB
border
#D7C9C6
text
#180905
muted
#867B7A

Preview Lab

Preview with #CD2F28

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

Preview Lab → · Contrast checker → · Palette generator →

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