#792234#792234

#792234 is a dark, vivid red. Relative luminance 0.055; OKLCH L 39.5% C 0.120 H 12.5°. Best body text is #FFFFFF at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#792234
RGBrgb(121, 34, 52)
HSLhsl(348, 56%, 30%)
HSVhsv(348, 72%, 47%)
CMYKcmyk(0%, 71.9%, 57%, 52.5%)
CIE-LABlab(28.00, 38.89, 10.37)
CIE-LCHlch(28.00, 40.25, 14.93°)
OKLaboklab(39.46% 0.1175 0.0261)
OKLCHoklch(39.46% 0.12 12.5)
XYZxyz(9.0778, 5.4582, 3.8237)
Luminance0.0546 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792234 #227967
analogous
#79225F #792234 #793B22
triadic
#792234 #347922 #223479
tetradic
#792234 #5F7922 #227967 #3B2279
square
#792234 #5F7922 #227967 #3B2279
split-complementary
#792234 #22793B #225F79
monochromatic
#19070B #49151F #792234 #A92F49 #CC4964

Accessibility & contrast

On white

10.04
#792234 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #792234
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792234#FFFFFF#000000##FFFFFF
##7922341.0010.042.0910.04
#FFFFFF10.041.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383734
Deuteranopia (green-blind)
#4E4932
Tritanopia (blue-blind)
#850F29
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #792234;
/* rgb */ color: rgb(121, 34, 52);
/* oklch */ color: oklch(39.5% 0.120 12.5);
Tailwind
colors: {
  custom: {
    50: '#a5646b',
    500: '#792234',
    950: '#000000',
  },
}
SCSS
$custom: #792234;
$custom-light: #a5646b;
$custom-dark: #000000;
JSON
{
  "hex": "#792234",
  "rgb": {
    "r": 121,
    "g": 34,
    "b": 52
  },
  "hsl": {
    "h": 347.586,
    "s": 56.129,
    "l": 30.392
  },
  "oklch": {
    "l": 0.39457,
    "c": 0.12031,
    "h": 12.5
  },
  "luminance": 0.05457
}

Semantic roles & 50–950 ramp

primary
#792234
secondary
#4BAC98
accent
#DFC048
background
#FAF6F6
surface
#F4EBEB
border
#CEC6C6
text
#100606
muted
#7F7A7A

Preview Lab

Preview with #792234

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

Preview Lab → · Contrast checker → · Palette generator →

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