#7B1F2B#7B1F2B

#7B1F2B is a dark, vivid red. Relative luminance 0.054; OKLCH L 39.3% C 0.126 H 18.0°. Best body text is #FFFFFF at 10.13:1 contrast (WCAG AA passes).

Color values

HEX#7B1F2B
RGBrgb(123, 31, 43)
HSLhsl(352, 60%, 30%)
HSVhsv(352, 75%, 48%)
CMYKcmyk(0%, 74.8%, 65%, 51.8%)
CIE-LABlab(27.75, 40.10, 16.11)
CIE-LCHlch(27.75, 43.22, 21.89°)
OKLaboklab(39.28% 0.1194 0.0389)
OKLCHoklch(39.28% 0.126 18)
XYZxyz(9.0953, 5.3667, 2.8420)
Luminance0.0537 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1F2B #1F7B6F
analogous
#7B1F59 #7B1F2B #7B411F
triadic
#7B1F2B #2B7B1F #1F2B7B
tetradic
#7B1F2B #597B1F #1F7B6F #411F7B
square
#7B1F2B #597B1F #1F7B6F #411F7B
split-complementary
#7B1F2B #1F7B41 #1F597B
monochromatic
#190609 #4A131A #7B1F2B #AC2B3C #D04457

Accessibility & contrast

On white

10.13
#7B1F2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#7B1F2B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1F2B
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1F2B#FFFFFF#000000##FFFFFF
##7B1F2B1.0010.132.0710.13
#FFFFFF10.131.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38352B
Deuteranopia (green-blind)
#4F4928
Tritanopia (blue-blind)
#870324
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7b1f2b;
/* rgb */ color: rgb(123, 31, 43);
/* oklch */ color: oklch(39.3% 0.126 18.0);
Tailwind
colors: {
  custom: {
    50: '#a76264',
    500: '#7b1f2b',
    950: '#000000',
  },
}
SCSS
$custom: #7b1f2b;
$custom-light: #a76264;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1f2b",
  "rgb": {
    "r": 123,
    "g": 31,
    "b": 43
  },
  "hsl": {
    "h": 352.174,
    "s": 59.74,
    "l": 30.196
  },
  "oklch": {
    "l": 0.39282,
    "c": 0.1256,
    "h": 18
  },
  "luminance": 0.05365
}

Semantic roles & 50–950 ramp

primary
#7B1F2B
secondary
#48AEA1
accent
#E3CE45
background
#FBF6F5
surface
#F5EBEA
border
#CFC6C6
text
#110505
muted
#807A79

Preview Lab

Preview with #7B1F2B

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

Preview Lab → · Contrast checker → · Palette generator →

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