#942831#942831

#942831 is a dark, vivid red. Relative luminance 0.080; OKLCH L 44.9% C 0.143 H 20.7°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#942831
RGBrgb(148, 40, 49)
HSLhsl(355, 57%, 37%)
HSVhsv(355, 73%, 58%)
CMYKcmyk(0%, 73%, 66.9%, 42%)
CIE-LABlab(34.06, 45.28, 21.27)
CIE-LCHlch(34.06, 50.02, 25.17°)
OKLaboklab(44.91% 0.1338 0.0505)
OKLCHoklch(44.91% 0.143 20.7)
XYZxyz(13.5273, 8.0372, 3.7442)
Luminance0.0804 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#942831 #28948B
analogous
#942867 #942831 #945528
triadic
#942831 #319428 #283194
tetradic
#942831 #679428 #28948B #552894
square
#942831 #679428 #28948B #552894
split-complementary
#942831 #289455 #286794
monochromatic
#340E11 #641B21 #942831 #C43541 #D5626B

Accessibility & contrast

On white

8.06
#942831 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#942831 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #942831
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##942831#FFFFFF#000000##FFFFFF
##9428311.008.062.618.06
#FFFFFF8.061.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#464131
Deuteranopia (green-blind)
#61582E
Tritanopia (blue-blind)
#A3042C
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #942831;
/* rgb */ color: rgb(148, 40, 49);
/* oklch */ color: oklch(44.9% 0.143 20.7);
Tailwind
colors: {
  custom: {
    50: '#ba6a69',
    500: '#942831',
    950: '#000000',
  },
}
SCSS
$custom: #942831;
$custom-light: #ba6a69;
$custom-dark: #000000;
JSON
{
  "hex": "#942831",
  "rgb": {
    "r": 148,
    "g": 40,
    "b": 49
  },
  "hsl": {
    "h": 355,
    "s": 57.447,
    "l": 36.863
  },
  "oklch": {
    "l": 0.44912,
    "c": 0.143,
    "h": 20.7
  },
  "luminance": 0.08035
}

Semantic roles & 50–950 ramp

primary
#942831
secondary
#5EBAB2
accent
#E1D447
background
#FCF6F6
surface
#F8EBEB
border
#D1C6C6
text
#130706
muted
#827A7A

Preview Lab

Preview with #942831

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

Preview Lab → · Contrast checker → · Palette generator →

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