#7C1828#7C1828

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

Color values

HEX#7C1828
RGBrgb(124, 24, 40)
HSLhsl(350, 68%, 29%)
HSVhsv(350, 81%, 49%)
CMYKcmyk(0%, 80.6%, 67.7%, 51.4%)
CIE-LABlab(27.00, 42.75, 17.18)
CIE-LCHlch(27.00, 46.07, 21.89°)
OKLaboklab(38.74% 0.1271 0.0409)
OKLCHoklch(38.74% 0.134 17.8)
XYZxyz(9.0228, 5.0929, 2.5150)
Luminance0.0509 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1828 #187C6C
analogous
#7C185A #7C1828 #7C3A18
triadic
#7C1828 #287C18 #18287C
tetradic
#7C1828 #5A7C18 #187C6C #3A187C
square
#7C1828 #5A7C18 #187C6C #3A187C
split-complementary
#7C1828 #187C3A #185A7C
monochromatic
#1A0508 #490E17 #7C1828 #AF2239 #D83650

Accessibility & contrast

On white

10.40
#7C1828 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7C1828
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1828#FFFFFF#000000##FFFFFF
##7C18281.0010.402.0210.40
#FFFFFF10.401.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.401.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7c1828;
/* rgb */ color: rgb(124, 24, 40);
/* oklch */ color: oklch(38.7% 0.134 17.8);
Tailwind
colors: {
  custom: {
    50: '#a95f61',
    500: '#7c1828',
    950: '#000000',
  },
}
SCSS
$custom: #7c1828;
$custom-light: #a95f61;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1828",
  "rgb": {
    "r": 124,
    "g": 24,
    "b": 40
  },
  "hsl": {
    "h": 350.4,
    "s": 67.568,
    "l": 29.02
  },
  "oklch": {
    "l": 0.38738,
    "c": 0.13357,
    "h": 17.8
  },
  "luminance": 0.05092
}

Semantic roles & 50–950 ramp

primary
#7C1828
secondary
#3FB19E
accent
#EACF3D
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110505
muted
#807979

Preview Lab

Preview with #7C1828

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

Preview Lab → · Contrast checker → · Palette generator →

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