#7C231C#7C231C

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

Color values

HEX#7C231C
RGBrgb(124, 35, 28)
HSLhsl(4, 63%, 30%)
HSVhsv(4, 77%, 49%)
CMYKcmyk(0%, 71.8%, 77.4%, 51.4%)
CIE-LABlab(28.31, 37.96, 26.47)
CIE-LCHlch(28.31, 46.28, 34.89°)
OKLaboklab(39.65% 0.1092 0.0593)
OKLCHoklch(39.65% 0.124 28.5)
XYZxyz(9.1238, 5.5723, 1.6935)
Luminance0.0557 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C231C #1C757C
analogous
#7C1C45 #7C231C #7C531C
triadic
#7C231C #1C7C23 #231C7C
tetradic
#7C231C #457C1C #1C757C #531C7C
square
#7C231C #457C1C #1C757C #531C7C
split-complementary
#7C231C #1C7C53 #1C457C
monochromatic
#190706 #4A1511 #7C231C #AE3127 #D44A3F

Accessibility & contrast

On white

9.93
#7C231C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7C231C
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C231C#FFFFFF#000000##FFFFFF
##7C231C1.009.932.119.93
#FFFFFF9.931.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D361A
Deuteranopia (green-blind)
#534A19
Tritanopia (blue-blind)
#890522
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7c231c;
/* rgb */ color: rgb(124, 35, 28);
/* oklch */ color: oklch(39.7% 0.124 28.5);
Tailwind
colors: {
  custom: {
    50: '#a96458',
    500: '#7c231c',
    950: '#000000',
  },
}
SCSS
$custom: #7c231c;
$custom-light: #a96458;
$custom-dark: #000000;
JSON
{
  "hex": "#7c231c",
  "rgb": {
    "r": 124,
    "g": 35,
    "b": 28
  },
  "hsl": {
    "h": 4.375,
    "s": 63.158,
    "l": 29.804
  },
  "oklch": {
    "l": 0.39652,
    "c": 0.12421,
    "h": 28.5
  },
  "luminance": 0.05571
}

Semantic roles & 50–950 ramp

primary
#7C231C
secondary
#44A8B0
accent
#DAE642
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #7C231C

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

Preview Lab → · Contrast checker → · Palette generator →

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