#7C1817#7C1817

#7C1817 is a dark, vivid red. Relative luminance 0.050; OKLCH L 38.5% C 0.135 H 26.8°. Best body text is #FFFFFF at 10.50:1 contrast (WCAG AA passes).

Color values

HEX#7C1817
RGBrgb(124, 24, 23)
HSLhsl(1, 69%, 29%)
HSVhsv(1, 81%, 49%)
CMYKcmyk(0%, 80.6%, 81.5%, 51.4%)
CIE-LABlab(26.74, 41.93, 27.83)
CIE-LCHlch(26.74, 50.32, 33.57°)
OKLaboklab(38.46% 0.1205 0.0608)
OKLCHoklch(38.46% 0.135 26.8)
XYZxyz(8.7945, 5.0016, 1.3128)
Luminance0.0500 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1817 #177B7C
analogous
#7C1749 #7C1817 #7C4B17
triadic
#7C1817 #177C18 #18177C
tetradic
#7C1817 #497C17 #177B7C #4B177C
square
#7C1817 #497C17 #177B7C #4B177C
split-complementary
#7C1817 #177C4B #17497C
monochromatic
#1A0505 #480E0D #7C1817 #B02221 #D93634

Accessibility & contrast

On white

10.50
#7C1817 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#7C1817 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1817
10.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1817#FFFFFF#000000##FFFFFF
##7C18171.0010.502.0010.50
#FFFFFF10.501.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373116
Deuteranopia (green-blind)
#504713
Tritanopia (blue-blind)
#890019
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #7c1817;
/* rgb */ color: rgb(124, 24, 23);
/* oklch */ color: oklch(38.5% 0.135 26.8);
Tailwind
colors: {
  custom: {
    50: '#aa5f54',
    500: '#7c1817',
    950: '#000000',
  },
}
SCSS
$custom: #7c1817;
$custom-light: #aa5f54;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1817",
  "rgb": {
    "r": 124,
    "g": 24,
    "b": 23
  },
  "hsl": {
    "h": 0.594,
    "s": 68.707,
    "l": 28.824
  },
  "oklch": {
    "l": 0.38463,
    "c": 0.13497,
    "h": 26.8
  },
  "luminance": 0.05
}

Semantic roles & 50–950 ramp

primary
#7C1817
secondary
#3EB0B1
accent
#EAEC3C
background
#FBF5F4
surface
#F6EAE7
border
#D0C6C3
text
#110503
muted
#807978

Preview Lab

Preview with #7C1817

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

Preview Lab → · Contrast checker → · Palette generator →

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