#791F26#791F26

#791F26 is a dark, vivid red. Relative luminance 0.052; OKLCH L 38.8% C 0.124 H 21.0°. Best body text is #FFFFFF at 10.31:1 contrast (WCAG AA passes).

Color values

HEX#791F26
RGBrgb(121, 31, 38)
HSLhsl(355, 59%, 30%)
HSVhsv(355, 74%, 47%)
CMYKcmyk(0%, 74.4%, 68.6%, 52.5%)
CIE-LABlab(27.26, 39.10, 18.70)
CIE-LCHlch(27.26, 43.34, 25.56°)
OKLaboklab(38.81% 0.1154 0.0443)
OKLCHoklch(38.81% 0.124 21)
XYZxyz(8.7259, 5.1861, 2.3749)
Luminance0.0519 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791F26 #1F7972
analogous
#791F53 #791F26 #79451F
triadic
#791F26 #26791F #1F2679
tetradic
#791F26 #53791F #1F7972 #451F79
square
#791F26 #53791F #1F7972 #451F79
split-complementary
#791F26 #1F7945 #1F5379
monochromatic
#180608 #481317 #791F26 #AA2B35 #CF434E

Accessibility & contrast

On white

10.31
#791F26 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#791F26 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #791F26
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791F26#FFFFFF#000000##FFFFFF
##791F261.0010.312.0410.31
#FFFFFF10.311.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383426
Deuteranopia (green-blind)
#4F4723
Tritanopia (blue-blind)
#850222
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #791f26;
/* rgb */ color: rgb(121, 31, 38);
/* oklch */ color: oklch(38.8% 0.124 21.0);
Tailwind
colors: {
  custom: {
    50: '#a66260',
    500: '#791f26',
    950: '#000000',
  },
}
SCSS
$custom: #791f26;
$custom-light: #a66260;
$custom-dark: #000000;
JSON
{
  "hex": "#791f26",
  "rgb": {
    "r": 121,
    "g": 31,
    "b": 38
  },
  "hsl": {
    "h": 355.333,
    "s": 59.211,
    "l": 29.804
  },
  "oklch": {
    "l": 0.38808,
    "c": 0.12362,
    "h": 21
  },
  "luminance": 0.05185
}

Semantic roles & 50–950 ramp

primary
#791F26
secondary
#47ACA5
accent
#E2D645
background
#FAF6F5
surface
#F5EBE9
border
#CFC6C5
text
#110504
muted
#807A79

Preview Lab

Preview with #791F26

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

Preview Lab → · Contrast checker → · Palette generator →

#791F26 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva