#7C1A2E#7C1A2E

#7C1A2E is a dark, vivid red. Relative luminance 0.052; OKLCH L 39.0% C 0.132 H 14.7°. Best body text is #FFFFFF at 10.27:1 contrast (WCAG AA passes).

Color values

HEX#7C1A2E
RGBrgb(124, 26, 46)
HSLhsl(348, 65%, 29%)
HSVhsv(348, 79%, 49%)
CMYKcmyk(0%, 79%, 62.9%, 51.4%)
CIE-LABlab(27.36, 42.48, 13.63)
CIE-LCHlch(27.36, 44.61, 17.79°)
OKLaboklab(39.05% 0.1275 0.0334)
OKLCHoklch(39.05% 0.132 14.7)
XYZxyz(9.1757, 5.2225, 3.1091)
Luminance0.0522 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1A2E #1A7C68
analogous
#7C1A5F #7C1A2E #7C371A
triadic
#7C1A2E #2E7C1A #1A2E7C
tetradic
#7C1A2E #5F7C1A #1A7C68 #371A7C
square
#7C1A2E #5F7C1A #1A7C68 #371A7C
split-complementary
#7C1A2E #1A7C37 #1A5F7C
monochromatic
#190509 #490F1B #7C1A2E #AF2541 #D63B5A

Accessibility & contrast

On white

10.27
#7C1A2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#7C1A2E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1A2E
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1A2E#FFFFFF#000000##FFFFFF
##7C1A2E1.0010.272.0410.27
#FFFFFF10.271.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35342E
Deuteranopia (green-blind)
#4E482B
Tritanopia (blue-blind)
#880022
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7c1a2e;
/* rgb */ color: rgb(124, 26, 46);
/* oklch */ color: oklch(39.0% 0.132 14.7);
Tailwind
colors: {
  custom: {
    50: '#a86066',
    500: '#7c1a2e',
    950: '#000000',
  },
}
SCSS
$custom: #7c1a2e;
$custom-light: #a86066;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1a2e",
  "rgb": {
    "r": 124,
    "g": 26,
    "b": 46
  },
  "hsl": {
    "h": 347.755,
    "s": 65.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.39045,
    "c": 0.13181,
    "h": 14.7
  },
  "luminance": 0.05221
}

Semantic roles & 50–950 ramp

primary
#7C1A2E
secondary
#42B09A
accent
#E8C640
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110505
muted
#807A7A

Preview Lab

Preview with #7C1A2E

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

Preview Lab → · Contrast checker → · Palette generator →

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