#78212F#78212F

#78212F is a dark, vivid red. Relative luminance 0.053; OKLCH L 39.0% C 0.120 H 15.5°. Best body text is #FFFFFF at 10.21:1 contrast (WCAG AA passes).

Color values

HEX#78212F
RGBrgb(120, 33, 47)
HSLhsl(350, 57%, 30%)
HSVhsv(350, 73%, 47%)
CMYKcmyk(0%, 72.5%, 60.8%, 52.9%)
CIE-LABlab(27.54, 38.56, 13.05)
CIE-LCHlch(27.54, 40.71, 18.70°)
OKLaboklab(39.04% 0.1157 0.0322)
OKLCHoklch(39.04% 0.12 15.5)
XYZxyz(8.8035, 5.2872, 3.2457)
Luminance0.0529 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78212F #21786A
analogous
#78215A #78212F #783F21
triadic
#78212F #2F7821 #212F78
tetradic
#78212F #5A7821 #21786A #3F2178
square
#78212F #5A7821 #21786A #3F2178
split-complementary
#78212F #21783F #215A78
monochromatic
#180709 #48141C #78212F #A82E42 #CC475C

Accessibility & contrast

On white

10.21
#78212F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#78212F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #78212F
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78212F#FFFFFF#000000##FFFFFF
##78212F1.0010.212.0610.21
#FFFFFF10.211.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37362F
Deuteranopia (green-blind)
#4E482D
Tritanopia (blue-blind)
#840C27
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #78212f;
/* rgb */ color: rgb(120, 33, 47);
/* oklch */ color: oklch(39.0% 0.120 15.5);
Tailwind
colors: {
  custom: {
    50: '#a46367',
    500: '#78212f',
    950: '#000000',
  },
}
SCSS
$custom: #78212f;
$custom-light: #a46367;
$custom-dark: #000000;
JSON
{
  "hex": "#78212f",
  "rgb": {
    "r": 120,
    "g": 33,
    "b": 47
  },
  "hsl": {
    "h": 350.345,
    "s": 56.863,
    "l": 30
  },
  "oklch": {
    "l": 0.39038,
    "c": 0.12009,
    "h": 15.5
  },
  "luminance": 0.05286
}

Semantic roles & 50–950 ramp

primary
#78212F
secondary
#4AAB9B
accent
#E0C848
background
#FAF6F6
surface
#F4EBEB
border
#CEC6C6
text
#100606
muted
#7F7A7A

Preview Lab

Preview with #78212F

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

Preview Lab → · Contrast checker → · Palette generator →

#78212F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva