#842337#842337

#842337 is a dark, vivid red. Relative luminance 0.064; OKLCH L 41.6% C 0.131 H 13.1°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#842337
RGBrgb(132, 35, 55)
HSLhsl(348, 58%, 33%)
HSVhsv(348, 73%, 52%)
CMYKcmyk(0%, 73.5%, 58.3%, 48.2%)
CIE-LABlab(30.36, 42.39, 11.95)
CIE-LCHlch(30.36, 44.04, 15.74°)
OKLaboklab(41.63% 0.1278 0.0298)
OKLCHoklch(41.63% 0.131 13.1)
XYZxyz(10.8074, 6.3849, 4.2770)
Luminance0.0638 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842337 #238470
analogous
#842367 #842337 #843F23
triadic
#842337 #378423 #233784
tetradic
#842337 #678423 #238470 #3F2384
square
#842337 #678423 #238470 #3F2384
split-complementary
#842337 #23843F #236784
monochromatic
#23090F #541623 #842337 #B4304B #D1516B

Accessibility & contrast

On white

9.22
#842337 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#842337 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #842337
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##842337#FFFFFF#000000##FFFFFF
##8423371.009.222.289.22
#FFFFFF9.221.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3B37
Deuteranopia (green-blind)
#554F35
Tritanopia (blue-blind)
#910B2B
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #842337;
/* rgb */ color: rgb(132, 35, 55);
/* oklch */ color: oklch(41.6% 0.131 13.1);
Tailwind
colors: {
  custom: {
    50: '#ad666d',
    500: '#842337',
    950: '#000000',
  },
}
SCSS
$custom: #842337;
$custom-light: #ad666d;
$custom-dark: #000000;
JSON
{
  "hex": "#842337",
  "rgb": {
    "r": 132,
    "g": 35,
    "b": 55
  },
  "hsl": {
    "h": 347.629,
    "s": 58.084,
    "l": 32.745
  },
  "oklch": {
    "l": 0.41631,
    "c": 0.13126,
    "h": 13.1
  },
  "luminance": 0.06383
}

Semantic roles & 50–950 ramp

primary
#842337
secondary
#4EB49F
accent
#E1C146
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110607
muted
#807A7A

Preview Lab

Preview with #842337

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

Preview Lab → · Contrast checker → · Palette generator →

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