#331E0A#331E0A

#331E0A is a dark, muted orange. Relative luminance 0.017; OKLCH L 25.8% C 0.045 H 61.9°. Best body text is #FFFFFF at 15.78:1 contrast (WCAG AA passes).

Color values

HEX#331E0A
RGBrgb(51, 30, 10)
HSLhsl(29, 67%, 12%)
HSVhsv(29, 80%, 20%)
CMYKcmyk(0%, 41.2%, 80.4%, 80%)
CIE-LABlab(13.56, 7.92, 16.12)
CIE-LCHlch(13.56, 17.96, 63.83°)
OKLaboklab(25.77% 0.0214 0.0401)
OKLCHoklch(25.77% 0.045 61.9)
XYZxyz(1.8844, 1.6544, 0.5072)
Luminance0.0165 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#331E0A #0A1F33
analogous
#330A0B #331E0A #33330A
triadic
#331E0A #0A331E #1E0A33
tetradic
#331E0A #0B330A #0A1F33 #330A33
square
#331E0A #0B330A #0A1F33 #330A33
split-complementary
#331E0A #0A3333 #0A0B33
monochromatic
#1A0F05 #1A0F05 #331E0A #663C14 #995A1E

Accessibility & contrast

On white

15.78
#331E0A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#331E0A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #331E0A
15.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##331E0A#FFFFFF#000000##FFFFFF
##331E0A1.0015.781.3315.78
#FFFFFF15.781.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#252008
Deuteranopia (green-blind)
#29250A
Tritanopia (blue-blind)
#38191A
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #331e0a;
/* rgb */ color: rgb(51, 30, 10);
/* oklch */ color: oklch(25.8% 0.045 61.9);
Tailwind
colors: {
  custom: {
    50: '#6d594b',
    500: '#331e0a',
    950: '#000000',
  },
}
SCSS
$custom: #331e0a;
$custom-light: #6d594b;
$custom-dark: #000000;
JSON
{
  "hex": "#331e0a",
  "rgb": {
    "r": 51,
    "g": 30,
    "b": 10
  },
  "hsl": {
    "h": 29.268,
    "s": 67.213,
    "l": 11.961
  },
  "oklch": {
    "l": 0.25774,
    "c": 0.04545,
    "h": 61.9
  },
  "luminance": 0.01654
}

Semantic roles & 50–950 ramp

primary
#331E0A
secondary
#284D70
accent
#96EA3E
background
#F6F5F4
surface
#ECE9E7
border
#C7C5C3
text
#070301
muted
#7A7877

Preview Lab

Preview with #331E0A

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

Preview Lab → · Contrast checker → · Palette generator →

#331E0A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva