#791B28#791B28

#791B28 is a dark, vivid red. Relative luminance 0.050; OKLCH L 38.4% C 0.128 H 18.3°. Best body text is #FFFFFF at 10.50:1 contrast (WCAG AA passes).

Color values

HEX#791B28
RGBrgb(121, 27, 40)
HSLhsl(352, 64%, 29%)
HSVhsv(352, 78%, 47%)
CMYKcmyk(0%, 77.7%, 66.9%, 52.5%)
CIE-LABlab(26.74, 40.76, 16.73)
CIE-LCHlch(26.74, 44.05, 22.31°)
OKLaboklab(38.44% 0.1212 0.04)
OKLCHoklch(38.44% 0.128 18.3)
XYZxyz(8.6610, 5.0033, 2.5168)
Luminance0.0500 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791B28 #1B796C
analogous
#791B57 #791B28 #793D1B
triadic
#791B28 #28791B #1B2879
tetradic
#791B28 #57791B #1B796C #3D1B79
square
#791B28 #57791B #1B796C #3D1B79
split-complementary
#791B28 #1B793D #1B5779
monochromatic
#190608 #471017 #791B28 #AB2639 #D33B50

Accessibility & contrast

On white

10.50
#791B28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#791B28 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #791B28
10.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791B28#FFFFFF#000000##FFFFFF
##791B281.0010.502.0010.50
#FFFFFF10.501.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363328
Deuteranopia (green-blind)
#4D4625
Tritanopia (blue-blind)
#850021
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #791b28;
/* rgb */ color: rgb(121, 27, 40);
/* oklch */ color: oklch(38.4% 0.128 18.3);
Tailwind
colors: {
  custom: {
    50: '#a66061',
    500: '#791b28',
    950: '#000000',
  },
}
SCSS
$custom: #791b28;
$custom-light: #a66061;
$custom-dark: #000000;
JSON
{
  "hex": "#791b28",
  "rgb": {
    "r": 121,
    "g": 27,
    "b": 40
  },
  "hsl": {
    "h": 351.702,
    "s": 63.514,
    "l": 29.02
  },
  "oklch": {
    "l": 0.38438,
    "c": 0.12761,
    "h": 18.3
  },
  "luminance": 0.05002
}

Semantic roles & 50–950 ramp

primary
#791B28
secondary
#43AD9E
accent
#E7D041
background
#FAF5F5
surface
#F4EAE9
border
#CEC6C5
text
#110505
muted
#807979

Preview Lab

Preview with #791B28

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

Preview Lab → · Contrast checker → · Palette generator →

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