#7C1928#7C1928

#7C1928 is a dark, vivid red. Relative luminance 0.051; OKLCH L 38.8% C 0.133 H 18.1°. Best body text is #FFFFFF at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#7C1928
RGBrgb(124, 25, 40)
HSLhsl(351, 66%, 29%)
HSVhsv(351, 80%, 49%)
CMYKcmyk(0%, 79.8%, 67.7%, 51.4%)
CIE-LABlab(27.12, 42.42, 17.33)
CIE-LCHlch(27.12, 45.82, 22.22°)
OKLaboklab(38.82% 0.1261 0.0413)
OKLCHoklch(38.82% 0.133 18.1)
XYZxyz(9.0438, 5.1349, 2.5220)
Luminance0.0513 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1928 #197C6D
analogous
#7C195A #7C1928 #7C3C19
triadic
#7C1928 #287C19 #19287C
tetradic
#7C1928 #5A7C19 #197C6D #3C197C
square
#7C1928 #5A7C19 #197C6D #3C197C
split-complementary
#7C1928 #197C3C #195A7C
monochromatic
#190508 #490F18 #7C1928 #AF2338 #D73850

Accessibility & contrast

On white

10.36
#7C1928 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#7C1928 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1928
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1928#FFFFFF#000000##FFFFFF
##7C19281.0010.362.0310.36
#FFFFFF10.361.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363328
Deuteranopia (green-blind)
#4F4825
Tritanopia (blue-blind)
#890020
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7c1928;
/* rgb */ color: rgb(124, 25, 40);
/* oklch */ color: oklch(38.8% 0.133 18.1);
Tailwind
colors: {
  custom: {
    50: '#a96061',
    500: '#7c1928',
    950: '#000000',
  },
}
SCSS
$custom: #7c1928;
$custom-light: #a96061;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1928",
  "rgb": {
    "r": 124,
    "g": 25,
    "b": 40
  },
  "hsl": {
    "h": 350.909,
    "s": 66.443,
    "l": 29.216
  },
  "oklch": {
    "l": 0.38825,
    "c": 0.13266,
    "h": 18.1
  },
  "luminance": 0.05134
}

Semantic roles & 50–950 ramp

primary
#7C1928
secondary
#40B09F
accent
#E9CF3E
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110505
muted
#807979

Preview Lab

Preview with #7C1928

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

Preview Lab → · Contrast checker → · Palette generator →

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