#781528#781528

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

Color values

HEX#781528
RGBrgb(120, 21, 40)
HSLhsl(348, 70%, 28%)
HSVhsv(348, 83%, 47%)
CMYKcmyk(0%, 82.5%, 66.7%, 52.9%)
CIE-LABlab(25.81, 42.46, 15.49)
CIE-LCHlch(25.81, 45.20, 20.04°)
OKLaboklab(37.71% 0.1268 0.0372)
OKLCHoklch(37.71% 0.132 16.4)
XYZxyz(8.3978, 4.6839, 2.4690)
Luminance0.0468 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781528 #157865
analogous
#781559 #781528 #783415
triadic
#781528 #287815 #152878
tetradic
#781528 #597815 #157865 #341578
square
#781528 #597815 #157865 #341578
split-complementary
#781528 #157834 #155978
monochromatic
#1A0509 #440C17 #781528 #AC1E39 #DA2D4E

Accessibility & contrast

On white

10.84
#781528 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #781528
10.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781528#FFFFFF#000000##FFFFFF
##7815281.0010.841.9410.84
#FFFFFF10.841.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.841.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #781528;
/* rgb */ color: rgb(120, 21, 40);
/* oklch */ color: oklch(37.7% 0.132 16.4);
Tailwind
colors: {
  custom: {
    50: '#a65e61',
    500: '#781528',
    950: '#000000',
  },
}
SCSS
$custom: #781528;
$custom-light: #a65e61;
$custom-dark: #000000;
JSON
{
  "hex": "#781528",
  "rgb": {
    "r": 120,
    "g": 21,
    "b": 40
  },
  "hsl": {
    "h": 348.485,
    "s": 70.213,
    "l": 27.647
  },
  "oklch": {
    "l": 0.37711,
    "c": 0.13214,
    "h": 16.4
  },
  "luminance": 0.04683
}

Semantic roles & 50–950 ramp

primary
#781528
secondary
#3BAE98
accent
#EDCB3B
background
#FAF5F5
surface
#F4E9E9
border
#CEC5C5
text
#110505
muted
#807979

Preview Lab

Preview with #781528

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

Preview Lab → · Contrast checker → · Palette generator →

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