#7C1E2F#7C1E2F

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

Color values

HEX#7C1E2F
RGBrgb(124, 30, 47)
HSLhsl(349, 61%, 30%)
HSVhsv(349, 76%, 49%)
CMYKcmyk(0%, 75.8%, 62.1%, 51.4%)
CIE-LABlab(27.90, 41.10, 13.68)
CIE-LCHlch(27.90, 43.31, 18.41°)
OKLaboklab(39.45% 0.1233 0.0336)
OKLCHoklch(39.45% 0.128 15.2)
XYZxyz(9.2905, 5.4202, 3.2458)
Luminance0.0542 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1E2F #1E7C6B
analogous
#7C1E5E #7C1E2F #7C3C1E
triadic
#7C1E2F #2F7C1E #1E2F7C
tetradic
#7C1E2F #5E7C1E #1E7C6B #3C1E7C
square
#7C1E2F #5E7C1E #1E7C6B #3C1E7C
split-complementary
#7C1E2F #1E7C3C #1E5E7C
monochromatic
#19060A #4B121C #7C1E2F #AD2A42 #D1435D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7C1E2F#FFFFFF#000000##FFFFFF
##7C1E2F1.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)
#37352F
Deuteranopia (green-blind)
#4F492D
Tritanopia (blue-blind)
#880225
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7c1e2f;
/* rgb */ color: rgb(124, 30, 47);
/* oklch */ color: oklch(39.5% 0.128 15.2);
Tailwind
colors: {
  custom: {
    50: '#a86267',
    500: '#7c1e2f',
    950: '#000000',
  },
}
SCSS
$custom: #7c1e2f;
$custom-light: #a86267;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1e2f",
  "rgb": {
    "r": 124,
    "g": 30,
    "b": 47
  },
  "hsl": {
    "h": 349.149,
    "s": 61.039,
    "l": 30.196
  },
  "oklch": {
    "l": 0.39453,
    "c": 0.12777,
    "h": 15.2
  },
  "luminance": 0.05419
}

Semantic roles & 50–950 ramp

primary
#7C1E2F
secondary
#46AF9C
accent
#E4C744
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110506
muted
#807A7A

Preview Lab

Preview with #7C1E2F

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

Preview Lab → · Contrast checker → · Palette generator →

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