#792027#792027

#792027 is a dark, vivid red. Relative luminance 0.052; OKLCH L 38.9% C 0.122 H 20.7°. Best body text is #FFFFFF at 10.25:1 contrast (WCAG AA passes).

Color values

HEX#792027
RGBrgb(121, 32, 39)
HSLhsl(355, 58%, 30%)
HSVhsv(355, 74%, 47%)
CMYKcmyk(0%, 73.6%, 67.8%, 52.5%)
CIE-LABlab(27.42, 38.76, 18.25)
CIE-LCHlch(27.42, 42.84, 25.22°)
OKLaboklab(38.94% 0.1146 0.0434)
OKLCHoklch(38.94% 0.122 20.7)
XYZxyz(8.7688, 5.2457, 2.4699)
Luminance0.0524 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792027 #207972
analogous
#792053 #792027 #794620
triadic
#792027 #277920 #202779
tetradic
#792027 #537920 #207972 #462079
square
#792027 #537920 #207972 #462079
split-complementary
#792027 #207946 #205379
monochromatic
#180608 #491317 #792027 #A92D37 #CE4550

Accessibility & contrast

On white

10.25
#792027 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#792027 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792027
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792027#FFFFFF#000000##FFFFFF
##7920271.0010.252.0510.25
#FFFFFF10.251.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383527
Deuteranopia (green-blind)
#4F4824
Tritanopia (blue-blind)
#850523
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #792027;
/* rgb */ color: rgb(121, 32, 39);
/* oklch */ color: oklch(38.9% 0.122 20.7);
Tailwind
colors: {
  custom: {
    50: '#a66261',
    500: '#792027',
    950: '#000000',
  },
}
SCSS
$custom: #792027;
$custom-light: #a66261;
$custom-dark: #000000;
JSON
{
  "hex": "#792027",
  "rgb": {
    "r": 121,
    "g": 32,
    "b": 39
  },
  "hsl": {
    "h": 355.281,
    "s": 58.17,
    "l": 30
  },
  "oklch": {
    "l": 0.38937,
    "c": 0.12249,
    "h": 20.7
  },
  "luminance": 0.05244
}

Semantic roles & 50–950 ramp

primary
#792027
secondary
#49ACA4
accent
#E1D546
background
#FAF6F5
surface
#F4EBE9
border
#CEC6C5
text
#100505
muted
#7F7A79

Preview Lab

Preview with #792027

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

Preview Lab → · Contrast checker → · Palette generator →

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