#842236#842236

#842236 is a dark, vivid red. Relative luminance 0.063; OKLCH L 41.5% C 0.132 H 13.5°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#842236
RGBrgb(132, 34, 54)
HSLhsl(348, 59%, 33%)
HSVhsv(348, 74%, 52%)
CMYKcmyk(0%, 74.2%, 59.1%, 48.2%)
CIE-LABlab(30.20, 42.70, 12.39)
CIE-LCHlch(30.20, 44.46, 16.18°)
OKLaboklab(41.5% 0.1287 0.0308)
OKLCHoklch(41.5% 0.132 13.5)
XYZxyz(10.7546, 6.3174, 4.1424)
Luminance0.0632 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842236 #228470
analogous
#842267 #842236 #843F22
triadic
#842236 #368422 #223684
tetradic
#842236 #678422 #228470 #3F2284
square
#842236 #678422 #228470 #3F2284
split-complementary
#842236 #22843F #226784
monochromatic
#23090E #531522 #842236 #B52F4A #D24F69

Accessibility & contrast

On white

9.28
#842236 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#842236 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #842236
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##842236#FFFFFF#000000##FFFFFF
##8422361.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3A36
Deuteranopia (green-blind)
#554E33
Tritanopia (blue-blind)
#91072A
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #842236;
/* rgb */ color: rgb(132, 34, 54);
/* oklch */ color: oklch(41.5% 0.132 13.5);
Tailwind
colors: {
  custom: {
    50: '#ae656c',
    500: '#842236',
    950: '#000000',
  },
}
SCSS
$custom: #842236;
$custom-light: #ae656c;
$custom-dark: #000000;
JSON
{
  "hex": "#842236",
  "rgb": {
    "r": 132,
    "g": 34,
    "b": 54
  },
  "hsl": {
    "h": 347.755,
    "s": 59.036,
    "l": 32.549
  },
  "oklch": {
    "l": 0.41502,
    "c": 0.1323,
    "h": 13.5
  },
  "luminance": 0.06316
}

Semantic roles & 50–950 ramp

primary
#842236
secondary
#4DB5A0
accent
#E2C246
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110607
muted
#807A7A

Preview Lab

Preview with #842236

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

Preview Lab → · Contrast checker → · Palette generator →

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