#842728#842728

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

Color values

HEX#842728
RGBrgb(132, 39, 40)
HSLhsl(359, 54%, 34%)
HSVhsv(359, 70%, 52%)
CMYKcmyk(0%, 70.5%, 69.7%, 48.2%)
CIE-LABlab(30.67, 39.71, 22.11)
CIE-LCHlch(30.67, 45.45, 29.10°)
OKLaboklab(41.76% 0.1163 0.0517)
OKLCHoklch(41.76% 0.127 24)
XYZxyz(10.6254, 6.5113, 2.7044)
Luminance0.0651 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842728 #278483
analogous
#842756 #842728 #845427
triadic
#842728 #288427 #272884
tetradic
#842728 #568427 #278483 #542784
square
#842728 #568427 #278483 #542784
split-complementary
#842728 #278454 #275684
monochromatic
#260B0B #55191A #842728 #B33536 #CE5859

Accessibility & contrast

On white

9.12
#842728 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#842728 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #842728
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##842728#FFFFFF#000000##FFFFFF
##8427281.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413C27
Deuteranopia (green-blind)
#585025
Tritanopia (blue-blind)
#910D28
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #842728;
/* rgb */ color: rgb(132, 39, 40);
/* oklch */ color: oklch(41.8% 0.127 24.0);
Tailwind
colors: {
  custom: {
    50: '#ae6762',
    500: '#842728',
    950: '#000000',
  },
}
SCSS
$custom: #842728;
$custom-light: #ae6762;
$custom-dark: #000000;
JSON
{
  "hex": "#842728",
  "rgb": {
    "r": 132,
    "g": 39,
    "b": 40
  },
  "hsl": {
    "h": 359.355,
    "s": 54.386,
    "l": 33.529
  },
  "oklch": {
    "l": 0.41762,
    "c": 0.12729,
    "h": 24
  },
  "luminance": 0.0651
}

Semantic roles & 50–950 ramp

primary
#842728
secondary
#54B2B1
accent
#DEDC4A
background
#FBF6F5
surface
#F6EBEA
border
#D0C6C6
text
#120605
muted
#817A79

Preview Lab

Preview with #842728

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

Preview Lab → · Contrast checker → · Palette generator →

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