#7B151B#7B151B

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

Color values

HEX#7B151B
RGBrgb(123, 21, 27)
HSLhsl(356, 71%, 28%)
HSVhsv(356, 83%, 48%)
CMYKcmyk(0%, 82.9%, 78%, 51.8%)
CIE-LABlab(26.24, 42.71, 24.73)
CIE-LCHlch(26.24, 49.36, 30.07°)
OKLaboklab(38.07% 0.1241 0.0553)
OKLCHoklch(38.07% 0.136 24)
XYZxyz(8.6354, 4.8278, 1.5139)
Luminance0.0483 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B151B #157B75
analogous
#7B154E #7B151B #7B4215
triadic
#7B151B #1B7B15 #151B7B
tetradic
#7B151B #4E7B15 #157B75 #42157B
square
#7B151B #4E7B15 #157B75 #42157B
split-complementary
#7B151B #157B42 #154E7B
monochromatic
#1A0406 #470C10 #7B151B #AF1E26 #DB2F39

Accessibility & contrast

On white

10.69
#7B151B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#7B151B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B151B
10.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B151B#FFFFFF#000000##FFFFFF
##7B151B1.0010.691.9710.69
#FFFFFF10.691.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35301A
Deuteranopia (green-blind)
#4E4617
Tritanopia (blue-blind)
#880019
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #7b151b;
/* rgb */ color: rgb(123, 21, 27);
/* oklch */ color: oklch(38.1% 0.136 24.0);
Tailwind
colors: {
  custom: {
    50: '#a95e57',
    500: '#7b151b',
    950: '#000000',
  },
}
SCSS
$custom: #7b151b;
$custom-light: #a95e57;
$custom-dark: #000000;
JSON
{
  "hex": "#7b151b",
  "rgb": {
    "r": 123,
    "g": 21,
    "b": 27
  },
  "hsl": {
    "h": 356.471,
    "s": 70.833,
    "l": 28.235
  },
  "oklch": {
    "l": 0.38069,
    "c": 0.13584,
    "h": 24
  },
  "luminance": 0.04826
}

Semantic roles & 50–950 ramp

primary
#7B151B
secondary
#3BB0A9
accent
#EEE33A
background
#FBF5F5
surface
#F6E9E9
border
#D0C5C5
text
#110503
muted
#807978

Preview Lab

Preview with #7B151B

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

Preview Lab → · Contrast checker → · Palette generator →

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