#7C1827#7C1827

#7C1827 is a dark, vivid red. Relative luminance 0.051; OKLCH L 38.7% C 0.134 H 18.4°. Best body text is #FFFFFF at 10.41:1 contrast (WCAG AA passes).

Color values

HEX#7C1827
RGBrgb(124, 24, 39)
HSLhsl(351, 68%, 29%)
HSVhsv(351, 81%, 49%)
CMYKcmyk(0%, 80.6%, 68.5%, 51.4%)
CIE-LABlab(26.98, 42.69, 17.82)
CIE-LCHlch(26.98, 46.26, 22.65°)
OKLaboklab(38.72% 0.1267 0.0423)
OKLCHoklch(38.72% 0.134 18.4)
XYZxyz(9.0060, 5.0862, 2.4266)
Luminance0.0508 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1827 #187C6D
analogous
#7C1859 #7C1827 #7C3B18
triadic
#7C1827 #277C18 #18277C
tetradic
#7C1827 #597C18 #187C6D #3B187C
square
#7C1827 #597C18 #187C6D #3B187C
split-complementary
#7C1827 #187C3B #18597C
monochromatic
#1A0508 #490E17 #7C1827 #AF2237 #D8364F

Accessibility & contrast

On white

10.41
#7C1827 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#7C1827 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1827
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1827#FFFFFF#000000##FFFFFF
##7C18271.0010.412.0210.41
#FFFFFF10.411.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353227
Deuteranopia (green-blind)
#4F4724
Tritanopia (blue-blind)
#89001F
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7c1827;
/* rgb */ color: rgb(124, 24, 39);
/* oklch */ color: oklch(38.7% 0.134 18.4);
Tailwind
colors: {
  custom: {
    50: '#a95f60',
    500: '#7c1827',
    950: '#000000',
  },
}
SCSS
$custom: #7c1827;
$custom-light: #a95f60;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1827",
  "rgb": {
    "r": 124,
    "g": 24,
    "b": 39
  },
  "hsl": {
    "h": 351,
    "s": 67.568,
    "l": 29.02
  },
  "oklch": {
    "l": 0.38718,
    "c": 0.13358,
    "h": 18.4
  },
  "luminance": 0.05085
}

Semantic roles & 50–950 ramp

primary
#7C1827
secondary
#3FB1A0
accent
#EAD03D
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110505
muted
#807979

Preview Lab

Preview with #7C1827

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

Preview Lab → · Contrast checker → · Palette generator →

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