#7C2917#7C2917

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

Color values

HEX#7C2917
RGBrgb(124, 41, 23)
HSLhsl(11, 69%, 29%)
HSVhsv(11, 81%, 49%)
CMYKcmyk(0%, 66.9%, 81.5%, 51.4%)
CIE-LABlab(29.25, 35.05, 30.41)
CIE-LCHlch(29.25, 46.40, 40.94°)
OKLaboklab(40.34% 0.099 0.0664)
OKLCHoklch(40.34% 0.119 33.8)
XYZxyz(9.2608, 5.9342, 1.4682)
Luminance0.0593 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C2917 #176A7C
analogous
#7C1738 #7C2917 #7C5C17
triadic
#7C2917 #177C29 #29177C
tetradic
#7C2917 #387C17 #176A7C #5C177C
square
#7C2917 #387C17 #176A7C #5C177C
split-complementary
#7C2917 #177C5C #17387C
monochromatic
#1A0905 #48180D #7C2917 #B03A21 #D95234

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7C2917#FFFFFF#000000##FFFFFF
##7C29171.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)
#413914
Deuteranopia (green-blind)
#554C14
Tritanopia (blue-blind)
#891225
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7c2917;
/* rgb */ color: rgb(124, 41, 23);
/* oklch */ color: oklch(40.3% 0.119 33.8);
Tailwind
colors: {
  custom: {
    50: '#a96755',
    500: '#7c2917',
    950: '#000000',
  },
}
SCSS
$custom: #7c2917;
$custom-light: #a96755;
$custom-dark: #000000;
JSON
{
  "hex": "#7c2917",
  "rgb": {
    "r": 124,
    "g": 41,
    "b": 23
  },
  "hsl": {
    "h": 10.693,
    "s": 68.707,
    "l": 28.824
  },
  "oklch": {
    "l": 0.40339,
    "c": 0.11922,
    "h": 33.8
  },
  "luminance": 0.05933
}

Semantic roles & 50–950 ramp

primary
#7C2917
secondary
#3E9CB1
accent
#CCEC3C
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #7C2917

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

Preview Lab → · Contrast checker → · Palette generator →

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