#842038#842038

#842038 is a dark, vivid red. Relative luminance 0.062; OKLCH L 41.3% C 0.135 H 11.6°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#842038
RGBrgb(132, 32, 56)
HSLhsl(346, 61%, 32%)
HSVhsv(346, 76%, 52%)
CMYKcmyk(0%, 75.8%, 57.6%, 48.2%)
CIE-LABlab(29.97, 43.61, 10.76)
CIE-LCHlch(29.97, 44.92, 13.86°)
OKLaboklab(41.35% 0.1319 0.027)
OKLCHoklch(41.35% 0.135 11.6)
XYZxyz(10.7471, 6.2256, 4.3764)
Luminance0.0622 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842038 #20846C
analogous
#84206A #842038 #843A20
triadic
#842038 #388420 #203884
tetradic
#842038 #6A8420 #20846C #3A2084
square
#842038 #6A8420 #20846C #3A2084
split-complementary
#842038 #20843A #206A84
monochromatic
#21080E #531423 #842038 #B52C4D #D34B6C

Accessibility & contrast

On white

9.35
#842038 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#842038 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #842038
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##842038#FFFFFF#000000##FFFFFF
##8420381.009.352.249.35
#FFFFFF9.351.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3A38
Deuteranopia (green-blind)
#544E35
Tritanopia (blue-blind)
#91042A
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #842038;
/* rgb */ color: rgb(132, 32, 56);
/* oklch */ color: oklch(41.3% 0.135 11.6);
Tailwind
colors: {
  custom: {
    50: '#ad646e',
    500: '#842038',
    950: '#000000',
  },
}
SCSS
$custom: #842038;
$custom-light: #ad646e;
$custom-dark: #000000;
JSON
{
  "hex": "#842038",
  "rgb": {
    "r": 132,
    "g": 32,
    "b": 56
  },
  "hsl": {
    "h": 345.6,
    "s": 60.976,
    "l": 32.157
  },
  "oklch": {
    "l": 0.4135,
    "c": 0.13466,
    "h": 11.6
  },
  "luminance": 0.06224
}

Semantic roles & 50–950 ramp

primary
#842038
secondary
#4AB69C
accent
#E4BE44
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110607
muted
#807A7A

Preview Lab

Preview with #842038

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

Preview Lab → · Contrast checker → · Palette generator →

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