#7C1F2D#7C1F2D

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

Color values

HEX#7C1F2D
RGBrgb(124, 31, 45)
HSLhsl(351, 60%, 30%)
HSVhsv(351, 75%, 49%)
CMYKcmyk(0%, 75%, 63.7%, 51.4%)
CIE-LABlab(28.00, 40.57, 15.14)
CIE-LCHlch(28.00, 43.30, 20.46°)
OKLaboklab(39.51% 0.1212 0.0368)
OKLCHoklch(39.51% 0.127 16.9)
XYZxyz(9.2768, 5.4559, 3.0467)
Luminance0.0546 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1F2D #1F7C6E
analogous
#7C1F5B #7C1F2D #7C401F
triadic
#7C1F2D #2D7C1F #1F2D7C
tetradic
#7C1F2D #5B7C1F #1F7C6E #401F7C
square
#7C1F2D #5B7C1F #1F7C6E #401F7C
split-complementary
#7C1F2D #1F7C40 #1F5B7C
monochromatic
#1A0709 #4B131B #7C1F2D #AD2B3F #D0455A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7C1F2D#FFFFFF#000000##FFFFFF
##7C1F2D1.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)
#38362D
Deuteranopia (green-blind)
#50492A
Tritanopia (blue-blind)
#880325
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7c1f2d;
/* rgb */ color: rgb(124, 31, 45);
/* oklch */ color: oklch(39.5% 0.127 16.9);
Tailwind
colors: {
  custom: {
    50: '#a86265',
    500: '#7c1f2d',
    950: '#000000',
  },
}
SCSS
$custom: #7c1f2d;
$custom-light: #a86265;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1f2d",
  "rgb": {
    "r": 124,
    "g": 31,
    "b": 45
  },
  "hsl": {
    "h": 350.968,
    "s": 60,
    "l": 30.392
  },
  "oklch": {
    "l": 0.39511,
    "c": 0.12667,
    "h": 16.9
  },
  "luminance": 0.05455
}

Semantic roles & 50–950 ramp

primary
#7C1F2D
secondary
#48AFA0
accent
#E3CB45
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110605
muted
#807A7A

Preview Lab

Preview with #7C1F2D

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

Preview Lab → · Contrast checker → · Palette generator →

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