#7C2817#7C2817

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

Color values

HEX#7C2817
RGBrgb(124, 40, 23)
HSLhsl(10, 69%, 29%)
HSVhsv(10, 81%, 49%)
CMYKcmyk(0%, 67.7%, 81.5%, 51.4%)
CIE-LABlab(29.07, 35.52, 30.23)
CIE-LCHlch(29.07, 46.64, 40.40°)
OKLaboklab(40.21% 0.1005 0.066)
OKLCHoklch(40.21% 0.12 33.3)
XYZxyz(9.2267, 5.8659, 1.4568)
Luminance0.0587 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C2817 #176B7C
analogous
#7C1739 #7C2817 #7C5B17
triadic
#7C2817 #177C28 #28177C
tetradic
#7C2817 #397C17 #176B7C #5B177C
square
#7C2817 #397C17 #176B7C #5B177C
split-complementary
#7C2817 #177C5B #17397C
monochromatic
#1A0805 #48170D #7C2817 #B03921 #D95034

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7C2817#FFFFFF#000000##FFFFFF
##7C28171.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)
#403914
Deuteranopia (green-blind)
#554B14
Tritanopia (blue-blind)
#891025
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7c2817;
/* rgb */ color: rgb(124, 40, 23);
/* oklch */ color: oklch(40.2% 0.120 33.3);
Tailwind
colors: {
  custom: {
    50: '#a96755',
    500: '#7c2817',
    950: '#000000',
  },
}
SCSS
$custom: #7c2817;
$custom-light: #a96755;
$custom-dark: #000000;
JSON
{
  "hex": "#7c2817",
  "rgb": {
    "r": 124,
    "g": 40,
    "b": 23
  },
  "hsl": {
    "h": 10.099,
    "s": 68.707,
    "l": 28.824
  },
  "oklch": {
    "l": 0.40207,
    "c": 0.12022,
    "h": 33.3
  },
  "luminance": 0.05865
}

Semantic roles & 50–950 ramp

primary
#7C2817
secondary
#3E9DB1
accent
#CEEC3C
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #7C2817

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

Preview Lab → · Contrast checker → · Palette generator →

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