#841731#841731

#841731 is a dark, vivid red. Relative luminance 0.057; OKLCH L 40.4% C 0.143 H 13.7°. Best body text is #FFFFFF at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#841731
RGBrgb(132, 23, 49)
HSLhsl(346, 70%, 30%)
HSVhsv(346, 83%, 52%)
CMYKcmyk(0%, 82.6%, 62.9%, 48.2%)
CIE-LABlab(28.75, 46.09, 13.77)
CIE-LCHlch(28.75, 48.10, 16.63°)
OKLaboklab(40.39% 0.1386 0.0337)
OKLCHoklch(40.39% 0.143 13.7)
XYZxyz(10.3776, 5.7416, 3.4669)
Luminance0.0574 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#841731 #17846A
analogous
#841767 #841731 #843317
triadic
#841731 #318417 #173184
tetradic
#841731 #678417 #17846A #331784
square
#841731 #678417 #17846A #331784
split-complementary
#841731 #178433 #176784
monochromatic
#1C050A #500E1E #841731 #B82044 #DC3960

Accessibility & contrast

On white

9.78
#841731 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#841731 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #841731
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##841731#FFFFFF#000000##FFFFFF
##8417311.009.782.159.78
#FFFFFF9.781.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373531
Deuteranopia (green-blind)
#524C2E
Tritanopia (blue-blind)
#910022
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #841731;
/* rgb */ color: rgb(132, 23, 49);
/* oklch */ color: oklch(40.4% 0.143 13.7);
Tailwind
colors: {
  custom: {
    50: '#ae6168',
    500: '#841731',
    950: '#000000',
  },
}
SCSS
$custom: #841731;
$custom-light: #ae6168;
$custom-dark: #000000;
JSON
{
  "hex": "#841731",
  "rgb": {
    "r": 132,
    "g": 23,
    "b": 49
  },
  "hsl": {
    "h": 345.688,
    "s": 70.323,
    "l": 30.392
  },
  "oklch": {
    "l": 0.40393,
    "c": 0.14266,
    "h": 13.7
  },
  "luminance": 0.0574
}

Semantic roles & 50–950 ramp

primary
#841731
secondary
#3FB89B
accent
#EDC33B
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#120506
muted
#817A7A

Preview Lab

Preview with #841731

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

Preview Lab → · Contrast checker → · Palette generator →

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