#7C1F2B#7C1F2B

#7C1F2B is a dark, vivid red. Relative luminance 0.054; OKLCH L 39.5% C 0.127 H 18.2°. Best body text is #FFFFFF at 10.06:1 contrast (WCAG AA passes).

Color values

HEX#7C1F2B
RGBrgb(124, 31, 43)
HSLhsl(352, 60%, 30%)
HSVhsv(352, 75%, 49%)
CMYKcmyk(0%, 75%, 65.3%, 51.4%)
CIE-LABlab(27.96, 40.44, 16.41)
CIE-LCHlch(27.96, 43.64, 22.09°)
OKLaboklab(39.47% 0.1204 0.0395)
OKLCHoklch(39.47% 0.127 18.2)
XYZxyz(9.2392, 5.4408, 2.8487)
Luminance0.0544 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1F2B #1F7C70
analogous
#7C1F59 #7C1F2B #7C411F
triadic
#7C1F2B #2B7C1F #1F2B7C
tetradic
#7C1F2B #597C1F #1F7C70 #411F7C
square
#7C1F2B #597C1F #1F7C70 #411F7C
split-complementary
#7C1F2B #1F7C41 #1F597C
monochromatic
#1A0709 #4B131A #7C1F2B #AD2B3C #D04557

Accessibility & contrast

On white

10.06
#7C1F2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7C1F2B
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1F2B#FFFFFF#000000##FFFFFF
##7C1F2B1.0010.062.0910.06
#FFFFFF10.061.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38362B
Deuteranopia (green-blind)
#504928
Tritanopia (blue-blind)
#880224
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7c1f2b;
/* rgb */ color: rgb(124, 31, 43);
/* oklch */ color: oklch(39.5% 0.127 18.2);
Tailwind
colors: {
  custom: {
    50: '#a86264',
    500: '#7c1f2b',
    950: '#000000',
  },
}
SCSS
$custom: #7c1f2b;
$custom-light: #a86264;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1f2b",
  "rgb": {
    "r": 124,
    "g": 31,
    "b": 43
  },
  "hsl": {
    "h": 352.258,
    "s": 60,
    "l": 30.392
  },
  "oklch": {
    "l": 0.39467,
    "c": 0.12669,
    "h": 18.2
  },
  "luminance": 0.05439
}

Semantic roles & 50–950 ramp

primary
#7C1F2B
secondary
#48AFA2
accent
#E3CF45
background
#FBF6F5
surface
#F6EBEA
border
#D0C6C6
text
#110605
muted
#807A79

Preview Lab

Preview with #7C1F2B

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

Preview Lab → · Contrast checker → · Palette generator →

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