#7C2818#7C2818

#7C2818 is a dark, vivid red. Relative luminance 0.059; OKLCH L 40.2% C 0.120 H 32.9°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#7C2818
RGBrgb(124, 40, 24)
HSLhsl(10, 68%, 29%)
HSVhsv(10, 81%, 49%)
CMYKcmyk(0%, 67.7%, 80.6%, 51.4%)
CIE-LABlab(29.08, 35.56, 29.67)
CIE-LCHlch(29.08, 46.31, 39.84°)
OKLaboklab(40.22% 0.1008 0.0651)
OKLCHoklch(40.22% 0.12 32.9)
XYZxyz(9.2369, 5.8700, 1.5106)
Luminance0.0587 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C2818 #186C7C
analogous
#7C183A #7C2818 #7C5A18
triadic
#7C2818 #187C28 #28187C
tetradic
#7C2818 #3A7C18 #186C7C #5A187C
square
#7C2818 #3A7C18 #186C7C #5A187C
split-complementary
#7C2818 #187C5A #183A7C
monochromatic
#1A0805 #49170E #7C2818 #AF3922 #D85036

Accessibility & contrast

On white

9.66
#7C2818 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#7C2818 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C2818
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C2818#FFFFFF#000000##FFFFFF
##7C28181.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403916
Deuteranopia (green-blind)
#554B15
Tritanopia (blue-blind)
#891025
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7c2818;
/* rgb */ color: rgb(124, 40, 24);
/* oklch */ color: oklch(40.2% 0.120 32.9);
Tailwind
colors: {
  custom: {
    50: '#a96756',
    500: '#7c2818',
    950: '#000000',
  },
}
SCSS
$custom: #7c2818;
$custom-light: #a96756;
$custom-dark: #000000;
JSON
{
  "hex": "#7c2818",
  "rgb": {
    "r": 124,
    "g": 40,
    "b": 24
  },
  "hsl": {
    "h": 9.6,
    "s": 67.568,
    "l": 29.02
  },
  "oklch": {
    "l": 0.40219,
    "c": 0.12,
    "h": 32.9
  },
  "luminance": 0.05869
}

Semantic roles & 50–950 ramp

primary
#7C2818
secondary
#3F9EB1
accent
#CFEA3D
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #7C2818

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

Preview Lab → · Contrast checker → · Palette generator →

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