#792231#792231

#792231 is a dark, vivid red. Relative luminance 0.054; OKLCH L 39.4% C 0.120 H 14.7°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#792231
RGBrgb(121, 34, 49)
HSLhsl(350, 56%, 30%)
HSVhsv(350, 72%, 47%)
CMYKcmyk(0%, 71.9%, 59.5%, 52.5%)
CIE-LABlab(27.93, 38.64, 12.28)
CIE-LCHlch(27.93, 40.55, 17.63°)
OKLaboklab(39.38% 0.1162 0.0305)
OKLCHoklch(39.38% 0.12 14.7)
XYZxyz(9.0124, 5.4320, 3.4790)
Luminance0.0543 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792231 #22796A
analogous
#79225C #792231 #793E22
triadic
#792231 #317922 #223179
tetradic
#792231 #5C7922 #22796A #3E2279
square
#792231 #5C7922 #22796A #3E2279
split-complementary
#792231 #22793E #225C79
monochromatic
#19070A #49151E #792231 #A92F44 #CC4960

Accessibility & contrast

On white

10.07
#792231 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#792231 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792231
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792231#FFFFFF#000000##FFFFFF
##7922311.0010.072.0910.07
#FFFFFF10.071.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383631
Deuteranopia (green-blind)
#4E492F
Tritanopia (blue-blind)
#850E28
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #792231;
/* rgb */ color: rgb(121, 34, 49);
/* oklch */ color: oklch(39.4% 0.120 14.7);
Tailwind
colors: {
  custom: {
    50: '#a56468',
    500: '#792231',
    950: '#000000',
  },
}
SCSS
$custom: #792231;
$custom-light: #a56468;
$custom-dark: #000000;
JSON
{
  "hex": "#792231",
  "rgb": {
    "r": 121,
    "g": 34,
    "b": 49
  },
  "hsl": {
    "h": 349.655,
    "s": 56.129,
    "l": 30.392
  },
  "oklch": {
    "l": 0.39382,
    "c": 0.1201,
    "h": 14.7
  },
  "luminance": 0.05431
}

Semantic roles & 50–950 ramp

primary
#792231
secondary
#4BAC9B
accent
#DFC548
background
#FAF6F6
surface
#F4EBEB
border
#CEC6C6
text
#100606
muted
#7F7A7A

Preview Lab

Preview with #792231

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

Preview Lab → · Contrast checker → · Palette generator →

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