#7B1D17#7B1D17

#7B1D17 is a dark, vivid red. Relative luminance 0.052; OKLCH L 38.7% C 0.130 H 28.4°. Best body text is #FFFFFF at 10.34:1 contrast (WCAG AA passes).

Color values

HEX#7B1D17
RGBrgb(123, 29, 23)
HSLhsl(4, 68%, 29%)
HSVhsv(4, 81%, 48%)
CMYKcmyk(0%, 76.4%, 81.3%, 51.8%)
CIE-LABlab(27.17, 39.82, 28.21)
CIE-LCHlch(27.17, 48.80, 35.31°)
OKLaboklab(38.74% 0.114 0.0617)
OKLCHoklch(38.74% 0.13 28.4)
XYZxyz(8.7634, 5.1529, 1.3436)
Luminance0.0515 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1D17 #17757B
analogous
#7B1743 #7B1D17 #7B4F17
triadic
#7B1D17 #177B1D #1D177B
tetradic
#7B1D17 #437B17 #17757B #4F177B
square
#7B1D17 #437B17 #17757B #4F177B
split-complementary
#7B1D17 #177B4F #17437B
monochromatic
#1A0605 #47110D #7B1D17 #AF2921 #D93D33

Accessibility & contrast

On white

10.34
#7B1D17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#7B1D17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1D17
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1D17#FFFFFF#000000##FFFFFF
##7B1D171.0010.342.0310.34
#FFFFFF10.341.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.341.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7b1d17;
/* rgb */ color: rgb(123, 29, 23);
/* oklch */ color: oklch(38.7% 0.130 28.4);
Tailwind
colors: {
  custom: {
    50: '#a96155',
    500: '#7b1d17',
    950: '#000000',
  },
}
SCSS
$custom: #7b1d17;
$custom-light: #a96155;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1d17",
  "rgb": {
    "r": 123,
    "g": 29,
    "b": 23
  },
  "hsl": {
    "h": 3.6,
    "s": 68.493,
    "l": 28.627
  },
  "oklch": {
    "l": 0.38744,
    "c": 0.12963,
    "h": 28.4
  },
  "luminance": 0.05152
}

Semantic roles & 50–950 ramp

primary
#7B1D17
secondary
#3EA9B0
accent
#E1EB3C
background
#FBF6F4
surface
#F6EBE7
border
#D0C6C3
text
#110503
muted
#807A78

Preview Lab

Preview with #7B1D17

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

Preview Lab → · Contrast checker → · Palette generator →

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