#791D27#791D27

#791D27 is a dark, vivid red. Relative luminance 0.051; OKLCH L 38.6% C 0.126 H 19.6°. Best body text is #FFFFFF at 10.41:1 contrast (WCAG AA passes).

Color values

HEX#791D27
RGBrgb(121, 29, 39)
HSLhsl(353, 61%, 29%)
HSVhsv(353, 76%, 47%)
CMYKcmyk(0%, 76%, 67.8%, 52.5%)
CIE-LABlab(26.99, 39.95, 17.71)
CIE-LCHlch(26.99, 43.70, 23.91°)
OKLaboklab(38.62% 0.1184 0.0421)
OKLCHoklch(38.62% 0.126 19.6)
XYZxyz(8.6917, 5.0914, 2.4441)
Luminance0.0509 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791D27 #1D796F
analogous
#791D55 #791D27 #79411D
triadic
#791D27 #27791D #1D2779
tetradic
#791D27 #55791D #1D796F #411D79
square
#791D27 #55791D #1D796F #411D79
split-complementary
#791D27 #1D7941 #1D5579
monochromatic
#190608 #481117 #791D27 #AA2937 #D13F4F

Accessibility & contrast

On white

10.41
#791D27 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#791D27 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #791D27
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791D27#FFFFFF#000000##FFFFFF
##791D271.0010.412.0210.41
#FFFFFF10.411.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373327
Deuteranopia (green-blind)
#4E4724
Tritanopia (blue-blind)
#850021
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #791d27;
/* rgb */ color: rgb(121, 29, 39);
/* oklch */ color: oklch(38.6% 0.126 19.6);
Tailwind
colors: {
  custom: {
    50: '#a66161',
    500: '#791d27',
    950: '#000000',
  },
}
SCSS
$custom: #791d27;
$custom-light: #a66161;
$custom-dark: #000000;
JSON
{
  "hex": "#791d27",
  "rgb": {
    "r": 121,
    "g": 29,
    "b": 39
  },
  "hsl": {
    "h": 353.478,
    "s": 61.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.38617,
    "c": 0.12563,
    "h": 19.6
  },
  "luminance": 0.0509
}

Semantic roles & 50–950 ramp

primary
#791D27
secondary
#45ADA2
accent
#E4D343
background
#FAF6F5
surface
#F5EBE9
border
#CFC6C5
text
#110505
muted
#807A79

Preview Lab

Preview with #791D27

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

Preview Lab → · Contrast checker → · Palette generator →

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