#7C2918#7C2918

#7C2918 is a dark, moderate red. Relative luminance 0.059; OKLCH L 40.4% C 0.119 H 33.4°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#7C2918
RGBrgb(124, 41, 24)
HSLhsl(10, 68%, 29%)
HSVhsv(10, 81%, 49%)
CMYKcmyk(0%, 66.9%, 80.6%, 51.4%)
CIE-LABlab(29.26, 35.09, 29.85)
CIE-LCHlch(29.26, 46.07, 40.39°)
OKLaboklab(40.35% 0.0993 0.0655)
OKLCHoklch(40.35% 0.119 33.4)
XYZxyz(9.2710, 5.9383, 1.5220)
Luminance0.0594 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C2918 #186B7C
analogous
#7C1839 #7C2918 #7C5B18
triadic
#7C2918 #187C29 #29187C
tetradic
#7C2918 #397C18 #186B7C #5B187C
square
#7C2918 #397C18 #186B7C #5B187C
split-complementary
#7C2918 #187C5B #18397C
monochromatic
#1A0805 #49180E #7C2918 #AF3A22 #D85236

Accessibility & contrast

On white

9.60
#7C2918 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#7C2918 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C2918
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C2918#FFFFFF#000000##FFFFFF
##7C29181.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413916
Deuteranopia (green-blind)
#554C15
Tritanopia (blue-blind)
#891226
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7c2918;
/* rgb */ color: rgb(124, 41, 24);
/* oklch */ color: oklch(40.4% 0.119 33.4);
Tailwind
colors: {
  custom: {
    50: '#a96756',
    500: '#7c2918',
    950: '#000000',
  },
}
SCSS
$custom: #7c2918;
$custom-light: #a96756;
$custom-dark: #000000;
JSON
{
  "hex": "#7c2918",
  "rgb": {
    "r": 124,
    "g": 41,
    "b": 24
  },
  "hsl": {
    "h": 10.2,
    "s": 67.568,
    "l": 29.02
  },
  "oklch": {
    "l": 0.4035,
    "c": 0.11899,
    "h": 33.4
  },
  "luminance": 0.05937
}

Semantic roles & 50–950 ramp

primary
#7C2918
secondary
#3F9DB1
accent
#CDEA3D
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #7C2918

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

Preview Lab → · Contrast checker → · Palette generator →

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