#842335#842335

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

Color values

HEX#842335
RGBrgb(132, 35, 53)
HSLhsl(349, 58%, 33%)
HSVhsv(349, 73%, 52%)
CMYKcmyk(0%, 73.5%, 59.8%, 48.2%)
CIE-LABlab(30.32, 42.23, 13.21)
CIE-LCHlch(30.32, 44.25, 17.37°)
OKLaboklab(41.58% 0.127 0.0327)
OKLCHoklch(41.58% 0.131 14.4)
XYZxyz(10.7604, 6.3662, 4.0296)
Luminance0.0636 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842335 #238472
analogous
#842365 #842335 #844123
triadic
#842335 #358423 #233584
tetradic
#842335 #658423 #238472 #412384
square
#842335 #658423 #238472 #412384
split-complementary
#842335 #238441 #236584
monochromatic
#23090E #541622 #842335 #B43048 #D15168

Accessibility & contrast

On white

9.24
#842335 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#842335 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #842335
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##842335#FFFFFF#000000##FFFFFF
##8423351.009.242.279.24
#FFFFFF9.241.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3B35
Deuteranopia (green-blind)
#554F32
Tritanopia (blue-blind)
#91092A
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #842335;
/* rgb */ color: rgb(132, 35, 53);
/* oklch */ color: oklch(41.6% 0.131 14.4);
Tailwind
colors: {
  custom: {
    50: '#ae666c',
    500: '#842335',
    950: '#000000',
  },
}
SCSS
$custom: #842335;
$custom-light: #ae666c;
$custom-dark: #000000;
JSON
{
  "hex": "#842335",
  "rgb": {
    "r": 132,
    "g": 35,
    "b": 53
  },
  "hsl": {
    "h": 348.866,
    "s": 58.084,
    "l": 32.745
  },
  "oklch": {
    "l": 0.41582,
    "c": 0.13113,
    "h": 14.4
  },
  "luminance": 0.06365
}

Semantic roles & 50–950 ramp

primary
#842335
secondary
#4EB4A2
accent
#E1C546
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110606
muted
#807A7A

Preview Lab

Preview with #842335

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

Preview Lab → · Contrast checker → · Palette generator →

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