#7B1524#7B1524

#7B1524 is a dark, vivid red. Relative luminance 0.049; OKLCH L 38.2% C 0.135 H 19.3°. Best body text is #FFFFFF at 10.63:1 contrast (WCAG AA passes).

Color values

HEX#7B1524
RGBrgb(123, 21, 36)
HSLhsl(351, 71%, 28%)
HSVhsv(351, 83%, 48%)
CMYKcmyk(0%, 82.9%, 70.7%, 51.8%)
CIE-LABlab(26.38, 43.15, 19.02)
CIE-LCHlch(26.38, 47.16, 23.79°)
OKLaboklab(38.22% 0.1276 0.0446)
OKLCHoklch(38.22% 0.135 19.3)
XYZxyz(8.7560, 4.8760, 2.1488)
Luminance0.0488 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1524 #157B6C
analogous
#7B1557 #7B1524 #7B3915
triadic
#7B1524 #247B15 #15247B
tetradic
#7B1524 #577B15 #157B6C #39157B
square
#7B1524 #577B15 #157B6C #39157B
split-complementary
#7B1524 #157B39 #15577B
monochromatic
#1A0408 #470C15 #7B1524 #AF1E33 #DB2F48

Accessibility & contrast

On white

10.63
#7B1524 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#7B1524 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1524
10.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1524#FFFFFF#000000##FFFFFF
##7B15241.0010.631.9810.63
#FFFFFF10.631.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343124
Deuteranopia (green-blind)
#4D4621
Tritanopia (blue-blind)
#88001C
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #7b1524;
/* rgb */ color: rgb(123, 21, 36);
/* oklch */ color: oklch(38.2% 0.135 19.3);
Tailwind
colors: {
  custom: {
    50: '#a85e5e',
    500: '#7b1524',
    950: '#000000',
  },
}
SCSS
$custom: #7b1524;
$custom-light: #a85e5e;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1524",
  "rgb": {
    "r": 123,
    "g": 21,
    "b": 36
  },
  "hsl": {
    "h": 351.176,
    "s": 70.833,
    "l": 28.235
  },
  "oklch": {
    "l": 0.38218,
    "c": 0.1352,
    "h": 19.3
  },
  "luminance": 0.04875
}

Semantic roles & 50–950 ramp

primary
#7B1524
secondary
#3BB09F
accent
#EED33A
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110504
muted
#807979

Preview Lab

Preview with #7B1524

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

Preview Lab → · Contrast checker → · Palette generator →

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