#7C1F28#7C1F28

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

Color values

HEX#7C1F28
RGBrgb(124, 31, 40)
HSLhsl(354, 60%, 30%)
HSVhsv(354, 75%, 49%)
CMYKcmyk(0%, 75%, 67.7%, 51.4%)
CIE-LABlab(27.90, 40.24, 18.32)
CIE-LCHlch(27.90, 44.21, 24.48°)
OKLaboklab(39.41% 0.1191 0.0435)
OKLCHoklch(39.41% 0.127 20.1)
XYZxyz(9.1861, 5.4196, 2.5695)
Luminance0.0542 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1F28 #1F7C73
analogous
#7C1F56 #7C1F28 #7C451F
triadic
#7C1F28 #287C1F #1F287C
tetradic
#7C1F28 #567C1F #1F7C73 #451F7C
square
#7C1F28 #567C1F #1F7C73 #451F7C
split-complementary
#7C1F28 #1F7C45 #1F567C
monochromatic
#1A0708 #4B1318 #7C1F28 #AD2B38 #D04552

Accessibility & contrast

On white

10.08
#7C1F28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#7C1F28 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1F28
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1F28#FFFFFF#000000##FFFFFF
##7C1F281.0010.082.0810.08
#FFFFFF10.081.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393528
Deuteranopia (green-blind)
#504925
Tritanopia (blue-blind)
#890023
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7c1f28;
/* rgb */ color: rgb(124, 31, 40);
/* oklch */ color: oklch(39.4% 0.127 20.1);
Tailwind
colors: {
  custom: {
    50: '#a86261',
    500: '#7c1f28',
    950: '#000000',
  },
}
SCSS
$custom: #7c1f28;
$custom-light: #a86261;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1f28",
  "rgb": {
    "r": 124,
    "g": 31,
    "b": 40
  },
  "hsl": {
    "h": 354.194,
    "s": 60,
    "l": 30.392
  },
  "oklch": {
    "l": 0.39406,
    "c": 0.1268,
    "h": 20.1
  },
  "luminance": 0.05418
}

Semantic roles & 50–950 ramp

primary
#7C1F28
secondary
#48AFA5
accent
#E3D445
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110505
muted
#807A79

Preview Lab

Preview with #7C1F28

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

Preview Lab → · Contrast checker → · Palette generator →

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