#942D18#942D18

#942D18 is a mid, vivid red. Relative luminance 0.082; OKLCH L 45.1% C 0.142 H 33.3°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#942D18
RGBrgb(148, 45, 24)
HSLhsl(10, 72%, 34%)
HSVhsv(10, 84%, 58%)
CMYKcmyk(0%, 69.6%, 83.8%, 42%)
CIE-LABlab(34.48, 42.11, 36.53)
CIE-LCHlch(34.48, 55.75, 40.94°)
OKLaboklab(45.12% 0.1186 0.0779)
OKLCHoklch(45.12% 0.142 33.3)
XYZxyz(13.3175, 8.2406, 1.7533)
Luminance0.0824 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#942D18 #187F94
analogous
#941841 #942D18 #946B18
triadic
#942D18 #18942D #2D1894
tetradic
#942D18 #419418 #187F94 #6B1894
square
#942D18 #419418 #187F94 #6B1894
split-complementary
#942D18 #18946B #184194
monochromatic
#2B0D07 #5F1D0F #942D18 #C93D21 #E16045

Accessibility & contrast

On white

7.93
#942D18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#942D18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #942D18
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##942D18#FFFFFF#000000##FFFFFF
##942D181.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4314
Deuteranopia (green-blind)
#655913
Tritanopia (blue-blind)
#A30829
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #942d18;
/* rgb */ color: rgb(148, 45, 24);
/* oklch */ color: oklch(45.1% 0.142 33.3);
Tailwind
colors: {
  custom: {
    50: '#bc6c57',
    500: '#942d18',
    950: '#000000',
  },
}
SCSS
$custom: #942d18;
$custom-light: #bc6c57;
$custom-dark: #000000;
JSON
{
  "hex": "#942d18",
  "rgb": {
    "r": 148,
    "g": 45,
    "b": 24
  },
  "hsl": {
    "h": 10.161,
    "s": 72.093,
    "l": 33.725
  },
  "oklch": {
    "l": 0.45123,
    "c": 0.14188,
    "h": 33.3
  },
  "luminance": 0.08239
}

Semantic roles & 50–950 ramp

primary
#942D18
secondary
#46ADC2
accent
#D0EF39
background
#FCF6F5
surface
#F8ECE9
border
#D1C7C5
text
#130703
muted
#827A78

Preview Lab

Preview with #942D18

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

Preview Lab → · Contrast checker → · Palette generator →

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