#942A17#942A17

#942A17 is a dark, vivid red. Relative luminance 0.080; OKLCH L 44.8% C 0.145 H 32.5°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#942A17
RGBrgb(148, 42, 23)
HSLhsl(9, 73%, 34%)
HSVhsv(9, 84%, 58%)
CMYKcmyk(0%, 71.6%, 84.5%, 42%)
CIE-LABlab(34.02, 43.33, 36.61)
CIE-LCHlch(34.02, 56.72, 40.20°)
OKLaboklab(44.77% 0.1221 0.0777)
OKLCHoklch(44.77% 0.145 32.5)
XYZxyz(13.1969, 8.0157, 1.6628)
Luminance0.0801 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#942A17 #178194
analogous
#941742 #942A17 #946817
triadic
#942A17 #17942A #2A1794
tetradic
#942A17 #429417 #178194 #681794
square
#942A17 #429417 #178194 #681794
split-complementary
#942A17 #179468 #174294
monochromatic
#2A0C07 #5F1B0F #942A17 #C9391F #E25C44

Accessibility & contrast

On white

8.07
#942A17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#942A17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #942A17
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##942A17#FFFFFF#000000##FFFFFF
##942A171.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4113
Deuteranopia (green-blind)
#645911
Tritanopia (blue-blind)
#A30027
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #942a17;
/* rgb */ color: rgb(148, 42, 23);
/* oklch */ color: oklch(44.8% 0.145 32.5);
Tailwind
colors: {
  custom: {
    50: '#bc6b56',
    500: '#942a17',
    950: '#000000',
  },
}
SCSS
$custom: #942a17;
$custom-light: #bc6b56;
$custom-dark: #000000;
JSON
{
  "hex": "#942a17",
  "rgb": {
    "r": 148,
    "g": 42,
    "b": 23
  },
  "hsl": {
    "h": 9.12,
    "s": 73.099,
    "l": 33.529
  },
  "oklch": {
    "l": 0.44772,
    "c": 0.14478,
    "h": 32.5
  },
  "luminance": 0.08014
}

Semantic roles & 50–950 ramp

primary
#942A17
secondary
#44AFC3
accent
#D4F038
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#140703
muted
#827A78

Preview Lab

Preview with #942A17

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

Preview Lab → · Contrast checker → · Palette generator →

#942A17 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva