#791931#791931

#791931 is a dark, vivid red. Relative luminance 0.050; OKLCH L 38.5% C 0.130 H 11.7°. Best body text is #FFFFFF at 10.52:1 contrast (WCAG AA passes).

Color values

HEX#791931
RGBrgb(121, 25, 49)
HSLhsl(345, 66%, 29%)
HSVhsv(345, 79%, 47%)
CMYKcmyk(0%, 79.3%, 59.5%, 52.5%)
CIE-LABlab(26.69, 42.10, 10.59)
CIE-LCHlch(26.69, 43.41, 14.12°)
OKLaboklab(38.46% 0.1273 0.0265)
OKLCHoklch(38.46% 0.13 11.7)
XYZxyz(8.7880, 4.9832, 3.4042)
Luminance0.0498 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791931 #197961
analogous
#791961 #791931 #793119
triadic
#791931 #317919 #193179
tetradic
#791931 #617919 #197961 #311979
square
#791931 #617919 #197961 #311979
split-complementary
#791931 #197931 #196179
monochromatic
#19050A #460F1C #791931 #AC2346 #D6375E

Accessibility & contrast

On white

10.52
#791931 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#791931 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #791931
10.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791931#FFFFFF#000000##FFFFFF
##7919311.0010.522.0010.52
#FFFFFF10.521.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#333331
Deuteranopia (green-blind)
#4C462F
Tritanopia (blue-blind)
#850023
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #791931;
/* rgb */ color: rgb(121, 25, 49);
/* oklch */ color: oklch(38.5% 0.130 11.7);
Tailwind
colors: {
  custom: {
    50: '#a56068',
    500: '#791931',
    950: '#000000',
  },
}
SCSS
$custom: #791931;
$custom-light: #a56068;
$custom-dark: #000000;
JSON
{
  "hex": "#791931",
  "rgb": {
    "r": 121,
    "g": 25,
    "b": 49
  },
  "hsl": {
    "h": 345,
    "s": 65.753,
    "l": 28.627
  },
  "oklch": {
    "l": 0.38458,
    "c": 0.12999,
    "h": 11.7
  },
  "luminance": 0.04982
}

Semantic roles & 50–950 ramp

primary
#791931
secondary
#40AE92
accent
#E9BE3F
background
#FAF5F6
surface
#F4EAEB
border
#CEC6C6
text
#100506
muted
#7F797A

Preview Lab

Preview with #791931

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

Preview Lab → · Contrast checker → · Palette generator →

#791931 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva