#842831#842831

#842831 is a dark, vivid red. Relative luminance 0.066; OKLCH L 42.1% C 0.125 H 18.9°. Best body text is #FFFFFF at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#842831
RGBrgb(132, 40, 49)
HSLhsl(354, 53%, 34%)
HSVhsv(354, 70%, 52%)
CMYKcmyk(0%, 69.7%, 62.9%, 48.2%)
CIE-LABlab(30.99, 39.87, 16.72)
CIE-LCHlch(30.99, 43.23, 22.75°)
OKLaboklab(42.05% 0.1187 0.0406)
OKLCHoklch(42.05% 0.125 18.9)
XYZxyz(10.8299, 6.6464, 3.6177)
Luminance0.0664 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842831 #28847B
analogous
#84285F #842831 #844D28
triadic
#842831 #318428 #283184
tetradic
#842831 #5F8428 #28847B #4D2884
square
#842831 #5F8428 #28847B #4D2884
split-complementary
#842831 #28844D #285F84
monochromatic
#260C0E #551A20 #842831 #B33642 #CD5A65

Accessibility & contrast

On white

9.02
#842831 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#842831 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #842831
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##842831#FFFFFF#000000##FFFFFF
##8428311.009.022.339.02
#FFFFFF9.021.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403D31
Deuteranopia (green-blind)
#57502F
Tritanopia (blue-blind)
#91122C
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #842831;
/* rgb */ color: rgb(132, 40, 49);
/* oklch */ color: oklch(42.1% 0.125 18.9);
Tailwind
colors: {
  custom: {
    50: '#ae6869',
    500: '#842831',
    950: '#000000',
  },
}
SCSS
$custom: #842831;
$custom-light: #ae6869;
$custom-dark: #000000;
JSON
{
  "hex": "#842831",
  "rgb": {
    "r": 132,
    "g": 40,
    "b": 49
  },
  "hsl": {
    "h": 354.13,
    "s": 53.488,
    "l": 33.725
  },
  "oklch": {
    "l": 0.42054,
    "c": 0.12543,
    "h": 18.9
  },
  "luminance": 0.06645
}

Semantic roles & 50–950 ramp

primary
#842831
secondary
#56B2A9
accent
#DDCF4B
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110606
muted
#807A7A

Preview Lab

Preview with #842831

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

Preview Lab → · Contrast checker → · Palette generator →

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