#781527#781527

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

Color values

HEX#781527
RGBrgb(120, 21, 39)
HSLhsl(349, 70%, 28%)
HSVhsv(349, 83%, 47%)
CMYKcmyk(0%, 82.5%, 67.5%, 52.9%)
CIE-LABlab(25.79, 42.40, 16.14)
CIE-LCHlch(25.79, 45.36, 20.84°)
OKLaboklab(37.69% 0.1264 0.0386)
OKLCHoklch(37.69% 0.132 17)
XYZxyz(8.3810, 4.6772, 2.3805)
Luminance0.0468 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781527 #157866
analogous
#781558 #781527 #783415
triadic
#781527 #277815 #152778
tetradic
#781527 #587815 #157866 #341578
square
#781527 #587815 #157866 #341578
split-complementary
#781527 #157834 #155878
monochromatic
#1A0508 #440C16 #781527 #AC1E38 #DA2D4D

Accessibility & contrast

On white

10.85
#781527 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#781527 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781527
10.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781527#FFFFFF#000000##FFFFFF
##7815271.0010.851.9410.85
#FFFFFF10.851.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#323027
Deuteranopia (green-blind)
#4B4424
Tritanopia (blue-blind)
#84001D
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #781527;
/* rgb */ color: rgb(120, 21, 39);
/* oklch */ color: oklch(37.7% 0.132 17.0);
Tailwind
colors: {
  custom: {
    50: '#a65d60',
    500: '#781527',
    950: '#000000',
  },
}
SCSS
$custom: #781527;
$custom-light: #a65d60;
$custom-dark: #000000;
JSON
{
  "hex": "#781527",
  "rgb": {
    "r": 120,
    "g": 21,
    "b": 39
  },
  "hsl": {
    "h": 349.091,
    "s": 70.213,
    "l": 27.647
  },
  "oklch": {
    "l": 0.3769,
    "c": 0.13212,
    "h": 17
  },
  "luminance": 0.04676
}

Semantic roles & 50–950 ramp

primary
#781527
secondary
#3BAE99
accent
#EDCD3B
background
#FAF5F5
surface
#F4E9E9
border
#CEC5C5
text
#110505
muted
#807979

Preview Lab

Preview with #781527

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

Preview Lab → · Contrast checker → · Palette generator →

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