#841827#841827

#841827 is a dark, vivid red. Relative luminance 0.057; OKLCH L 40.3% C 0.142 H 19.6°. Best body text is #FFFFFF at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#841827
RGBrgb(132, 24, 39)
HSLhsl(352, 69%, 31%)
HSVhsv(352, 82%, 52%)
CMYKcmyk(0%, 81.8%, 70.5%, 48.2%)
CIE-LABlab(28.66, 45.18, 20.29)
CIE-LCHlch(28.66, 49.52, 24.18°)
OKLaboklab(40.26% 0.1335 0.0475)
OKLCHoklch(40.26% 0.142 19.6)
XYZxyz(10.2097, 5.7069, 2.4830)
Luminance0.0570 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#841827 #188475
analogous
#84185D #841827 #843F18
triadic
#841827 #278418 #182784
tetradic
#841827 #5D8418 #188475 #3F1884
square
#841827 #5D8418 #188475 #3F1884
split-complementary
#841827 #18843F #185D84
monochromatic
#1C0508 #500F18 #841827 #B82136 #DB3B51

Accessibility & contrast

On white

9.81
#841827 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#841827 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #841827
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##841827#FFFFFF#000000##FFFFFF
##8418271.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393527
Deuteranopia (green-blind)
#544C24
Tritanopia (blue-blind)
#92001F
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #841827;
/* rgb */ color: rgb(132, 24, 39);
/* oklch */ color: oklch(40.3% 0.142 19.6);
Tailwind
colors: {
  custom: {
    50: '#af6161',
    500: '#841827',
    950: '#000000',
  },
}
SCSS
$custom: #841827;
$custom-light: #af6161;
$custom-dark: #000000;
JSON
{
  "hex": "#841827",
  "rgb": {
    "r": 132,
    "g": 24,
    "b": 39
  },
  "hsl": {
    "h": 351.667,
    "s": 69.231,
    "l": 30.588
  },
  "oklch": {
    "l": 0.40263,
    "c": 0.1417,
    "h": 19.6
  },
  "luminance": 0.05705
}

Semantic roles & 50–950 ramp

primary
#841827
secondary
#40B8A7
accent
#ECD43C
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#120505
muted
#817A79

Preview Lab

Preview with #841827

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

Preview Lab → · Contrast checker → · Palette generator →

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