#7C1927#7C1927

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

Color values

HEX#7C1927
RGBrgb(124, 25, 39)
HSLhsl(352, 66%, 29%)
HSVhsv(352, 80%, 49%)
CMYKcmyk(0%, 79.8%, 68.5%, 51.4%)
CIE-LABlab(27.10, 42.36, 17.97)
CIE-LCHlch(27.10, 46.01, 22.98°)
OKLaboklab(38.81% 0.1257 0.0426)
OKLCHoklch(38.81% 0.133 18.7)
XYZxyz(9.0270, 5.1282, 2.4336)
Luminance0.0513 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1927 #197C6E
analogous
#7C1959 #7C1927 #7C3D19
triadic
#7C1927 #277C19 #19277C
tetradic
#7C1927 #597C19 #197C6E #3D197C
square
#7C1927 #597C19 #197C6E #3D197C
split-complementary
#7C1927 #197C3D #19597C
monochromatic
#190508 #490F17 #7C1927 #AF2337 #D7384F

Accessibility & contrast

On white

10.37
#7C1927 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7C1927
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1927#FFFFFF#000000##FFFFFF
##7C19271.0010.372.0310.37
#FFFFFF10.371.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.371.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7c1927;
/* rgb */ color: rgb(124, 25, 39);
/* oklch */ color: oklch(38.8% 0.133 18.7);
Tailwind
colors: {
  custom: {
    50: '#a96060',
    500: '#7c1927',
    950: '#000000',
  },
}
SCSS
$custom: #7c1927;
$custom-light: #a96060;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1927",
  "rgb": {
    "r": 124,
    "g": 25,
    "b": 39
  },
  "hsl": {
    "h": 351.515,
    "s": 66.443,
    "l": 29.216
  },
  "oklch": {
    "l": 0.38805,
    "c": 0.13268,
    "h": 18.7
  },
  "luminance": 0.05127
}

Semantic roles & 50–950 ramp

primary
#7C1927
secondary
#40B0A1
accent
#E9D13E
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110505
muted
#807979

Preview Lab

Preview with #7C1927

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

Preview Lab → · Contrast checker → · Palette generator →

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