#7C1B1E#7C1B1E

#7C1B1E is a dark, vivid red. Relative luminance 0.052; OKLCH L 38.8% C 0.132 H 24.4°. Best body text is #FFFFFF at 10.33:1 contrast (WCAG AA passes).

Color values

HEX#7C1B1E
RGBrgb(124, 27, 30)
HSLhsl(358, 64%, 30%)
HSVhsv(358, 78%, 49%)
CMYKcmyk(0%, 78.2%, 75.8%, 51.4%)
CIE-LABlab(27.20, 41.19, 23.97)
CIE-LCHlch(27.20, 47.65, 30.19°)
OKLaboklab(38.83% 0.1198 0.0543)
OKLCHoklch(38.83% 0.132 24.4)
XYZxyz(8.9395, 5.1641, 1.7541)
Luminance0.0516 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1B1E #1B7C79
analogous
#7C1B4F #7C1B1E #7C481B
triadic
#7C1B1E #1E7C1B #1B1E7C
tetradic
#7C1B1E #4F7C1B #1B7C79 #481B7C
square
#7C1B1E #4F7C1B #1B7C79 #481B7C
split-complementary
#7C1B1E #1B7C48 #1B4F7C
monochromatic
#190506 #4A1012 #7C1B1E #AE262A #D53D41

Accessibility & contrast

On white

10.33
#7C1B1E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#7C1B1E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1B1E
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1B1E#FFFFFF#000000##FFFFFF
##7C1B1E1.0010.332.0310.33
#FFFFFF10.331.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38331D
Deuteranopia (green-blind)
#50481B
Tritanopia (blue-blind)
#89001D
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7c1b1e;
/* rgb */ color: rgb(124, 27, 30);
/* oklch */ color: oklch(38.8% 0.132 24.4);
Tailwind
colors: {
  custom: {
    50: '#a9605a',
    500: '#7c1b1e',
    950: '#000000',
  },
}
SCSS
$custom: #7c1b1e;
$custom-light: #a9605a;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1b1e",
  "rgb": {
    "r": 124,
    "g": 27,
    "b": 30
  },
  "hsl": {
    "h": 358.144,
    "s": 64.238,
    "l": 29.608
  },
  "oklch": {
    "l": 0.38832,
    "c": 0.13154,
    "h": 24.4
  },
  "luminance": 0.05163
}

Semantic roles & 50–950 ramp

primary
#7C1B1E
secondary
#43B0AD
accent
#E7E241
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110503
muted
#807978

Preview Lab

Preview with #7C1B1E

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

Preview Lab → · Contrast checker → · Palette generator →

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