#C23F1F#C23F1F

#C23F1F is a mid, vivid red. Relative luminance 0.151; OKLCH L 55.2% C 0.173 H 34.6°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#C23F1F
RGBrgb(194, 63, 31)
HSLhsl(12, 72%, 44%)
HSVhsv(12, 84%, 76%)
CMYKcmyk(0%, 67.5%, 84%, 23.9%)
CIE-LABlab(45.81, 50.82, 46.58)
CIE-LCHlch(45.81, 68.94, 42.51°)
OKLaboklab(55.22% 0.1423 0.0982)
OKLCHoklch(55.22% 0.173 34.6)
XYZxyz(24.2758, 15.1269, 2.9376)
Luminance0.1512 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C23F1F #1FA2C2
analogous
#C21F51 #C23F1F #C2911F
triadic
#C23F1F #1FC23F #3F1FC2
tetradic
#C23F1F #51C21F #1FA2C2 #911FC2
square
#C23F1F #51C21F #1FA2C2 #911FC2
split-complementary
#C23F1F #1FC291 #1F51C2
monochromatic
#581D0E #8D2E17 #C23F1F #E05E3E #E98A73

Accessibility & contrast

On white

5.22
#C23F1F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#C23F1F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C23F1F
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C23F1F#FFFFFF#000000##FFFFFF
##C23F1F1.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665A19
Deuteranopia (green-blind)
#867718
Tritanopia (blue-blind)
#D61239
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #c23f1f;
/* rgb */ color: rgb(194, 63, 31);
/* oklch */ color: oklch(55.2% 0.173 34.6);
Tailwind
colors: {
  custom: {
    50: '#de7b5e',
    500: '#c23f1f',
    950: '#000000',
  },
}
SCSS
$custom: #c23f1f;
$custom-light: #de7b5e;
$custom-dark: #000000;
JSON
{
  "hex": "#c23f1f",
  "rgb": {
    "r": 194,
    "g": 63,
    "b": 31
  },
  "hsl": {
    "h": 11.779,
    "s": 72.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.55217,
    "c": 0.17286,
    "h": 34.6
  },
  "luminance": 0.15123
}

Semantic roles & 50–950 ramp

primary
#C23F1F
secondary
#6DBCCF
accent
#CBEF39
background
#FFF7F5
surface
#FEEEE9
border
#D6C9C5
text
#170A04
muted
#857C79

Preview Lab

Preview with #C23F1F

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

Preview Lab → · Contrast checker → · Palette generator →

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