#841B27#841B27

#841B27 is a dark, vivid red. Relative luminance 0.058; OKLCH L 40.5% C 0.139 H 20.4°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#841B27
RGBrgb(132, 27, 39)
HSLhsl(353, 66%, 31%)
HSVhsv(353, 80%, 52%)
CMYKcmyk(0%, 79.5%, 70.5%, 48.2%)
CIE-LABlab(29.00, 44.23, 20.70)
CIE-LCHlch(29.00, 48.83, 25.08°)
OKLaboklab(40.51% 0.1305 0.0484)
OKLCHoklch(40.51% 0.139 20.4)
XYZxyz(10.2750, 5.8375, 2.5048)
Luminance0.0584 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#841B27 #1B8478
analogous
#841B5B #841B27 #84431B
triadic
#841B27 #27841B #1B2784
tetradic
#841B27 #5B841B #1B8478 #431B84
square
#841B27 #5B841B #1B8478 #431B84
split-complementary
#841B27 #1B8443 #1B5B84
monochromatic
#1E0609 #511118 #841B27 #B72536 #D84152

Accessibility & contrast

On white

9.69
#841B27 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#841B27 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #841B27
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##841B27#FFFFFF#000000##FFFFFF
##841B271.009.692.179.69
#FFFFFF9.691.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3627
Deuteranopia (green-blind)
#544C24
Tritanopia (blue-blind)
#910021
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #841b27;
/* rgb */ color: rgb(132, 27, 39);
/* oklch */ color: oklch(40.5% 0.139 20.4);
Tailwind
colors: {
  custom: {
    50: '#af6261',
    500: '#841b27',
    950: '#000000',
  },
}
SCSS
$custom: #841b27;
$custom-light: #af6261;
$custom-dark: #000000;
JSON
{
  "hex": "#841b27",
  "rgb": {
    "r": 132,
    "g": 27,
    "b": 39
  },
  "hsl": {
    "h": 353.143,
    "s": 66.038,
    "l": 31.176
  },
  "oklch": {
    "l": 0.40514,
    "c": 0.13915,
    "h": 20.4
  },
  "luminance": 0.05836
}

Semantic roles & 50–950 ramp

primary
#841B27
secondary
#43B7AA
accent
#E9D63F
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#120605
muted
#817A79

Preview Lab

Preview with #841B27

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

Preview Lab → · Contrast checker → · Palette generator →

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