#7C231A#7C231A

#7C231A is a dark, vivid red. Relative luminance 0.056; OKLCH L 39.6% C 0.125 H 29.5°. Best body text is #FFFFFF at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#7C231A
RGBrgb(124, 35, 26)
HSLhsl(6, 65%, 29%)
HSVhsv(6, 79%, 49%)
CMYKcmyk(0%, 71.8%, 79%, 51.4%)
CIE-LABlab(28.28, 37.87, 27.65)
CIE-LCHlch(28.28, 46.89, 36.14°)
OKLaboklab(39.63% 0.1084 0.0613)
OKLCHoklch(39.63% 0.125 29.5)
XYZxyz(9.1007, 5.5631, 1.5717)
Luminance0.0556 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C231A #1A737C
analogous
#7C1A42 #7C231A #7C541A
triadic
#7C231A #1A7C23 #231A7C
tetradic
#7C231A #427C1A #1A737C #541A7C
square
#7C231A #427C1A #1A737C #541A7C
split-complementary
#7C231A #1A7C54 #1A427C
monochromatic
#190705 #49150F #7C231A #AF3125 #D6493B

Accessibility & contrast

On white

9.94
#7C231A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#7C231A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C231A
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C231A#FFFFFF#000000##FFFFFF
##7C231A1.009.942.119.94
#FFFFFF9.941.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3618
Deuteranopia (green-blind)
#534A17
Tritanopia (blue-blind)
#890422
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7c231a;
/* rgb */ color: rgb(124, 35, 26);
/* oklch */ color: oklch(39.6% 0.125 29.5);
Tailwind
colors: {
  custom: {
    50: '#a96457',
    500: '#7c231a',
    950: '#000000',
  },
}
SCSS
$custom: #7c231a;
$custom-light: #a96457;
$custom-dark: #000000;
JSON
{
  "hex": "#7c231a",
  "rgb": {
    "r": 124,
    "g": 35,
    "b": 26
  },
  "hsl": {
    "h": 5.51,
    "s": 65.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.39626,
    "c": 0.12457,
    "h": 29.5
  },
  "luminance": 0.05562
}

Semantic roles & 50–950 ramp

primary
#7C231A
secondary
#42A6B0
accent
#D9E840
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #7C231A

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

Preview Lab → · Contrast checker → · Palette generator →

#7C231A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva