#7B1E23#7B1E23

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

Color values

HEX#7B1E23
RGBrgb(123, 30, 35)
HSLhsl(357, 61%, 30%)
HSVhsv(357, 76%, 48%)
CMYKcmyk(0%, 75.6%, 71.5%, 51.8%)
CIE-LABlab(27.47, 40.00, 21.02)
CIE-LCHlch(27.47, 45.18, 27.72°)
OKLaboklab(39.02% 0.1173 0.0489)
OKLCHoklch(39.02% 0.127 22.6)
XYZxyz(8.9370, 5.2622, 2.1349)
Luminance0.0526 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1E23 #1E7B76
analogous
#7B1E52 #7B1E23 #7B471E
triadic
#7B1E23 #237B1E #1E237B
tetradic
#7B1E23 #527B1E #1E7B76 #471E7B
square
#7B1E23 #527B1E #1E7B76 #471E7B
split-complementary
#7B1E23 #1E7B47 #1E527B
monochromatic
#190607 #4A1215 #7B1E23 #AC2A31 #D1424A

Accessibility & contrast

On white

10.23
#7B1E23 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#7B1E23 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1E23
10.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1E23#FFFFFF#000000##FFFFFF
##7B1E231.0010.232.0510.23
#FFFFFF10.231.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393422
Deuteranopia (green-blind)
#504820
Tritanopia (blue-blind)
#880021
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7b1e23;
/* rgb */ color: rgb(123, 30, 35);
/* oklch */ color: oklch(39.0% 0.127 22.6);
Tailwind
colors: {
  custom: {
    50: '#a8625d',
    500: '#7b1e23',
    950: '#000000',
  },
}
SCSS
$custom: #7b1e23;
$custom-light: #a8625d;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1e23",
  "rgb": {
    "r": 123,
    "g": 30,
    "b": 35
  },
  "hsl": {
    "h": 356.774,
    "s": 60.784,
    "l": 30
  },
  "oklch": {
    "l": 0.39022,
    "c": 0.1271,
    "h": 22.6
  },
  "luminance": 0.05261
}

Semantic roles & 50–950 ramp

primary
#7B1E23
secondary
#46AEA9
accent
#E4DB44
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110504
muted
#807A79

Preview Lab

Preview with #7B1E23

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

Preview Lab → · Contrast checker → · Palette generator →

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