#791F28#791F28

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

Color values

HEX#791F28
RGBrgb(121, 31, 40)
HSLhsl(354, 59%, 30%)
HSVhsv(354, 74%, 47%)
CMYKcmyk(0%, 74.4%, 66.9%, 52.5%)
CIE-LABlab(27.30, 39.23, 17.43)
CIE-LCHlch(27.30, 42.92, 23.96°)
OKLaboklab(38.85% 0.1163 0.0416)
OKLCHoklch(38.85% 0.124 19.7)
XYZxyz(8.7591, 5.1994, 2.5494)
Luminance0.0520 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791F28 #1F7970
analogous
#791F55 #791F28 #79431F
triadic
#791F28 #28791F #1F2879
tetradic
#791F28 #55791F #1F7970 #431F79
square
#791F28 #55791F #1F7970 #431F79
split-complementary
#791F28 #1F7943 #1F5579
monochromatic
#180608 #481318 #791F28 #AA2B38 #CF4351

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##791F28#FFFFFF#000000##FFFFFF
##791F281.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)
#383428
Deuteranopia (green-blind)
#4F4725
Tritanopia (blue-blind)
#850323
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #791f28;
/* rgb */ color: rgb(121, 31, 40);
/* oklch */ color: oklch(38.8% 0.123 19.7);
Tailwind
colors: {
  custom: {
    50: '#a66261',
    500: '#791f28',
    950: '#000000',
  },
}
SCSS
$custom: #791f28;
$custom-light: #a66261;
$custom-dark: #000000;
JSON
{
  "hex": "#791f28",
  "rgb": {
    "r": 121,
    "g": 31,
    "b": 40
  },
  "hsl": {
    "h": 354,
    "s": 59.211,
    "l": 29.804
  },
  "oklch": {
    "l": 0.38848,
    "c": 0.1235,
    "h": 19.7
  },
  "luminance": 0.05198
}

Semantic roles & 50–950 ramp

primary
#791F28
secondary
#47ACA2
accent
#E2D345
background
#FAF6F5
surface
#F4EBE9
border
#CEC6C5
text
#100505
muted
#7F7A79

Preview Lab

Preview with #791F28

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

Preview Lab → · Contrast checker → · Palette generator →

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