#791F27#791F27

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

Color values

HEX#791F27
RGBrgb(121, 31, 39)
HSLhsl(355, 59%, 30%)
HSVhsv(355, 74%, 47%)
CMYKcmyk(0%, 74.4%, 67.8%, 52.5%)
CIE-LABlab(27.28, 39.16, 18.07)
CIE-LCHlch(27.28, 43.13, 24.77°)
OKLaboklab(38.83% 0.1159 0.043)
OKLCHoklch(38.83% 0.124 20.3)
XYZxyz(8.7423, 5.1927, 2.4610)
Luminance0.0519 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791F27 #1F7971
analogous
#791F54 #791F27 #79441F
triadic
#791F27 #27791F #1F2779
tetradic
#791F27 #54791F #1F7971 #441F79
square
#791F27 #54791F #1F7971 #441F79
split-complementary
#791F27 #1F7944 #1F5479
monochromatic
#180608 #481317 #791F27 #AA2B37 #CF4350

Accessibility & contrast

On white

10.30
#791F27 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #791F27
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791F27#FFFFFF#000000##FFFFFF
##791F271.0010.302.0410.30
#FFFFFF10.301.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383427
Deuteranopia (green-blind)
#4F4724
Tritanopia (blue-blind)
#850223
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #791f27;
/* rgb */ color: rgb(121, 31, 39);
/* oklch */ color: oklch(38.8% 0.124 20.3);
Tailwind
colors: {
  custom: {
    50: '#a66261',
    500: '#791f27',
    950: '#000000',
  },
}
SCSS
$custom: #791f27;
$custom-light: #a66261;
$custom-dark: #000000;
JSON
{
  "hex": "#791f27",
  "rgb": {
    "r": 121,
    "g": 31,
    "b": 39
  },
  "hsl": {
    "h": 354.667,
    "s": 59.211,
    "l": 29.804
  },
  "oklch": {
    "l": 0.38828,
    "c": 0.12356,
    "h": 20.3
  },
  "luminance": 0.05191
}

Semantic roles & 50–950 ramp

primary
#791F27
secondary
#47ACA3
accent
#E2D445
background
#FAF6F5
surface
#F4EBE9
border
#CEC6C5
text
#110505
muted
#807A79

Preview Lab

Preview with #791F27

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

Preview Lab → · Contrast checker → · Palette generator →

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