#7B1F2E#7B1F2E

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

Color values

HEX#7B1F2E
RGBrgb(123, 31, 46)
HSLhsl(350, 60%, 30%)
HSVhsv(350, 75%, 48%)
CMYKcmyk(0%, 74.8%, 62.6%, 51.8%)
CIE-LABlab(27.82, 40.31, 14.20)
CIE-LCHlch(27.82, 42.74, 19.40°)
OKLaboklab(39.35% 0.1207 0.0347)
OKLCHoklch(39.35% 0.126 16)
XYZxyz(9.1524, 5.3895, 3.1426)
Luminance0.0539 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1F2E #1F7B6C
analogous
#7B1F5C #7B1F2E #7B3E1F
triadic
#7B1F2E #2E7B1F #1F2E7B
tetradic
#7B1F2E #5C7B1F #1F7B6C #3E1F7B
square
#7B1F2E #5C7B1F #1F7B6C #3E1F7B
split-complementary
#7B1F2E #1F7B3E #1F5C7B
monochromatic
#190609 #4A131C #7B1F2E #AC2B40 #D0445B

Accessibility & contrast

On white

10.11
#7B1F2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#7B1F2E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1F2E
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1F2E#FFFFFF#000000##FFFFFF
##7B1F2E1.0010.112.0810.11
#FFFFFF10.111.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38352E
Deuteranopia (green-blind)
#4F492C
Tritanopia (blue-blind)
#870425
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7b1f2e;
/* rgb */ color: rgb(123, 31, 46);
/* oklch */ color: oklch(39.3% 0.126 16.0);
Tailwind
colors: {
  custom: {
    50: '#a76266',
    500: '#7b1f2e',
    950: '#000000',
  },
}
SCSS
$custom: #7b1f2e;
$custom-light: #a76266;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1f2e",
  "rgb": {
    "r": 123,
    "g": 31,
    "b": 46
  },
  "hsl": {
    "h": 350.217,
    "s": 59.74,
    "l": 30.196
  },
  "oklch": {
    "l": 0.39348,
    "c": 0.1256,
    "h": 16
  },
  "luminance": 0.05388
}

Semantic roles & 50–950 ramp

primary
#7B1F2E
secondary
#48AE9E
accent
#E3C945
background
#FAF6F6
surface
#F5EBEB
border
#CFC6C6
text
#110505
muted
#807A7A

Preview Lab

Preview with #7B1F2E

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

Preview Lab → · Contrast checker → · Palette generator →

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