#7B1E2A#7B1E2A

#7B1E2A is a dark, vivid red. Relative luminance 0.053; OKLCH L 39.2% C 0.127 H 18.3°. Best body text is #FFFFFF at 10.19:1 contrast (WCAG AA passes).

Color values

HEX#7B1E2A
RGBrgb(123, 30, 42)
HSLhsl(352, 61%, 30%)
HSVhsv(352, 76%, 48%)
CMYKcmyk(0%, 75.6%, 65.9%, 51.8%)
CIE-LABlab(27.59, 40.42, 16.57)
CIE-LCHlch(27.59, 43.69, 22.29°)
OKLaboklab(39.16% 0.1203 0.0398)
OKLCHoklch(39.16% 0.127 18.3)
XYZxyz(9.0515, 5.3080, 2.7380)
Luminance0.0531 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1E2A #1E7B6F
analogous
#7B1E59 #7B1E2A #7B401E
triadic
#7B1E2A #2A7B1E #1E2A7B
tetradic
#7B1E2A #597B1E #1E7B6F #401E7B
square
#7B1E2A #597B1E #1E7B6F #401E7B
split-complementary
#7B1E2A #1E7B40 #1E597B
monochromatic
#190608 #4A1219 #7B1E2A #AC2A3B #D14255

Accessibility & contrast

On white

10.19
#7B1E2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#7B1E2A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1E2A
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1E2A#FFFFFF#000000##FFFFFF
##7B1E2A1.0010.192.0610.19
#FFFFFF10.191.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38352A
Deuteranopia (green-blind)
#4F4827
Tritanopia (blue-blind)
#870023
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7b1e2a;
/* rgb */ color: rgb(123, 30, 42);
/* oklch */ color: oklch(39.2% 0.127 18.3);
Tailwind
colors: {
  custom: {
    50: '#a76263',
    500: '#7b1e2a',
    950: '#000000',
  },
}
SCSS
$custom: #7b1e2a;
$custom-light: #a76263;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1e2a",
  "rgb": {
    "r": 123,
    "g": 30,
    "b": 42
  },
  "hsl": {
    "h": 352.258,
    "s": 60.784,
    "l": 30
  },
  "oklch": {
    "l": 0.39156,
    "c": 0.12667,
    "h": 18.3
  },
  "luminance": 0.05307
}

Semantic roles & 50–950 ramp

primary
#7B1E2A
secondary
#46AEA1
accent
#E4CF44
background
#FBF6F5
surface
#F6EBEA
border
#D0C6C6
text
#110505
muted
#807A79

Preview Lab

Preview with #7B1E2A

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

Preview Lab → · Contrast checker → · Palette generator →

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