#C23D1F#C23D1F

#C23D1F is a mid, vivid red. Relative luminance 0.149; OKLCH L 55.0% C 0.175 H 34.0°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#C23D1F
RGBrgb(194, 61, 31)
HSLhsl(11, 72%, 44%)
HSVhsv(11, 84%, 76%)
CMYKcmyk(0%, 68.6%, 84%, 23.9%)
CIE-LABlab(45.51, 51.63, 46.31)
CIE-LCHlch(45.51, 69.36, 41.89°)
OKLaboklab(54.99% 0.1448 0.0976)
OKLCHoklch(54.99% 0.175 34)
XYZxyz(24.1670, 14.9094, 2.9013)
Luminance0.1491 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C23D1F #1FA4C2
analogous
#C21F53 #C23D1F #C28F1F
triadic
#C23D1F #1FC23D #3D1FC2
tetradic
#C23D1F #53C21F #1FA4C2 #8F1FC2
square
#C23D1F #53C21F #1FA4C2 #8F1FC2
split-complementary
#C23D1F #1FC28F #1F53C2
monochromatic
#581C0E #8D2C17 #C23D1F #E05C3E #E98873

Accessibility & contrast

On white

5.27
#C23D1F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#C23D1F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C23D1F
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C23D1F#FFFFFF#000000##FFFFFF
##C23D1F1.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#64591A
Deuteranopia (green-blind)
#857718
Tritanopia (blue-blind)
#D60A38
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #c23d1f;
/* rgb */ color: rgb(194, 61, 31);
/* oklch */ color: oklch(55.0% 0.175 34.0);
Tailwind
colors: {
  custom: {
    50: '#de7a5e',
    500: '#c23d1f',
    950: '#000000',
  },
}
SCSS
$custom: #c23d1f;
$custom-light: #de7a5e;
$custom-dark: #000000;
JSON
{
  "hex": "#c23d1f",
  "rgb": {
    "r": 194,
    "g": 61,
    "b": 31
  },
  "hsl": {
    "h": 11.043,
    "s": 72.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.54994,
    "c": 0.17459,
    "h": 34
  },
  "luminance": 0.14906
}

Semantic roles & 50–950 ramp

primary
#C23D1F
secondary
#6DBDCF
accent
#CEEF39
background
#FFF7F5
surface
#FEEEE9
border
#D6C9C5
text
#170A04
muted
#857C79

Preview Lab

Preview with #C23D1F

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

Preview Lab → · Contrast checker → · Palette generator →

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