#7C1F2A#7C1F2A

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

Color values

HEX#7C1F2A
RGBrgb(124, 31, 42)
HSLhsl(353, 60%, 30%)
HSVhsv(353, 75%, 49%)
CMYKcmyk(0%, 75%, 66.1%, 51.4%)
CIE-LABlab(27.94, 40.37, 17.05)
CIE-LCHlch(27.94, 43.82, 22.90°)
OKLaboklab(39.45% 0.1199 0.0409)
OKLCHoklch(39.45% 0.127 18.8)
XYZxyz(9.2210, 5.4336, 2.7533)
Luminance0.0543 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1F2A #1F7C71
analogous
#7C1F58 #7C1F2A #7C421F
triadic
#7C1F2A #2A7C1F #1F2A7C
tetradic
#7C1F2A #587C1F #1F7C71 #421F7C
square
#7C1F2A #587C1F #1F7C71 #421F7C
split-complementary
#7C1F2A #1F7C42 #1F587C
monochromatic
#1A0709 #4B1319 #7C1F2A #AD2B3B #D04555

Accessibility & contrast

On white

10.07
#7C1F2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7C1F2A
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1F2A#FFFFFF#000000##FFFFFF
##7C1F2A1.0010.072.0910.07
#FFFFFF10.071.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39352A
Deuteranopia (green-blind)
#504927
Tritanopia (blue-blind)
#880124
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7c1f2a;
/* rgb */ color: rgb(124, 31, 42);
/* oklch */ color: oklch(39.4% 0.127 18.8);
Tailwind
colors: {
  custom: {
    50: '#a86263',
    500: '#7c1f2a',
    950: '#000000',
  },
}
SCSS
$custom: #7c1f2a;
$custom-light: #a86263;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1f2a",
  "rgb": {
    "r": 124,
    "g": 31,
    "b": 42
  },
  "hsl": {
    "h": 352.903,
    "s": 60,
    "l": 30.392
  },
  "oklch": {
    "l": 0.39447,
    "c": 0.12672,
    "h": 18.8
  },
  "luminance": 0.05432
}

Semantic roles & 50–950 ramp

primary
#7C1F2A
secondary
#48AFA3
accent
#E3D045
background
#FBF6F5
surface
#F6EBEA
border
#D0C6C6
text
#110605
muted
#807A79

Preview Lab

Preview with #7C1F2A

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

Preview Lab → · Contrast checker → · Palette generator →

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