#841728#841728

#841728 is a dark, vivid red. Relative luminance 0.057; OKLCH L 40.2% C 0.142 H 18.8°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#841728
RGBrgb(132, 23, 40)
HSLhsl(351, 70%, 30%)
HSVhsv(351, 83%, 52%)
CMYKcmyk(0%, 82.6%, 69.7%, 48.2%)
CIE-LABlab(28.57, 45.53, 19.52)
CIE-LCHlch(28.57, 49.54, 23.20°)
OKLaboklab(40.2% 0.1349 0.0459)
OKLCHoklch(40.2% 0.142 18.8)
XYZxyz(10.2063, 5.6731, 2.5647)
Luminance0.0567 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#841728 #178473
analogous
#84175E #841728 #843C17
triadic
#841728 #288417 #172884
tetradic
#841728 #5E8417 #178473 #3C1784
square
#841728 #5E8417 #178473 #3C1784
split-complementary
#841728 #17843C #175E84
monochromatic
#1C0508 #500E18 #841728 #B82038 #DC3952

Accessibility & contrast

On white

9.84
#841728 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#841728 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #841728
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##841728#FFFFFF#000000##FFFFFF
##8417281.009.842.139.84
#FFFFFF9.841.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383528
Deuteranopia (green-blind)
#534C25
Tritanopia (blue-blind)
#91001F
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #841728;
/* rgb */ color: rgb(132, 23, 40);
/* oklch */ color: oklch(40.2% 0.142 18.8);
Tailwind
colors: {
  custom: {
    50: '#af6061',
    500: '#841728',
    950: '#000000',
  },
}
SCSS
$custom: #841728;
$custom-light: #af6061;
$custom-dark: #000000;
JSON
{
  "hex": "#841728",
  "rgb": {
    "r": 132,
    "g": 23,
    "b": 40
  },
  "hsl": {
    "h": 350.642,
    "s": 70.323,
    "l": 30.392
  },
  "oklch": {
    "l": 0.40203,
    "c": 0.14248,
    "h": 18.8
  },
  "luminance": 0.05672
}

Semantic roles & 50–950 ramp

primary
#841728
secondary
#3FB8A5
accent
#EDD13B
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#120505
muted
#817A79

Preview Lab

Preview with #841728

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

Preview Lab → · Contrast checker → · Palette generator →

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