#7C1526#7C1526

#7C1526 is a dark, vivid red. Relative luminance 0.050; OKLCH L 38.5% C 0.136 H 18.2°. Best body text is #FFFFFF at 10.54:1 contrast (WCAG AA passes).

Color values

HEX#7C1526
RGBrgb(124, 21, 38)
HSLhsl(350, 71%, 28%)
HSVhsv(350, 83%, 49%)
CMYKcmyk(0%, 83.1%, 69.4%, 51.4%)
CIE-LABlab(26.63, 43.57, 18.04)
CIE-LCHlch(26.63, 47.16, 22.49°)
OKLaboklab(38.45% 0.1293 0.0426)
OKLCHoklch(38.45% 0.136 18.2)
XYZxyz(8.9312, 4.9627, 2.3210)
Luminance0.0496 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1526 #157C6B
analogous
#7C1559 #7C1526 #7C3715
triadic
#7C1526 #267C15 #15267C
tetradic
#7C1526 #597C15 #157C6B #37157C
square
#7C1526 #597C15 #157C6B #37157C
split-complementary
#7C1526 #157C37 #15597C
monochromatic
#1A0408 #480C16 #7C1526 #B01E36 #DC304C

Accessibility & contrast

On white

10.54
#7C1526 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#7C1526 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1526
10.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1526#FFFFFF#000000##FFFFFF
##7C15261.0010.541.9910.54
#FFFFFF10.541.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343126
Deuteranopia (green-blind)
#4E4723
Tritanopia (blue-blind)
#89001D
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #7c1526;
/* rgb */ color: rgb(124, 21, 38);
/* oklch */ color: oklch(38.5% 0.136 18.2);
Tailwind
colors: {
  custom: {
    50: '#a95e60',
    500: '#7c1526',
    950: '#000000',
  },
}
SCSS
$custom: #7c1526;
$custom-light: #a95e60;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1526",
  "rgb": {
    "r": 124,
    "g": 21,
    "b": 38
  },
  "hsl": {
    "h": 350.097,
    "s": 71.034,
    "l": 28.431
  },
  "oklch": {
    "l": 0.38452,
    "c": 0.13616,
    "h": 18.2
  },
  "luminance": 0.04961
}

Semantic roles & 50–950 ramp

primary
#7C1526
secondary
#3CB19E
accent
#EED03A
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110504
muted
#807979

Preview Lab

Preview with #7C1526

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

Preview Lab → · Contrast checker → · Palette generator →

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