#7C1F2E#7C1F2E

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

Color values

HEX#7C1F2E
RGBrgb(124, 31, 46)
HSLhsl(350, 60%, 30%)
HSVhsv(350, 75%, 49%)
CMYKcmyk(0%, 75%, 62.9%, 51.4%)
CIE-LABlab(28.02, 40.64, 14.50)
CIE-LCHlch(28.02, 43.15, 19.63°)
OKLaboklab(39.53% 0.1216 0.0354)
OKLCHoklch(39.53% 0.127 16.2)
XYZxyz(9.2962, 5.4637, 3.1493)
Luminance0.0546 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1F2E #1F7C6D
analogous
#7C1F5C #7C1F2E #7C3F1F
triadic
#7C1F2E #2E7C1F #1F2E7C
tetradic
#7C1F2E #5C7C1F #1F7C6D #3F1F7C
square
#7C1F2E #5C7C1F #1F7C6D #3F1F7C
split-complementary
#7C1F2E #1F7C3F #1F5C7C
monochromatic
#1A070A #4B131C #7C1F2E #AD2B40 #D0455B

Accessibility & contrast

On white

10.04
#7C1F2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7C1F2E
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1F2E#FFFFFF#000000##FFFFFF
##7C1F2E1.0010.042.0910.04
#FFFFFF10.041.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38362E
Deuteranopia (green-blind)
#50492C
Tritanopia (blue-blind)
#880325
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7c1f2e;
/* rgb */ color: rgb(124, 31, 46);
/* oklch */ color: oklch(39.5% 0.127 16.2);
Tailwind
colors: {
  custom: {
    50: '#a86266',
    500: '#7c1f2e',
    950: '#000000',
  },
}
SCSS
$custom: #7c1f2e;
$custom-light: #a86266;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1f2e",
  "rgb": {
    "r": 124,
    "g": 31,
    "b": 46
  },
  "hsl": {
    "h": 350.323,
    "s": 60,
    "l": 30.392
  },
  "oklch": {
    "l": 0.39533,
    "c": 0.12667,
    "h": 16.2
  },
  "luminance": 0.05462
}

Semantic roles & 50–950 ramp

primary
#7C1F2E
secondary
#48AF9F
accent
#E3CA45
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110605
muted
#807A7A

Preview Lab

Preview with #7C1F2E

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

Preview Lab → · Contrast checker → · Palette generator →

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