#842826#842826

#842826 is a dark, vivid red. Relative luminance 0.066; OKLCH L 41.8% C 0.127 H 25.5°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#842826
RGBrgb(132, 40, 38)
HSLhsl(1, 55%, 33%)
HSVhsv(1, 71%, 52%)
CMYKcmyk(0%, 69.7%, 71.2%, 48.2%)
CIE-LABlab(30.79, 39.16, 23.53)
CIE-LCHlch(30.79, 45.69, 30.99°)
OKLaboklab(41.85% 0.1142 0.0545)
OKLCHoklch(41.85% 0.127 25.5)
XYZxyz(10.6255, 6.5646, 2.5409)
Luminance0.0656 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842826 #268284
analogous
#842653 #842826 #845726
triadic
#842826 #268428 #282684
tetradic
#842826 #538426 #268284 #572684
square
#842826 #538426 #268284 #572684
split-complementary
#842826 #268457 #265384
monochromatic
#250B0B #541A18 #842826 #B43634 #CE5956

Accessibility & contrast

On white

9.08
#842826 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#842826 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #842826
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##842826#FFFFFF#000000##FFFFFF
##8428261.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413C25
Deuteranopia (green-blind)
#585023
Tritanopia (blue-blind)
#910E28
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #842826;
/* rgb */ color: rgb(132, 40, 38);
/* oklch */ color: oklch(41.8% 0.127 25.5);
Tailwind
colors: {
  custom: {
    50: '#ae6860',
    500: '#842826',
    950: '#000000',
  },
}
SCSS
$custom: #842826;
$custom-light: #ae6860;
$custom-dark: #000000;
JSON
{
  "hex": "#842826",
  "rgb": {
    "r": 132,
    "g": 40,
    "b": 38
  },
  "hsl": {
    "h": 1.277,
    "s": 55.294,
    "l": 33.333
  },
  "oklch": {
    "l": 0.41847,
    "c": 0.1265,
    "h": 25.5
  },
  "luminance": 0.06563
}

Semantic roles & 50–950 ramp

primary
#842826
secondary
#53B1B3
accent
#DBDF49
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#120605
muted
#817A79

Preview Lab

Preview with #842826

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

Preview Lab → · Contrast checker → · Palette generator →

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