#7B1E17#7B1E17

#7B1E17 is a dark, vivid red. Relative luminance 0.052; OKLCH L 38.8% C 0.129 H 28.8°. Best body text is #FFFFFF at 10.29:1 contrast (WCAG AA passes).

Color values

HEX#7B1E17
RGBrgb(123, 30, 23)
HSLhsl(4, 68%, 29%)
HSVhsv(4, 81%, 48%)
CMYKcmyk(0%, 75.6%, 81.3%, 51.8%)
CIE-LABlab(27.30, 39.44, 28.35)
CIE-LCHlch(27.30, 48.57, 35.71°)
OKLaboklab(38.85% 0.1128 0.062)
OKLCHoklch(38.85% 0.129 28.8)
XYZxyz(8.7883, 5.2027, 1.3519)
Luminance0.0520 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1E17 #17747B
analogous
#7B1742 #7B1E17 #7B5017
triadic
#7B1E17 #177B1E #1E177B
tetradic
#7B1E17 #427B17 #17747B #50177B
square
#7B1E17 #427B17 #17747B #50177B
split-complementary
#7B1E17 #177B50 #17427B
monochromatic
#1A0605 #47110D #7B1E17 #AF2B21 #D93F33

Accessibility & contrast

On white

10.29
#7B1E17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#7B1E17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1E17
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1E17#FFFFFF#000000##FFFFFF
##7B1E171.0010.292.0410.29
#FFFFFF10.291.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3415
Deuteranopia (green-blind)
#514813
Tritanopia (blue-blind)
#88001D
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7b1e17;
/* rgb */ color: rgb(123, 30, 23);
/* oklch */ color: oklch(38.8% 0.129 28.8);
Tailwind
colors: {
  custom: {
    50: '#a96155',
    500: '#7b1e17',
    950: '#000000',
  },
}
SCSS
$custom: #7b1e17;
$custom-light: #a96155;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1e17",
  "rgb": {
    "r": 123,
    "g": 30,
    "b": 23
  },
  "hsl": {
    "h": 4.2,
    "s": 68.493,
    "l": 28.627
  },
  "oklch": {
    "l": 0.38847,
    "c": 0.12873,
    "h": 28.8
  },
  "luminance": 0.05201
}

Semantic roles & 50–950 ramp

primary
#7B1E17
secondary
#3EA8B0
accent
#DFEB3C
background
#FBF6F4
surface
#F6EBE8
border
#D0C6C4
text
#110503
muted
#807A78

Preview Lab

Preview with #7B1E17

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

Preview Lab → · Contrast checker → · Palette generator →

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