#841F28#841F28

#841F28 is a dark, vivid red. Relative luminance 0.060; OKLCH L 40.9% C 0.135 H 21.0°. Best body text is #FFFFFF at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#841F28
RGBrgb(132, 31, 40)
HSLhsl(355, 62%, 32%)
HSVhsv(355, 77%, 52%)
CMYKcmyk(0%, 76.5%, 69.7%, 48.2%)
CIE-LABlab(29.51, 42.89, 20.69)
CIE-LCHlch(29.51, 47.62, 25.75°)
OKLaboklab(40.9% 0.1264 0.0485)
OKLCHoklch(40.9% 0.135 21)
XYZxyz(10.3898, 6.0403, 2.6259)
Luminance0.0604 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#841F28 #1F847B
analogous
#841F5B #841F28 #84481F
triadic
#841F28 #28841F #1F2884
tetradic
#841F28 #5B841F #1F847B #481F84
square
#841F28 #5B841F #1F847B #481F84
split-complementary
#841F28 #1F8448 #1F5B84
monochromatic
#21080A #521319 #841F28 #B62B37 #D44956

Accessibility & contrast

On white

9.51
#841F28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#841F28 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #841F28
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##841F28#FFFFFF#000000##FFFFFF
##841F281.009.512.219.51
#FFFFFF9.511.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3828
Deuteranopia (green-blind)
#554D25
Tritanopia (blue-blind)
#910023
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #841f28;
/* rgb */ color: rgb(132, 31, 40);
/* oklch */ color: oklch(40.9% 0.135 21.0);
Tailwind
colors: {
  custom: {
    50: '#af6461',
    500: '#841f28',
    950: '#000000',
  },
}
SCSS
$custom: #841f28;
$custom-light: #af6461;
$custom-dark: #000000;
JSON
{
  "hex": "#841f28",
  "rgb": {
    "r": 132,
    "g": 31,
    "b": 40
  },
  "hsl": {
    "h": 354.653,
    "s": 61.963,
    "l": 31.961
  },
  "oklch": {
    "l": 0.40902,
    "c": 0.13542,
    "h": 21
  },
  "luminance": 0.06039
}

Semantic roles & 50–950 ramp

primary
#841F28
secondary
#48B7AD
accent
#E5D743
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#120605
muted
#817A79

Preview Lab

Preview with #841F28

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

Preview Lab → · Contrast checker → · Palette generator →

#841F28 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva