#78231F#78231F

#78231F is a dark, moderate red. Relative luminance 0.053; OKLCH L 39.0% C 0.119 H 26.9°. Best body text is #FFFFFF at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#78231F
RGBrgb(120, 35, 31)
HSLhsl(3, 59%, 30%)
HSVhsv(3, 74%, 47%)
CMYKcmyk(0%, 70.8%, 74.2%, 52.9%)
CIE-LABlab(27.56, 36.67, 23.54)
CIE-LCHlch(27.56, 43.57, 32.70°)
OKLaboklab(38.96% 0.1063 0.0538)
OKLCHoklch(38.96% 0.119 26.9)
XYZxyz(8.5950, 5.2953, 1.8656)
Luminance0.0529 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78231F #1F7478
analogous
#781F47 #78231F #78501F
triadic
#78231F #1F7823 #231F78
tetradic
#78231F #47781F #1F7478 #501F78
square
#78231F #47781F #1F7478 #501F78
split-complementary
#78231F #1F7850 #1F4778
monochromatic
#180706 #471512 #78231F #A9312C #CE4943

Accessibility & contrast

On white

10.20
#78231F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #78231F
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78231F#FFFFFF#000000##FFFFFF
##78231F1.0010.202.0610.20
#FFFFFF10.201.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B351E
Deuteranopia (green-blind)
#50481C
Tritanopia (blue-blind)
#840A23
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #78231f;
/* rgb */ color: rgb(120, 35, 31);
/* oklch */ color: oklch(39.0% 0.119 26.9);
Tailwind
colors: {
  custom: {
    50: '#a6635b',
    500: '#78231f',
    950: '#000000',
  },
}
SCSS
$custom: #78231f;
$custom-light: #a6635b;
$custom-dark: #000000;
JSON
{
  "hex": "#78231f",
  "rgb": {
    "r": 120,
    "g": 35,
    "b": 31
  },
  "hsl": {
    "h": 2.697,
    "s": 58.94,
    "l": 29.608
  },
  "oklch": {
    "l": 0.3896,
    "c": 0.11914,
    "h": 26.9
  },
  "luminance": 0.05294
}

Semantic roles & 50–950 ramp

primary
#78231F
secondary
#47A7AB
accent
#DBE246
background
#FAF6F5
surface
#F5EBE9
border
#CFC6C5
text
#110604
muted
#807A79

Preview Lab

Preview with #78231F

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

Preview Lab → · Contrast checker → · Palette generator →

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