#7B2117#7B2117

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

Color values

HEX#7B2117
RGBrgb(123, 33, 23)
HSLhsl(6, 68%, 29%)
HSVhsv(6, 81%, 48%)
CMYKcmyk(0%, 73.2%, 81.3%, 51.8%)
CIE-LABlab(27.74, 38.23, 28.80)
CIE-LCHlch(27.74, 47.87, 36.99°)
OKLaboklab(39.17% 0.1091 0.063)
OKLCHoklch(39.17% 0.126 30)
XYZxyz(8.8679, 5.3619, 1.3785)
Luminance0.0536 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2117 #17717B
analogous
#7B173F #7B2117 #7B5317
triadic
#7B2117 #177B21 #21177B
tetradic
#7B2117 #3F7B17 #17717B #53177B
square
#7B2117 #3F7B17 #17717B #53177B
split-complementary
#7B2117 #177B53 #173F7B
monochromatic
#1A0705 #47130D #7B2117 #AF2F21 #D94433

Accessibility & contrast

On white

10.13
#7B2117 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#7B2117 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B2117
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2117#FFFFFF#000000##FFFFFF
##7B21171.0010.132.0710.13
#FFFFFF10.131.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3515
Deuteranopia (green-blind)
#524913
Tritanopia (blue-blind)
#88001F
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7b2117;
/* rgb */ color: rgb(123, 33, 23);
/* oklch */ color: oklch(39.2% 0.126 30.0);
Tailwind
colors: {
  custom: {
    50: '#a96355',
    500: '#7b2117',
    950: '#000000',
  },
}
SCSS
$custom: #7b2117;
$custom-light: #a96355;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2117",
  "rgb": {
    "r": 123,
    "g": 33,
    "b": 23
  },
  "hsl": {
    "h": 6,
    "s": 68.493,
    "l": 28.627
  },
  "oklch": {
    "l": 0.39174,
    "c": 0.12593,
    "h": 30
  },
  "luminance": 0.05361
}

Semantic roles & 50–950 ramp

primary
#7B2117
secondary
#3EA5B0
accent
#DAEB3C
background
#FBF6F4
surface
#F6EBE8
border
#D0C6C4
text
#110503
muted
#807A78

Preview Lab

Preview with #7B2117

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

Preview Lab → · Contrast checker → · Palette generator →

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