#771828#771828

#771828 is a dark, vivid red. Relative luminance 0.047; OKLCH L 37.8% C 0.128 H 17.0°. Best body text is #FFFFFF at 10.79:1 contrast (WCAG AA passes).

Color values

HEX#771828
RGBrgb(119, 24, 40)
HSLhsl(350, 66%, 28%)
HSVhsv(350, 80%, 47%)
CMYKcmyk(0%, 79.8%, 66.4%, 53.3%)
CIE-LABlab(25.95, 41.17, 15.62)
CIE-LCHlch(25.95, 44.03, 20.78°)
OKLaboklab(37.77% 0.1228 0.0376)
OKLCHoklch(37.77% 0.128 17)
XYZxyz(8.3183, 4.7297, 2.4820)
Luminance0.0473 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771828 #187767
analogous
#771857 #771828 #773718
triadic
#771828 #287718 #182877
tetradic
#771828 #577718 #187767 #371877
square
#771828 #577718 #187767 #371877
split-complementary
#771828 #187737 #185777
monochromatic
#190509 #440E17 #771828 #AA2239 #D6334F

Accessibility & contrast

On white

10.79
#771828 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#771828 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #771828
10.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771828#FFFFFF#000000##FFFFFF
##7718281.0010.791.9510.79
#FFFFFF10.791.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#333128
Deuteranopia (green-blind)
#4B4525
Tritanopia (blue-blind)
#83001F
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #771828;
/* rgb */ color: rgb(119, 24, 40);
/* oklch */ color: oklch(37.8% 0.128 17.0);
Tailwind
colors: {
  custom: {
    50: '#a55f61',
    500: '#771828',
    950: '#000000',
  },
}
SCSS
$custom: #771828;
$custom-light: #a55f61;
$custom-dark: #000000;
JSON
{
  "hex": "#771828",
  "rgb": {
    "r": 119,
    "g": 24,
    "b": 40
  },
  "hsl": {
    "h": 349.895,
    "s": 66.434,
    "l": 28.039
  },
  "oklch": {
    "l": 0.37774,
    "c": 0.12841,
    "h": 17
  },
  "luminance": 0.04728
}

Semantic roles & 50–950 ramp

primary
#771828
secondary
#3FAC9A
accent
#E9CD3E
background
#FAF5F5
surface
#F4EAE9
border
#CEC6C5
text
#100505
muted
#7F7979

Preview Lab

Preview with #771828

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

Preview Lab → · Contrast checker → · Palette generator →

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