#7C1F2C#7C1F2C

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

Color values

HEX#7C1F2C
RGBrgb(124, 31, 44)
HSLhsl(352, 60%, 30%)
HSVhsv(352, 75%, 49%)
CMYKcmyk(0%, 75%, 64.5%, 51.4%)
CIE-LABlab(27.98, 40.50, 15.77)
CIE-LCHlch(27.98, 43.47, 21.28°)
OKLaboklab(39.49% 0.1208 0.0382)
OKLCHoklch(39.49% 0.127 17.5)
XYZxyz(9.2577, 5.4482, 2.9465)
Luminance0.0545 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1F2C #1F7C6F
analogous
#7C1F5A #7C1F2C #7C401F
triadic
#7C1F2C #2C7C1F #1F2C7C
tetradic
#7C1F2C #5A7C1F #1F7C6F #401F7C
square
#7C1F2C #5A7C1F #1F7C6F #401F7C
split-complementary
#7C1F2C #1F7C40 #1F5A7C
monochromatic
#1A0709 #4B131B #7C1F2C #AD2B3D #D04558

Accessibility & contrast

On white

10.05
#7C1F2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7C1F2C
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1F2C#FFFFFF#000000##FFFFFF
##7C1F2C1.0010.052.0910.05
#FFFFFF10.051.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38362C
Deuteranopia (green-blind)
#504929
Tritanopia (blue-blind)
#880225
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7c1f2c;
/* rgb */ color: rgb(124, 31, 44);
/* oklch */ color: oklch(39.5% 0.127 17.5);
Tailwind
colors: {
  custom: {
    50: '#a86264',
    500: '#7c1f2c',
    950: '#000000',
  },
}
SCSS
$custom: #7c1f2c;
$custom-light: #a86264;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1f2c",
  "rgb": {
    "r": 124,
    "g": 31,
    "b": 44
  },
  "hsl": {
    "h": 351.613,
    "s": 60,
    "l": 30.392
  },
  "oklch": {
    "l": 0.39489,
    "c": 0.12666,
    "h": 17.5
  },
  "luminance": 0.05447
}

Semantic roles & 50–950 ramp

primary
#7C1F2C
secondary
#48AFA1
accent
#E3CD45
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110605
muted
#807A7A

Preview Lab

Preview with #7C1F2C

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

Preview Lab → · Contrast checker → · Palette generator →

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