#791F23#791F23

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

Color values

HEX#791F23
RGBrgb(121, 31, 35)
HSLhsl(357, 59%, 30%)
HSVhsv(357, 74%, 47%)
CMYKcmyk(0%, 74.4%, 71.1%, 52.5%)
CIE-LABlab(27.21, 38.92, 20.60)
CIE-LCHlch(27.21, 44.04, 27.90°)
OKLaboklab(38.75% 0.1142 0.0481)
OKLCHoklch(38.75% 0.124 22.8)
XYZxyz(8.6795, 5.1676, 2.1302)
Luminance0.0517 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791F23 #1F7975
analogous
#791F50 #791F23 #79481F
triadic
#791F23 #23791F #1F2379
tetradic
#791F23 #50791F #1F7975 #481F79
square
#791F23 #50791F #1F7975 #481F79
split-complementary
#791F23 #1F7948 #1F5079
monochromatic
#180607 #481315 #791F23 #AA2B31 #CF434A

Accessibility & contrast

On white

10.33
#791F23 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#791F23 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #791F23
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791F23#FFFFFF#000000##FFFFFF
##791F231.0010.332.0310.33
#FFFFFF10.331.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383422
Deuteranopia (green-blind)
#4F4720
Tritanopia (blue-blind)
#850121
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #791f23;
/* rgb */ color: rgb(121, 31, 35);
/* oklch */ color: oklch(38.8% 0.124 22.8);
Tailwind
colors: {
  custom: {
    50: '#a6625d',
    500: '#791f23',
    950: '#000000',
  },
}
SCSS
$custom: #791f23;
$custom-light: #a6625d;
$custom-dark: #000000;
JSON
{
  "hex": "#791f23",
  "rgb": {
    "r": 121,
    "g": 31,
    "b": 35
  },
  "hsl": {
    "h": 357.333,
    "s": 59.211,
    "l": 29.804
  },
  "oklch": {
    "l": 0.38753,
    "c": 0.12389,
    "h": 22.8
  },
  "luminance": 0.05166
}

Semantic roles & 50–950 ramp

primary
#791F23
secondary
#47ACA8
accent
#E2DB45
background
#FBF6F5
surface
#F5EBE9
border
#CFC6C5
text
#110504
muted
#807A79

Preview Lab

Preview with #791F23

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

Preview Lab → · Contrast checker → · Palette generator →

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