#7B1518#7B1518

#7B1518 is a dark, vivid red. Relative luminance 0.048; OKLCH L 38.0% C 0.136 H 25.4°. Best body text is #FFFFFF at 10.70:1 contrast (WCAG AA passes).

Color values

HEX#7B1518
RGBrgb(123, 21, 24)
HSLhsl(358, 71%, 28%)
HSVhsv(358, 83%, 48%)
CMYKcmyk(0%, 82.9%, 80.5%, 51.8%)
CIE-LABlab(26.20, 42.59, 26.58)
CIE-LCHlch(26.20, 50.21, 31.96°)
OKLaboklab(38.03% 0.123 0.0585)
OKLCHoklch(38.03% 0.136 25.4)
XYZxyz(8.6025, 4.8146, 1.3403)
Luminance0.0481 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1518 #157B78
analogous
#7B154B #7B1518 #7B4515
triadic
#7B1518 #187B15 #15187B
tetradic
#7B1518 #4B7B15 #157B78 #45157B
square
#7B1518 #4B7B15 #157B78 #45157B
split-complementary
#7B1518 #157B45 #154B7B
monochromatic
#1A0405 #470C0E #7B1518 #AF1E22 #DB2F34

Accessibility & contrast

On white

10.70
#7B1518 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#7B1518 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1518
10.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1518#FFFFFF#000000##FFFFFF
##7B15181.0010.701.9610.70
#FFFFFF10.701.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353017
Deuteranopia (green-blind)
#4E4614
Tritanopia (blue-blind)
#880018
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #7b1518;
/* rgb */ color: rgb(123, 21, 24);
/* oklch */ color: oklch(38.0% 0.136 25.4);
Tailwind
colors: {
  custom: {
    50: '#a95e55',
    500: '#7b1518',
    950: '#000000',
  },
}
SCSS
$custom: #7b1518;
$custom-light: #a95e55;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1518",
  "rgb": {
    "r": 123,
    "g": 21,
    "b": 24
  },
  "hsl": {
    "h": 358.235,
    "s": 70.833,
    "l": 28.235
  },
  "oklch": {
    "l": 0.38028,
    "c": 0.13616,
    "h": 25.4
  },
  "luminance": 0.04813
}

Semantic roles & 50–950 ramp

primary
#7B1518
secondary
#3BB0AD
accent
#EEE83A
background
#FBF5F4
surface
#F6E9E8
border
#D0C5C4
text
#110503
muted
#807978

Preview Lab

Preview with #7B1518

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

Preview Lab → · Contrast checker → · Palette generator →

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