#791727#791727

#791727 is a dark, vivid red. Relative luminance 0.048; OKLCH L 38.1% C 0.131 H 17.7°. Best body text is #FFFFFF at 10.69:1 contrast (WCAG AA passes).

Color values

HEX#791727
RGBrgb(121, 23, 39)
HSLhsl(350, 68%, 28%)
HSVhsv(350, 81%, 47%)
CMYKcmyk(0%, 81%, 67.8%, 52.5%)
CIE-LABlab(26.23, 42.08, 16.74)
CIE-LCHlch(26.23, 45.28, 21.69°)
OKLaboklab(38.05% 0.1252 0.0399)
OKLCHoklch(38.05% 0.131 17.7)
XYZxyz(8.5587, 4.8255, 2.3998)
Luminance0.0482 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791727 #177969
analogous
#791758 #791727 #793817
triadic
#791727 #277917 #172779
tetradic
#791727 #587917 #177969 #381779
square
#791727 #587917 #177969 #381779
split-complementary
#791727 #177938 #175879
monochromatic
#1A0508 #460D16 #791727 #AC2138 #D8324D

Accessibility & contrast

On white

10.69
#791727 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#791727 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #791727
10.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791727#FFFFFF#000000##FFFFFF
##7917271.0010.691.9610.69
#FFFFFF10.691.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343127
Deuteranopia (green-blind)
#4C4524
Tritanopia (blue-blind)
#85001E
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #791727;
/* rgb */ color: rgb(121, 23, 39);
/* oklch */ color: oklch(38.1% 0.131 17.7);
Tailwind
colors: {
  custom: {
    50: '#a65e60',
    500: '#791727',
    950: '#000000',
  },
}
SCSS
$custom: #791727;
$custom-light: #a65e60;
$custom-dark: #000000;
JSON
{
  "hex": "#791727",
  "rgb": {
    "r": 121,
    "g": 23,
    "b": 39
  },
  "hsl": {
    "h": 350.204,
    "s": 68.056,
    "l": 28.235
  },
  "oklch": {
    "l": 0.38051,
    "c": 0.13139,
    "h": 17.7
  },
  "luminance": 0.04824
}

Semantic roles & 50–950 ramp

primary
#791727
secondary
#3EAE9C
accent
#EBCF3D
background
#FBF5F5
surface
#F5EAE9
border
#CFC6C5
text
#110505
muted
#807979

Preview Lab

Preview with #791727

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

Preview Lab → · Contrast checker → · Palette generator →

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