#7C1823#7C1823

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

Color values

HEX#7C1823
RGBrgb(124, 24, 35)
HSLhsl(353, 68%, 29%)
HSVhsv(353, 81%, 49%)
CMYKcmyk(0%, 80.6%, 71.8%, 51.4%)
CIE-LABlab(26.91, 42.47, 20.38)
CIE-LCHlch(26.91, 47.10, 25.64°)
OKLaboklab(38.64% 0.1251 0.0474)
OKLCHoklch(38.64% 0.134 20.8)
XYZxyz(8.9432, 5.0611, 2.0958)
Luminance0.0506 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1823 #187C71
analogous
#7C1855 #7C1823 #7C3F18
triadic
#7C1823 #237C18 #18237C
tetradic
#7C1823 #557C18 #187C71 #3F187C
square
#7C1823 #557C18 #187C71 #3F187C
split-complementary
#7C1823 #187C3F #18557C
monochromatic
#1A0507 #490E15 #7C1823 #AF2231 #D83648

Accessibility & contrast

On white

10.44
#7C1823 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#7C1823 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1823
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1823#FFFFFF#000000##FFFFFF
##7C18231.0010.442.0110.44
#FFFFFF10.441.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363223
Deuteranopia (green-blind)
#4F4720
Tritanopia (blue-blind)
#89001D
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7c1823;
/* rgb */ color: rgb(124, 24, 35);
/* oklch */ color: oklch(38.6% 0.134 20.8);
Tailwind
colors: {
  custom: {
    50: '#a95f5d',
    500: '#7c1823',
    950: '#000000',
  },
}
SCSS
$custom: #7c1823;
$custom-light: #a95f5d;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1823",
  "rgb": {
    "r": 124,
    "g": 24,
    "b": 35
  },
  "hsl": {
    "h": 353.4,
    "s": 67.568,
    "l": 29.02
  },
  "oklch": {
    "l": 0.38642,
    "c": 0.13374,
    "h": 20.8
  },
  "luminance": 0.0506
}

Semantic roles & 50–950 ramp

primary
#7C1823
secondary
#3FB1A4
accent
#EAD73D
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110504
muted
#807979

Preview Lab

Preview with #7C1823

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

Preview Lab → · Contrast checker → · Palette generator →

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