#942817#942817

#942817 is a dark, vivid red. Relative luminance 0.079; OKLCH L 44.6% C 0.147 H 31.8°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#942817
RGBrgb(148, 40, 23)
HSLhsl(8, 73%, 34%)
HSVhsv(8, 84%, 58%)
CMYKcmyk(0%, 73%, 84.5%, 42%)
CIE-LABlab(33.73, 44.12, 36.35)
CIE-LCHlch(33.73, 57.16, 39.48°)
OKLaboklab(44.56% 0.1246 0.0771)
OKLCHoklch(44.56% 0.147 31.8)
XYZxyz(13.1278, 7.8774, 1.6397)
Luminance0.0788 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#942817 #178394
analogous
#941744 #942817 #946617
triadic
#942817 #179428 #281794
tetradic
#942817 #449417 #178394 #661794
square
#942817 #449417 #178394 #661794
split-complementary
#942817 #179466 #174494
monochromatic
#2A0B07 #5F1A0F #942817 #C9361F #E25944

Accessibility & contrast

On white

8.16
#942817 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#942817 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #942817
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##942817#FFFFFF#000000##FFFFFF
##9428171.008.162.588.16
#FFFFFF8.161.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484014
Deuteranopia (green-blind)
#635811
Tritanopia (blue-blind)
#A30025
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #942817;
/* rgb */ color: rgb(148, 40, 23);
/* oklch */ color: oklch(44.6% 0.147 31.8);
Tailwind
colors: {
  custom: {
    50: '#bc6a56',
    500: '#942817',
    950: '#000000',
  },
}
SCSS
$custom: #942817;
$custom-light: #bc6a56;
$custom-dark: #000000;
JSON
{
  "hex": "#942817",
  "rgb": {
    "r": 148,
    "g": 40,
    "b": 23
  },
  "hsl": {
    "h": 8.16,
    "s": 73.099,
    "l": 33.529
  },
  "oklch": {
    "l": 0.44556,
    "c": 0.14655,
    "h": 31.8
  },
  "luminance": 0.07875
}

Semantic roles & 50–950 ramp

primary
#942817
secondary
#44B1C3
accent
#D7F038
background
#FCF6F5
surface
#F9EBE9
border
#D2C6C5
text
#140703
muted
#827A78

Preview Lab

Preview with #942817

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

Preview Lab → · Contrast checker → · Palette generator →

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