#7B1F2D#7B1F2D

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

Color values

HEX#7B1F2D
RGBrgb(123, 31, 45)
HSLhsl(351, 60%, 30%)
HSVhsv(351, 75%, 48%)
CMYKcmyk(0%, 74.8%, 63.4%, 51.8%)
CIE-LABlab(27.80, 40.24, 14.84)
CIE-LCHlch(27.80, 42.89, 20.24°)
OKLaboklab(39.32% 0.1203 0.0361)
OKLCHoklch(39.32% 0.126 16.7)
XYZxyz(9.1329, 5.3817, 3.0400)
Luminance0.0538 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1F2D #1F7B6D
analogous
#7B1F5B #7B1F2D #7B3F1F
triadic
#7B1F2D #2D7B1F #1F2D7B
tetradic
#7B1F2D #5B7B1F #1F7B6D #3F1F7B
square
#7B1F2D #5B7B1F #1F7B6D #3F1F7B
split-complementary
#7B1F2D #1F7B3F #1F5B7B
monochromatic
#190609 #4A131B #7B1F2D #AC2B3F #D0445A

Accessibility & contrast

On white

10.12
#7B1F2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B1F2D
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1F2D#FFFFFF#000000##FFFFFF
##7B1F2D1.0010.122.0810.12
#FFFFFF10.121.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.121.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7b1f2d;
/* rgb */ color: rgb(123, 31, 45);
/* oklch */ color: oklch(39.3% 0.126 16.7);
Tailwind
colors: {
  custom: {
    50: '#a76265',
    500: '#7b1f2d',
    950: '#000000',
  },
}
SCSS
$custom: #7b1f2d;
$custom-light: #a76265;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1f2d",
  "rgb": {
    "r": 123,
    "g": 31,
    "b": 45
  },
  "hsl": {
    "h": 350.87,
    "s": 59.74,
    "l": 30.196
  },
  "oklch": {
    "l": 0.39325,
    "c": 0.12558,
    "h": 16.7
  },
  "luminance": 0.0538
}

Semantic roles & 50–950 ramp

primary
#7B1F2D
secondary
#48AE9F
accent
#E3CB45
background
#FAF6F6
surface
#F5EBEB
border
#CFC6C6
text
#110505
muted
#807A7A

Preview Lab

Preview with #7B1F2D

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

Preview Lab → · Contrast checker → · Palette generator →

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