#7C1E2D#7C1E2D

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

Color values

HEX#7C1E2D
RGBrgb(124, 30, 45)
HSLhsl(350, 61%, 30%)
HSVhsv(350, 76%, 49%)
CMYKcmyk(0%, 75.8%, 63.7%, 51.4%)
CIE-LABlab(27.86, 40.96, 14.95)
CIE-LCHlch(27.86, 43.60, 20.06°)
OKLaboklab(39.41% 0.1224 0.0364)
OKLCHoklch(39.41% 0.128 16.5)
XYZxyz(9.2510, 5.4044, 3.0381)
Luminance0.0540 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1E2D #1E7C6D
analogous
#7C1E5C #7C1E2D #7C3E1E
triadic
#7C1E2D #2D7C1E #1E2D7C
tetradic
#7C1E2D #5C7C1E #1E7C6D #3E1E7C
square
#7C1E2D #5C7C1E #1E7C6D #3E1E7C
split-complementary
#7C1E2D #1E7C3E #1E5C7C
monochromatic
#190609 #4B121B #7C1E2D #AD2A3F #D1435A

Accessibility & contrast

On white

10.09
#7C1E2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7C1E2D
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1E2D#FFFFFF#000000##FFFFFF
##7C1E2D1.0010.092.0810.09
#FFFFFF10.091.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38352D
Deuteranopia (green-blind)
#50492A
Tritanopia (blue-blind)
#880124
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7c1e2d;
/* rgb */ color: rgb(124, 30, 45);
/* oklch */ color: oklch(39.4% 0.128 16.5);
Tailwind
colors: {
  custom: {
    50: '#a86265',
    500: '#7c1e2d',
    950: '#000000',
  },
}
SCSS
$custom: #7c1e2d;
$custom-light: #a86265;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1e2d",
  "rgb": {
    "r": 124,
    "g": 30,
    "b": 45
  },
  "hsl": {
    "h": 350.426,
    "s": 61.039,
    "l": 30.196
  },
  "oklch": {
    "l": 0.39408,
    "c": 0.12772,
    "h": 16.5
  },
  "luminance": 0.05403
}

Semantic roles & 50–950 ramp

primary
#7C1E2D
secondary
#46AF9F
accent
#E4CB44
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110505
muted
#807A7A

Preview Lab

Preview with #7C1E2D

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

Preview Lab → · Contrast checker → · Palette generator →

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