#942836#942836

#942836 is a mid, vivid red. Relative luminance 0.081; OKLCH L 45.0% C 0.143 H 17.9°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#942836
RGBrgb(148, 40, 54)
HSLhsl(352, 57%, 37%)
HSVhsv(352, 73%, 58%)
CMYKcmyk(0%, 73%, 63.5%, 42%)
CIE-LABlab(34.15, 45.59, 18.20)
CIE-LCHlch(34.15, 49.09, 21.76°)
OKLaboklab(45.01% 0.1359 0.044)
OKLCHoklch(45.01% 0.143 17.9)
XYZxyz(13.6388, 8.0818, 4.3311)
Luminance0.0808 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#942836 #289486
analogous
#94286C #942836 #945028
triadic
#942836 #369428 #283694
tetradic
#942836 #6C9428 #289486 #502894
square
#942836 #6C9428 #289486 #502894
split-complementary
#942836 #289450 #286C94
monochromatic
#340E13 #641B24 #942836 #C43548 #D56271

Accessibility & contrast

On white

8.03
#942836 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#942836 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #942836
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##942836#FFFFFF#000000##FFFFFF
##9428361.008.032.628.03
#FFFFFF8.031.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#454236
Deuteranopia (green-blind)
#615933
Tritanopia (blue-blind)
#A2072E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #942836;
/* rgb */ color: rgb(148, 40, 54);
/* oklch */ color: oklch(45.0% 0.143 17.9);
Tailwind
colors: {
  custom: {
    50: '#ba6a6c',
    500: '#942836',
    950: '#000000',
  },
}
SCSS
$custom: #942836;
$custom-light: #ba6a6c;
$custom-dark: #000000;
JSON
{
  "hex": "#942836",
  "rgb": {
    "r": 148,
    "g": 40,
    "b": 54
  },
  "hsl": {
    "h": 352.222,
    "s": 57.447,
    "l": 36.863
  },
  "oklch": {
    "l": 0.45011,
    "c": 0.14279,
    "h": 17.9
  },
  "luminance": 0.0808
}

Semantic roles & 50–950 ramp

primary
#942836
secondary
#5EBAAE
accent
#E1CD47
background
#FCF6F6
surface
#F8ECEB
border
#D1C7C6
text
#130707
muted
#827A7A

Preview Lab

Preview with #942836

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

Preview Lab → · Contrast checker → · Palette generator →

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