#7C1A2D#7C1A2D

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

Color values

HEX#7C1A2D
RGBrgb(124, 26, 45)
HSLhsl(348, 65%, 29%)
HSVhsv(348, 79%, 49%)
CMYKcmyk(0%, 79%, 63.7%, 51.4%)
CIE-LABlab(27.34, 42.41, 14.27)
CIE-LCHlch(27.34, 44.74, 18.60°)
OKLaboklab(39.02% 0.1271 0.0348)
OKLCHoklch(39.02% 0.132 15.3)
XYZxyz(9.1562, 5.2147, 3.0065)
Luminance0.0521 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1A2D #1A7C69
analogous
#7C1A5E #7C1A2D #7C381A
triadic
#7C1A2D #2D7C1A #1A2D7C
tetradic
#7C1A2D #5E7C1A #1A7C69 #381A7C
square
#7C1A2D #5E7C1A #1A7C69 #381A7C
split-complementary
#7C1A2D #1A7C38 #1A5E7C
monochromatic
#190509 #490F1B #7C1A2D #AF253F #D63B59

Accessibility & contrast

On white

10.28
#7C1A2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7C1A2D
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1A2D#FFFFFF#000000##FFFFFF
##7C1A2D1.0010.282.0410.28
#FFFFFF10.281.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.281.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7c1a2d;
/* rgb */ color: rgb(124, 26, 45);
/* oklch */ color: oklch(39.0% 0.132 15.3);
Tailwind
colors: {
  custom: {
    50: '#a86065',
    500: '#7c1a2d',
    950: '#000000',
  },
}
SCSS
$custom: #7c1a2d;
$custom-light: #a86065;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1a2d",
  "rgb": {
    "r": 124,
    "g": 26,
    "b": 45
  },
  "hsl": {
    "h": 348.367,
    "s": 65.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.39022,
    "c": 0.13177,
    "h": 15.3
  },
  "luminance": 0.05213
}

Semantic roles & 50–950 ramp

primary
#7C1A2D
secondary
#42B09B
accent
#E8C840
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110505
muted
#807A7A

Preview Lab

Preview with #7C1A2D

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

Preview Lab → · Contrast checker → · Palette generator →

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