#7B1B17#7B1B17

#7B1B17 is a dark, vivid red. Relative luminance 0.051; OKLCH L 38.5% C 0.131 H 27.7°. Best body text is #FFFFFF at 10.44:1 contrast (WCAG AA passes).

Color values

HEX#7B1B17
RGBrgb(123, 27, 23)
HSLhsl(2, 68%, 29%)
HSVhsv(2, 81%, 48%)
CMYKcmyk(0%, 78%, 81.3%, 51.8%)
CIE-LABlab(26.90, 40.56, 27.93)
CIE-LCHlch(26.90, 49.25, 34.55°)
OKLaboklab(38.55% 0.1164 0.0611)
OKLCHoklch(38.55% 0.131 27.7)
XYZxyz(8.7160, 5.0581, 1.3278)
Luminance0.0506 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1B17 #17777B
analogous
#7B1745 #7B1B17 #7B4D17
triadic
#7B1B17 #177B1B #1B177B
tetradic
#7B1B17 #457B17 #17777B #4D177B
square
#7B1B17 #457B17 #17777B #4D177B
split-complementary
#7B1B17 #177B4D #17457B
monochromatic
#1A0605 #47100D #7B1B17 #AF2621 #D93A33

Accessibility & contrast

On white

10.44
#7B1B17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#7B1B17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1B17
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1B17#FFFFFF#000000##FFFFFF
##7B1B171.0010.442.0110.44
#FFFFFF10.441.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383215
Deuteranopia (green-blind)
#504713
Tritanopia (blue-blind)
#88001B
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7b1b17;
/* rgb */ color: rgb(123, 27, 23);
/* oklch */ color: oklch(38.5% 0.131 27.7);
Tailwind
colors: {
  custom: {
    50: '#a96054',
    500: '#7b1b17',
    950: '#000000',
  },
}
SCSS
$custom: #7b1b17;
$custom-light: #a96054;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1b17",
  "rgb": {
    "r": 123,
    "g": 27,
    "b": 23
  },
  "hsl": {
    "h": 2.4,
    "s": 68.493,
    "l": 28.627
  },
  "oklch": {
    "l": 0.38545,
    "c": 0.13141,
    "h": 27.7
  },
  "luminance": 0.05057
}

Semantic roles & 50–950 ramp

primary
#7B1B17
secondary
#3EABB0
accent
#E4EB3C
background
#FBF5F4
surface
#F6EAE7
border
#D0C6C3
text
#110503
muted
#807978

Preview Lab

Preview with #7B1B17

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

Preview Lab → · Contrast checker → · Palette generator →

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