#7C231E#7C231E

#7C231E is a dark, vivid red. Relative luminance 0.056; OKLCH L 39.7% C 0.124 H 27.5°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#7C231E
RGBrgb(124, 35, 30)
HSLhsl(3, 61%, 30%)
HSVhsv(3, 76%, 49%)
CMYKcmyk(0%, 71.8%, 75.8%, 51.4%)
CIE-LABlab(28.33, 38.05, 25.26)
CIE-LCHlch(28.33, 45.68, 33.58°)
OKLaboklab(39.68% 0.1099 0.0572)
OKLCHoklch(39.68% 0.124 27.5)
XYZxyz(9.1486, 5.5822, 1.8238)
Luminance0.0558 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C231E #1E777C
analogous
#7C1E48 #7C231E #7C521E
triadic
#7C231E #1E7C23 #231E7C
tetradic
#7C231E #487C1E #1E777C #521E7C
square
#7C231E #487C1E #1E777C #521E7C
split-complementary
#7C231E #1E7C52 #1E487C
monochromatic
#190706 #4B1512 #7C231E #AD312A #D14A43

Accessibility & contrast

On white

9.92
#7C231E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#7C231E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C231E
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C231E#FFFFFF#000000##FFFFFF
##7C231E1.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C371D
Deuteranopia (green-blind)
#534A1B
Tritanopia (blue-blind)
#890623
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7c231e;
/* rgb */ color: rgb(124, 35, 30);
/* oklch */ color: oklch(39.7% 0.124 27.5);
Tailwind
colors: {
  custom: {
    50: '#a9645a',
    500: '#7c231e',
    950: '#000000',
  },
}
SCSS
$custom: #7c231e;
$custom-light: #a9645a;
$custom-dark: #000000;
JSON
{
  "hex": "#7c231e",
  "rgb": {
    "r": 124,
    "g": 35,
    "b": 30
  },
  "hsl": {
    "h": 3.191,
    "s": 61.039,
    "l": 30.196
  },
  "oklch": {
    "l": 0.3968,
    "c": 0.12387,
    "h": 27.5
  },
  "luminance": 0.05581
}

Semantic roles & 50–950 ramp

primary
#7C231E
secondary
#46AAAF
accent
#DCE444
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #7C231E

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

Preview Lab → · Contrast checker → · Palette generator →

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