#781830#781830

#781830 is a dark, vivid red. Relative luminance 0.049; OKLCH L 38.2% C 0.130 H 11.9°. Best body text is #FFFFFF at 10.65:1 contrast (WCAG AA passes).

Color values

HEX#781830
RGBrgb(120, 24, 48)
HSLhsl(345, 67%, 28%)
HSVhsv(345, 80%, 47%)
CMYKcmyk(0%, 80%, 60%, 52.9%)
CIE-LABlab(26.34, 42.05, 10.76)
CIE-LCHlch(26.34, 43.40, 14.35°)
OKLaboklab(38.15% 0.1271 0.0268)
OKLCHoklch(38.15% 0.13 11.9)
XYZxyz(8.6067, 4.8610, 3.2808)
Luminance0.0486 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781830 #187860
analogous
#781860 #781830 #783018
triadic
#781830 #307818 #183078
tetradic
#781830 #607818 #187860 #301878
square
#781830 #607818 #187860 #301878
split-complementary
#781830 #187830 #186078
monochromatic
#1A050A #450E1C #781830 #AB2244 #D6345D

Accessibility & contrast

On white

10.65
#781830 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#781830 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781830
10.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781830#FFFFFF#000000##FFFFFF
##7818301.0010.651.9710.65
#FFFFFF10.651.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#323230
Deuteranopia (green-blind)
#4B452E
Tritanopia (blue-blind)
#840022
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #781830;
/* rgb */ color: rgb(120, 24, 48);
/* oklch */ color: oklch(38.2% 0.130 11.9);
Tailwind
colors: {
  custom: {
    50: '#a55f68',
    500: '#781830',
    950: '#000000',
  },
}
SCSS
$custom: #781830;
$custom-light: #a55f68;
$custom-dark: #000000;
JSON
{
  "hex": "#781830",
  "rgb": {
    "r": 120,
    "g": 24,
    "b": 48
  },
  "hsl": {
    "h": 345,
    "s": 66.667,
    "l": 28.235
  },
  "oklch": {
    "l": 0.38153,
    "c": 0.12987,
    "h": 11.9
  },
  "luminance": 0.0486
}

Semantic roles & 50–950 ramp

primary
#781830
secondary
#3FAD91
accent
#EABF3E
background
#FAF5F6
surface
#F4EAEB
border
#CEC6C6
text
#100506
muted
#7F797A

Preview Lab

Preview with #781830

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

Preview Lab → · Contrast checker → · Palette generator →

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