#7B1417#7B1417

#7B1417 is a dark, vivid red. Relative luminance 0.048; OKLCH L 37.9% C 0.137 H 25.6°. Best body text is #FFFFFF at 10.74:1 contrast (WCAG AA passes).

Color values

HEX#7B1417
RGBrgb(123, 20, 23)
HSLhsl(358, 72%, 28%)
HSVhsv(358, 84%, 48%)
CMYKcmyk(0%, 83.7%, 81.3%, 51.8%)
CIE-LABlab(26.08, 42.85, 27.07)
CIE-LCHlch(26.08, 50.69, 32.28°)
OKLaboklab(37.94% 0.1236 0.0592)
OKLCHoklch(37.94% 0.137 25.6)
XYZxyz(8.5742, 4.7745, 1.2806)
Luminance0.0477 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1417 #147B78
analogous
#7B144B #7B1417 #7B4414
triadic
#7B1417 #177B14 #14177B
tetradic
#7B1417 #4B7B14 #147B78 #44147B
square
#7B1417 #4B7B14 #147B78 #44147B
split-complementary
#7B1417 #147B44 #144B7B
monochromatic
#1A0405 #460B0D #7B1417 #B01D21 #DD2D32

Accessibility & contrast

On white

10.74
#7B1417 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#7B1417 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1417
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1417#FFFFFF#000000##FFFFFF
##7B14171.0010.741.9510.74
#FFFFFF10.741.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353016
Deuteranopia (green-blind)
#4E4612
Tritanopia (blue-blind)
#880017
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #7b1417;
/* rgb */ color: rgb(123, 20, 23);
/* oklch */ color: oklch(37.9% 0.137 25.6);
Tailwind
colors: {
  custom: {
    50: '#a95d54',
    500: '#7b1417',
    950: '#000000',
  },
}
SCSS
$custom: #7b1417;
$custom-light: #a95d54;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1417",
  "rgb": {
    "r": 123,
    "g": 20,
    "b": 23
  },
  "hsl": {
    "h": 358.252,
    "s": 72.028,
    "l": 28.039
  },
  "oklch": {
    "l": 0.37937,
    "c": 0.13703,
    "h": 25.6
  },
  "luminance": 0.04773
}

Semantic roles & 50–950 ramp

primary
#7B1417
secondary
#3AB1AD
accent
#EFE939
background
#FBF5F4
surface
#F6E9E7
border
#D0C5C3
text
#110502
muted
#807978

Preview Lab

Preview with #7B1417

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

Preview Lab → · Contrast checker → · Palette generator →

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