#793231#793231

#793231 is a dark, moderate red. Relative luminance 0.066; OKLCH L 41.5% C 0.100 H 23.2°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#793231
RGBrgb(121, 50, 49)
HSLhsl(1, 42%, 33%)
HSVhsv(1, 60%, 47%)
CMYKcmyk(0%, 58.7%, 59.5%, 52.5%)
CIE-LABlab(30.81, 30.95, 16.10)
CIE-LCHlch(30.81, 34.89, 27.48°)
OKLaboklab(41.54% 0.0918 0.0394)
OKLCHoklch(41.54% 0.1 23.2)
XYZxyz(9.5809, 6.5691, 3.6686)
Luminance0.0657 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#793231 #317879
analogous
#793154 #793231 #795631
triadic
#793231 #317932 #323179
tetradic
#793231 #547931 #317879 #563179
square
#793231 #547931 #317879 #563179
split-complementary
#793231 #317956 #315479
monochromatic
#220E0E #4D201F #793231 #A54443 #C06564

Accessibility & contrast

On white

9.08
#793231 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#793231 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #793231
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##793231#FFFFFF#000000##FFFFFF
##7932311.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433F30
Deuteranopia (green-blind)
#554E2F
Tritanopia (blue-blind)
#842632
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #793231;
/* rgb */ color: rgb(121, 50, 49);
/* oklch */ color: oklch(41.5% 0.100 23.2);
Tailwind
colors: {
  custom: {
    50: '#a46d69',
    500: '#793231',
    950: '#000000',
  },
}
SCSS
$custom: #793231;
$custom-light: #a46d69;
$custom-dark: #000000;
JSON
{
  "hex": "#793231",
  "rgb": {
    "r": 121,
    "g": 50,
    "b": 49
  },
  "hsl": {
    "h": 0.833,
    "s": 42.353,
    "l": 33.333
  },
  "oklch": {
    "l": 0.41537,
    "c": 0.09993,
    "h": 23.2
  },
  "luminance": 0.06568
}

Semantic roles & 50–950 ramp

primary
#793231
secondary
#5EA7A8
accent
#D0D256
background
#FAF6F6
surface
#F4ECEB
border
#CEC7C6
text
#100706
muted
#7F7A7A

Preview Lab

Preview with #793231

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

Preview Lab → · Contrast checker → · Palette generator →

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