#792131#792131

#792131 is a dark, vivid red. Relative luminance 0.054; OKLCH L 39.3% C 0.121 H 14.3°. Best body text is #FFFFFF at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#792131
RGBrgb(121, 33, 49)
HSLhsl(349, 57%, 30%)
HSVhsv(349, 73%, 47%)
CMYKcmyk(0%, 72.7%, 59.5%, 52.5%)
CIE-LABlab(27.78, 39.06, 12.07)
CIE-LCHlch(27.78, 40.88, 17.18°)
OKLaboklab(39.27% 0.1175 0.03)
OKLCHoklch(39.27% 0.121 14.3)
XYZxyz(8.9842, 5.3757, 3.4697)
Luminance0.0537 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792131 #217969
analogous
#79215D #792131 #793D21
triadic
#792131 #317921 #213179
tetradic
#792131 #5D7921 #217969 #3D2179
square
#792131 #5D7921 #217969 #3D2179
split-complementary
#792131 #21793D #215D79
monochromatic
#19070A #49141E #792131 #A92E44 #CD4760

Accessibility & contrast

On white

10.12
#792131 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#792131 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792131
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792131#FFFFFF#000000##FFFFFF
##7921311.0010.122.0710.12
#FFFFFF10.121.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373631
Deuteranopia (green-blind)
#4E482F
Tritanopia (blue-blind)
#850C28
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #792131;
/* rgb */ color: rgb(121, 33, 49);
/* oklch */ color: oklch(39.3% 0.121 14.3);
Tailwind
colors: {
  custom: {
    50: '#a56368',
    500: '#792131',
    950: '#000000',
  },
}
SCSS
$custom: #792131;
$custom-light: #a56368;
$custom-dark: #000000;
JSON
{
  "hex": "#792131",
  "rgb": {
    "r": 121,
    "g": 33,
    "b": 49
  },
  "hsl": {
    "h": 349.091,
    "s": 57.143,
    "l": 30.196
  },
  "oklch": {
    "l": 0.39268,
    "c": 0.12127,
    "h": 14.3
  },
  "luminance": 0.05374
}

Semantic roles & 50–950 ramp

primary
#792131
secondary
#4AAC9A
accent
#E0C547
background
#FAF6F6
surface
#F4EBEB
border
#CEC6C6
text
#100606
muted
#7F7A7A

Preview Lab

Preview with #792131

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

Preview Lab → · Contrast checker → · Palette generator →

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