#942837#942837

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

Color values

HEX#942837
RGBrgb(148, 40, 55)
HSLhsl(352, 57%, 37%)
HSVhsv(352, 73%, 58%)
CMYKcmyk(0%, 73%, 62.8%, 42%)
CIE-LABlab(34.17, 45.66, 17.58)
CIE-LCHlch(34.17, 48.93, 21.06°)
OKLaboklab(45.03% 0.1363 0.0427)
OKLCHoklch(45.03% 0.143 17.4)
XYZxyz(13.6625, 8.0913, 4.4560)
Luminance0.0809 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#942837 #289485
analogous
#94286D #942837 #944F28
triadic
#942837 #379428 #283794
tetradic
#942837 #6D9428 #289485 #4F2894
square
#942837 #6D9428 #289485 #4F2894
split-complementary
#942837 #28944F #286D94
monochromatic
#340E13 #641B25 #942837 #C43549 #D56272

Accessibility & contrast

On white

8.02
#942837 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #942837
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##942837#FFFFFF#000000##FFFFFF
##9428371.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #942837;
/* rgb */ color: rgb(148, 40, 55);
/* oklch */ color: oklch(45.0% 0.143 17.4);
Tailwind
colors: {
  custom: {
    50: '#ba6a6d',
    500: '#942837',
    950: '#000000',
  },
}
SCSS
$custom: #942837;
$custom-light: #ba6a6d;
$custom-dark: #000000;
JSON
{
  "hex": "#942837",
  "rgb": {
    "r": 148,
    "g": 40,
    "b": 55
  },
  "hsl": {
    "h": 351.667,
    "s": 57.447,
    "l": 36.863
  },
  "oklch": {
    "l": 0.45031,
    "c": 0.14278,
    "h": 17.4
  },
  "luminance": 0.08089
}

Semantic roles & 50–950 ramp

primary
#942837
secondary
#5EBAAD
accent
#E1CB47
background
#FCF6F6
surface
#F8ECEB
border
#D1C7C6
text
#130707
muted
#827A7A

Preview Lab

Preview with #942837

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

Preview Lab → · Contrast checker → · Palette generator →

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