#7B151F#7B151F

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

Color values

HEX#7B151F
RGBrgb(123, 21, 31)
HSLhsl(354, 71%, 28%)
HSVhsv(354, 83%, 48%)
CMYKcmyk(0%, 82.9%, 74.8%, 51.8%)
CIE-LABlab(26.30, 42.89, 22.22)
CIE-LCHlch(26.30, 48.31, 27.38°)
OKLaboklab(38.13% 0.1256 0.0508)
OKLCHoklch(38.13% 0.135 22)
XYZxyz(8.6849, 4.8476, 1.7744)
Luminance0.0485 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B151F #157B71
analogous
#7B1552 #7B151F #7B3E15
triadic
#7B151F #1F7B15 #151F7B
tetradic
#7B151F #527B15 #157B71 #3E157B
square
#7B151F #527B15 #157B71 #3E157B
split-complementary
#7B151F #157B3E #15527B
monochromatic
#1A0407 #470C12 #7B151F #AF1E2C #DB2F40

Accessibility & contrast

On white

10.66
#7B151F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B151F
10.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B151F#FFFFFF#000000##FFFFFF
##7B151F1.0010.661.9710.66
#FFFFFF10.661.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35301E
Deuteranopia (green-blind)
#4E461B
Tritanopia (blue-blind)
#88001A
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #7b151f;
/* rgb */ color: rgb(123, 21, 31);
/* oklch */ color: oklch(38.1% 0.135 22.0);
Tailwind
colors: {
  custom: {
    50: '#a95e5a',
    500: '#7b151f',
    950: '#000000',
  },
}
SCSS
$custom: #7b151f;
$custom-light: #a95e5a;
$custom-dark: #000000;
JSON
{
  "hex": "#7b151f",
  "rgb": {
    "r": 123,
    "g": 21,
    "b": 31
  },
  "hsl": {
    "h": 354.118,
    "s": 70.833,
    "l": 28.235
  },
  "oklch": {
    "l": 0.3813,
    "c": 0.13548,
    "h": 22
  },
  "luminance": 0.04846
}

Semantic roles & 50–950 ramp

primary
#7B151F
secondary
#3BB0A5
accent
#EEDC3A
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110503
muted
#807978

Preview Lab

Preview with #7B151F

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

Preview Lab → · Contrast checker → · Palette generator →

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