#7C1F29#7C1F29

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

Color values

HEX#7C1F29
RGBrgb(124, 31, 41)
HSLhsl(354, 60%, 30%)
HSVhsv(354, 75%, 49%)
CMYKcmyk(0%, 75%, 66.9%, 51.4%)
CIE-LABlab(27.92, 40.30, 17.68)
CIE-LCHlch(27.92, 44.01, 23.69°)
OKLaboklab(39.43% 0.1195 0.0422)
OKLCHoklch(39.43% 0.127 19.5)
XYZxyz(9.2034, 5.4265, 2.6602)
Luminance0.0542 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1F29 #1F7C72
analogous
#7C1F58 #7C1F29 #7C431F
triadic
#7C1F29 #297C1F #1F297C
tetradic
#7C1F29 #587C1F #1F7C72 #431F7C
square
#7C1F29 #587C1F #1F7C72 #431F7C
split-complementary
#7C1F29 #1F7C43 #1F587C
monochromatic
#1A0709 #4B1319 #7C1F29 #AD2B39 #D04554

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7C1F29#FFFFFF#000000##FFFFFF
##7C1F291.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)
#393529
Deuteranopia (green-blind)
#504926
Tritanopia (blue-blind)
#880123
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7c1f29;
/* rgb */ color: rgb(124, 31, 41);
/* oklch */ color: oklch(39.4% 0.127 19.5);
Tailwind
colors: {
  custom: {
    50: '#a86262',
    500: '#7c1f29',
    950: '#000000',
  },
}
SCSS
$custom: #7c1f29;
$custom-light: #a86262;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1f29",
  "rgb": {
    "r": 124,
    "g": 31,
    "b": 41
  },
  "hsl": {
    "h": 353.548,
    "s": 60,
    "l": 30.392
  },
  "oklch": {
    "l": 0.39426,
    "c": 0.12675,
    "h": 19.5
  },
  "luminance": 0.05425
}

Semantic roles & 50–950 ramp

primary
#7C1F29
secondary
#48AFA4
accent
#E3D245
background
#FBF6F5
surface
#F6EBEA
border
#D0C6C6
text
#110505
muted
#807A79

Preview Lab

Preview with #7C1F29

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

Preview Lab → · Contrast checker → · Palette generator →

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