#791A27#791A27

#791A27 is a dark, vivid red. Relative luminance 0.050; OKLCH L 38.3% C 0.129 H 18.6°. Best body text is #FFFFFF at 10.55:1 contrast (WCAG AA passes).

Color values

HEX#791A27
RGBrgb(121, 26, 39)
HSLhsl(352, 65%, 29%)
HSVhsv(352, 79%, 47%)
CMYKcmyk(0%, 78.5%, 67.8%, 52.5%)
CIE-LABlab(26.60, 41.05, 17.20)
CIE-LCHlch(26.60, 44.51, 22.74°)
OKLaboklab(38.32% 0.1219 0.041)
OKLCHoklch(38.32% 0.129 18.6)
XYZxyz(8.6217, 4.9515, 2.4208)
Luminance0.0495 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791A27 #1A796C
analogous
#791A57 #791A27 #793D1A
triadic
#791A27 #27791A #1A2779
tetradic
#791A27 #57791A #1A796C #3D1A79
square
#791A27 #57791A #1A796C #3D1A79
split-complementary
#791A27 #1A793D #1A5779
monochromatic
#190508 #470F17 #791A27 #AB2537 #D4394E

Accessibility & contrast

On white

10.55
#791A27 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#791A27 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #791A27
10.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791A27#FFFFFF#000000##FFFFFF
##791A271.0010.551.9910.55
#FFFFFF10.551.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353227
Deuteranopia (green-blind)
#4D4624
Tritanopia (blue-blind)
#850020
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #791a27;
/* rgb */ color: rgb(121, 26, 39);
/* oklch */ color: oklch(38.3% 0.129 18.6);
Tailwind
colors: {
  custom: {
    50: '#a66060',
    500: '#791a27',
    950: '#000000',
  },
}
SCSS
$custom: #791a27;
$custom-light: #a66060;
$custom-dark: #000000;
JSON
{
  "hex": "#791a27",
  "rgb": {
    "r": 121,
    "g": 26,
    "b": 39
  },
  "hsl": {
    "h": 351.789,
    "s": 64.626,
    "l": 28.824
  },
  "oklch": {
    "l": 0.38322,
    "c": 0.12861,
    "h": 18.6
  },
  "luminance": 0.0495
}

Semantic roles & 50–950 ramp

primary
#791A27
secondary
#41AD9F
accent
#E8D140
background
#FAF5F5
surface
#F5EAE9
border
#CFC6C5
text
#110505
muted
#807979

Preview Lab

Preview with #791A27

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

Preview Lab → · Contrast checker → · Palette generator →

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