#791827#791827

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

Color values

HEX#791827
RGBrgb(121, 24, 39)
HSLhsl(351, 67%, 28%)
HSVhsv(351, 80%, 47%)
CMYKcmyk(0%, 80.2%, 67.8%, 52.5%)
CIE-LABlab(26.35, 41.74, 16.89)
CIE-LCHlch(26.35, 45.03, 22.03°)
OKLaboklab(38.14% 0.1241 0.0403)
OKLCHoklch(38.14% 0.13 18)
XYZxyz(8.5789, 4.8660, 2.4066)
Luminance0.0486 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791827 #18796A
analogous
#791857 #791827 #793918
triadic
#791827 #277918 #182779
tetradic
#791827 #577918 #18796A #391879
square
#791827 #577918 #18796A #391879
split-complementary
#791827 #187939 #185779
monochromatic
#1A0508 #460E17 #791827 #AC2237 #D7354E

Accessibility & contrast

On white

10.64
#791827 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #791827
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791827#FFFFFF#000000##FFFFFF
##7918271.0010.641.9710.64
#FFFFFF10.641.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343127
Deuteranopia (green-blind)
#4D4624
Tritanopia (blue-blind)
#85001F
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #791827;
/* rgb */ color: rgb(121, 24, 39);
/* oklch */ color: oklch(38.1% 0.130 18.0);
Tailwind
colors: {
  custom: {
    50: '#a65f60',
    500: '#791827',
    950: '#000000',
  },
}
SCSS
$custom: #791827;
$custom-light: #a65f60;
$custom-dark: #000000;
JSON
{
  "hex": "#791827",
  "rgb": {
    "r": 121,
    "g": 24,
    "b": 39
  },
  "hsl": {
    "h": 350.722,
    "s": 66.897,
    "l": 28.431
  },
  "oklch": {
    "l": 0.38139,
    "c": 0.13048,
    "h": 18
  },
  "luminance": 0.04865
}

Semantic roles & 50–950 ramp

primary
#791827
secondary
#3FAE9D
accent
#EACF3E
background
#FBF5F5
surface
#F5EAE9
border
#CFC6C5
text
#110505
muted
#807979

Preview Lab

Preview with #791827

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

Preview Lab → · Contrast checker → · Palette generator →

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