#782131#782131

#782131 is a dark, vivid red. Relative luminance 0.053; OKLCH L 39.1% C 0.120 H 14.1°. Best body text is #FFFFFF at 10.19:1 contrast (WCAG AA passes).

Color values

HEX#782131
RGBrgb(120, 33, 49)
HSLhsl(349, 57%, 30%)
HSVhsv(349, 73%, 47%)
CMYKcmyk(0%, 72.5%, 59.2%, 52.9%)
CIE-LABlab(27.58, 38.72, 11.78)
CIE-LCHlch(27.58, 40.47, 16.92°)
OKLaboklab(39.09% 0.1166 0.0293)
OKLCHoklch(39.09% 0.12 14.1)
XYZxyz(8.8448, 5.3038, 3.4631)
Luminance0.0530 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782131 #217868
analogous
#78215C #782131 #783D21
triadic
#782131 #317821 #213178
tetradic
#782131 #5C7821 #217868 #3D2178
square
#782131 #5C7821 #217868 #3D2178
split-complementary
#782131 #21783D #215C78
monochromatic
#18070A #48141D #782131 #A82E45 #CC4760

Accessibility & contrast

On white

10.19
#782131 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#782131 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #782131
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##782131#FFFFFF#000000##FFFFFF
##7821311.0010.192.0610.19
#FFFFFF10.191.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373631
Deuteranopia (green-blind)
#4D482F
Tritanopia (blue-blind)
#840D27
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #782131;
/* rgb */ color: rgb(120, 33, 49);
/* oklch */ color: oklch(39.1% 0.120 14.1);
Tailwind
colors: {
  custom: {
    50: '#a46368',
    500: '#782131',
    950: '#000000',
  },
}
SCSS
$custom: #782131;
$custom-light: #a46368;
$custom-dark: #000000;
JSON
{
  "hex": "#782131",
  "rgb": {
    "r": 120,
    "g": 33,
    "b": 49
  },
  "hsl": {
    "h": 348.966,
    "s": 56.863,
    "l": 30
  },
  "oklch": {
    "l": 0.39086,
    "c": 0.12017,
    "h": 14.1
  },
  "luminance": 0.05303
}

Semantic roles & 50–950 ramp

primary
#782131
secondary
#4AAB99
accent
#E0C448
background
#FAF6F6
surface
#F4EBEB
border
#CEC6C6
text
#100606
muted
#7F7A7A

Preview Lab

Preview with #782131

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

Preview Lab → · Contrast checker → · Palette generator →

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