#791C28#791C28

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

Color values

HEX#791C28
RGBrgb(121, 28, 40)
HSLhsl(352, 62%, 29%)
HSVhsv(352, 77%, 47%)
CMYKcmyk(0%, 76.9%, 66.9%, 52.5%)
CIE-LABlab(26.88, 40.39, 16.90)
CIE-LCHlch(26.88, 43.78, 22.70°)
OKLaboklab(38.54% 0.12 0.0404)
OKLCHoklch(38.54% 0.127 18.6)
XYZxyz(8.6843, 5.0499, 2.5245)
Luminance0.0505 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791C28 #1C796D
analogous
#791C57 #791C28 #793F1C
triadic
#791C28 #28791C #1C2879
tetradic
#791C28 #57791C #1C796D #3F1C79
square
#791C28 #57791C #1C796D #3F1C79
split-complementary
#791C28 #1C793F #1C5779
monochromatic
#190608 #471018 #791C28 #AB2838 #D23D50

Accessibility & contrast

On white

10.45
#791C28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#791C28 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #791C28
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791C28#FFFFFF#000000##FFFFFF
##791C281.0010.452.0110.45
#FFFFFF10.451.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.451.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #791c28;
/* rgb */ color: rgb(121, 28, 40);
/* oklch */ color: oklch(38.5% 0.127 18.6);
Tailwind
colors: {
  custom: {
    50: '#a66161',
    500: '#791c28',
    950: '#000000',
  },
}
SCSS
$custom: #791c28;
$custom-light: #a66161;
$custom-dark: #000000;
JSON
{
  "hex": "#791c28",
  "rgb": {
    "r": 121,
    "g": 28,
    "b": 40
  },
  "hsl": {
    "h": 352.258,
    "s": 62.416,
    "l": 29.216
  },
  "oklch": {
    "l": 0.38536,
    "c": 0.12661,
    "h": 18.6
  },
  "luminance": 0.05049
}

Semantic roles & 50–950 ramp

primary
#791C28
secondary
#44AD9F
accent
#E5D042
background
#FAF5F5
surface
#F4EAE9
border
#CEC6C5
text
#110505
muted
#807979

Preview Lab

Preview with #791C28

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

Preview Lab → · Contrast checker → · Palette generator →

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