#792B21#792B21

#792B21 is a dark, moderate red. Relative luminance 0.059; OKLCH L 40.2% C 0.111 H 30.0°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#792B21
RGBrgb(121, 43, 33)
HSLhsl(7, 57%, 30%)
HSVhsv(7, 73%, 47%)
CMYKcmyk(0%, 64.5%, 72.7%, 52.5%)
CIE-LABlab(29.17, 33.41, 24.22)
CIE-LCHlch(29.17, 41.27, 35.93°)
OKLaboklab(40.21% 0.0964 0.0557)
OKLCHoklch(40.21% 0.111 30)
XYZxyz(9.0245, 5.9037, 2.1029)
Luminance0.0590 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792B21 #216F79
analogous
#792143 #792B21 #795721
triadic
#792B21 #21792B #2B2179
tetradic
#792B21 #437921 #216F79 #572179
square
#792B21 #437921 #216F79 #572179
split-complementary
#792B21 #217957 #214379
monochromatic
#190907 #491A14 #792B21 #A93C2E #CD5747

Accessibility & contrast

On white

9.63
#792B21 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#792B21 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792B21
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792B21#FFFFFF#000000##FFFFFF
##792B211.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403A20
Deuteranopia (green-blind)
#534B1F
Tritanopia (blue-blind)
#851929
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #792b21;
/* rgb */ color: rgb(121, 43, 33);
/* oklch */ color: oklch(40.2% 0.111 30.0);
Tailwind
colors: {
  custom: {
    50: '#a6685c',
    500: '#792b21',
    950: '#000000',
  },
}
SCSS
$custom: #792b21;
$custom-light: #a6685c;
$custom-dark: #000000;
JSON
{
  "hex": "#792b21",
  "rgb": {
    "r": 121,
    "g": 43,
    "b": 33
  },
  "hsl": {
    "h": 6.818,
    "s": 57.143,
    "l": 30.196
  },
  "oklch": {
    "l": 0.40213,
    "c": 0.1113,
    "h": 30
  },
  "luminance": 0.05903
}

Semantic roles & 50–950 ramp

primary
#792B21
secondary
#4AA1AC
accent
#CFE047
background
#FAF6F5
surface
#F4EBE9
border
#CEC6C5
text
#100604
muted
#7F7A79

Preview Lab

Preview with #792B21

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

Preview Lab → · Contrast checker → · Palette generator →

#792B21 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva