#791826#791826

#791826 is a dark, vivid red. Relative luminance 0.049; OKLCH L 38.1% C 0.131 H 18.6°. Best body text is #FFFFFF at 10.65:1 contrast (WCAG AA passes).

Color values

HEX#791826
RGBrgb(121, 24, 38)
HSLhsl(351, 67%, 28%)
HSVhsv(351, 80%, 47%)
CMYKcmyk(0%, 80.2%, 68.6%, 52.5%)
CIE-LABlab(26.33, 41.68, 17.53)
CIE-LCHlch(26.33, 45.22, 22.81°)
OKLaboklab(38.12% 0.1237 0.0416)
OKLCHoklch(38.12% 0.131 18.6)
XYZxyz(8.5626, 4.8595, 2.3205)
Luminance0.0486 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791826 #18796B
analogous
#791856 #791826 #793A18
triadic
#791826 #267918 #182679
tetradic
#791826 #567918 #18796B #3A1879
square
#791826 #567918 #18796B #3A1879
split-complementary
#791826 #18793A #185679
monochromatic
#1A0508 #460E16 #791826 #AC2236 #D7354C

Accessibility & contrast

On white

10.65
#791826 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#791826 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #791826
10.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791826#FFFFFF#000000##FFFFFF
##7918261.0010.651.9710.65
#FFFFFF10.651.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343126
Deuteranopia (green-blind)
#4D4623
Tritanopia (blue-blind)
#85001E
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #791826;
/* rgb */ color: rgb(121, 24, 38);
/* oklch */ color: oklch(38.1% 0.131 18.6);
Tailwind
colors: {
  custom: {
    50: '#a65f60',
    500: '#791826',
    950: '#000000',
  },
}
SCSS
$custom: #791826;
$custom-light: #a65f60;
$custom-dark: #000000;
JSON
{
  "hex": "#791826",
  "rgb": {
    "r": 121,
    "g": 24,
    "b": 38
  },
  "hsl": {
    "h": 351.34,
    "s": 66.897,
    "l": 28.431
  },
  "oklch": {
    "l": 0.38118,
    "c": 0.1305,
    "h": 18.6
  },
  "luminance": 0.04858
}

Semantic roles & 50–950 ramp

primary
#791826
secondary
#3FAE9E
accent
#EAD13E
background
#FBF5F5
surface
#F5EAE9
border
#CFC6C5
text
#110504
muted
#807979

Preview Lab

Preview with #791826

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

Preview Lab → · Contrast checker → · Palette generator →

#791826 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva