#792331#792331

#792331 is a dark, moderate red. Relative luminance 0.055; OKLCH L 39.5% C 0.119 H 15.1°. Best body text is #FFFFFF at 10.01:1 contrast (WCAG AA passes).

Color values

HEX#792331
RGBrgb(121, 35, 49)
HSLhsl(350, 55%, 31%)
HSVhsv(350, 71%, 47%)
CMYKcmyk(0%, 71.1%, 59.5%, 52.5%)
CIE-LABlab(28.09, 38.21, 12.49)
CIE-LCHlch(28.09, 40.20, 18.10°)
OKLaboklab(39.5% 0.1148 0.031)
OKLCHoklch(39.5% 0.119 15.1)
XYZxyz(9.0414, 5.4900, 3.4887)
Luminance0.0549 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792331 #23796B
analogous
#79235C #792331 #794023
triadic
#792331 #317923 #233179
tetradic
#792331 #5C7923 #23796B #402379
square
#792331 #5C7923 #23796B #402379
split-complementary
#792331 #237940 #235C79
monochromatic
#1A080B #4A151E #792331 #A83144 #CB4B60

Accessibility & contrast

On white

10.01
#792331 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#792331 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792331
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792331#FFFFFF#000000##FFFFFF
##7923311.0010.012.1010.01
#FFFFFF10.011.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393731
Deuteranopia (green-blind)
#4F492F
Tritanopia (blue-blind)
#851029
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #792331;
/* rgb */ color: rgb(121, 35, 49);
/* oklch */ color: oklch(39.5% 0.119 15.1);
Tailwind
colors: {
  custom: {
    50: '#a56468',
    500: '#792331',
    950: '#000000',
  },
}
SCSS
$custom: #792331;
$custom-light: #a56468;
$custom-dark: #000000;
JSON
{
  "hex": "#792331",
  "rgb": {
    "r": 121,
    "g": 35,
    "b": 49
  },
  "hsl": {
    "h": 350.233,
    "s": 55.128,
    "l": 30.588
  },
  "oklch": {
    "l": 0.39498,
    "c": 0.11891,
    "h": 15.1
  },
  "luminance": 0.05489
}

Semantic roles & 50–950 ramp

primary
#792331
secondary
#4CAC9C
accent
#DEC649
background
#FAF6F6
surface
#F4EBEB
border
#CEC6C6
text
#100606
muted
#7F7A7A

Preview Lab

Preview with #792331

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

Preview Lab → · Contrast checker → · Palette generator →

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