#7C1F2F#7C1F2F

#7C1F2F is a dark, vivid red. Relative luminance 0.055; OKLCH L 39.6% C 0.127 H 15.6°. Best body text is #FFFFFF at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#7C1F2F
RGBrgb(124, 31, 47)
HSLhsl(350, 60%, 30%)
HSVhsv(350, 75%, 49%)
CMYKcmyk(0%, 75%, 62.1%, 51.4%)
CIE-LABlab(28.04, 40.72, 13.86)
CIE-LCHlch(28.04, 43.01, 18.80°)
OKLaboklab(39.56% 0.1221 0.034)
OKLCHoklch(39.56% 0.127 15.6)
XYZxyz(9.3162, 5.4716, 3.2543)
Luminance0.0547 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1F2F #1F7C6C
analogous
#7C1F5E #7C1F2F #7C3D1F
triadic
#7C1F2F #2F7C1F #1F2F7C
tetradic
#7C1F2F #5E7C1F #1F7C6C #3D1F7C
square
#7C1F2F #5E7C1F #1F7C6C #3D1F7C
split-complementary
#7C1F2F #1F7C3D #1F5E7C
monochromatic
#1A070A #4B131C #7C1F2F #AD2B42 #D0455D

Accessibility & contrast

On white

10.03
#7C1F2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#7C1F2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1F2F
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1F2F#FFFFFF#000000##FFFFFF
##7C1F2F1.0010.032.0910.03
#FFFFFF10.031.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38362F
Deuteranopia (green-blind)
#50492D
Tritanopia (blue-blind)
#880426
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7c1f2f;
/* rgb */ color: rgb(124, 31, 47);
/* oklch */ color: oklch(39.6% 0.127 15.6);
Tailwind
colors: {
  custom: {
    50: '#a86367',
    500: '#7c1f2f',
    950: '#000000',
  },
}
SCSS
$custom: #7c1f2f;
$custom-light: #a86367;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1f2f",
  "rgb": {
    "r": 124,
    "g": 31,
    "b": 47
  },
  "hsl": {
    "h": 349.677,
    "s": 60,
    "l": 30.392
  },
  "oklch": {
    "l": 0.39556,
    "c": 0.1267,
    "h": 15.6
  },
  "luminance": 0.0547
}

Semantic roles & 50–950 ramp

primary
#7C1F2F
secondary
#48AF9D
accent
#E3C845
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110606
muted
#807A7A

Preview Lab

Preview with #7C1F2F

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

Preview Lab → · Contrast checker → · Palette generator →

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