#331F0A#331F0A

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

Color values

HEX#331F0A
RGBrgb(51, 31, 10)
HSLhsl(31, 67%, 12%)
HSVhsv(31, 80%, 20%)
CMYKcmyk(0%, 39.2%, 80.4%, 80%)
CIE-LABlab(13.86, 7.23, 16.52)
CIE-LCHlch(13.86, 18.03, 66.38°)
OKLaboklab(26.01% 0.0193 0.0408)
OKLCHoklch(26.01% 0.045 64.7)
XYZxyz(1.9101, 1.7059, 0.5158)
Luminance0.0171 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#331F0A #0A1E33
analogous
#330B0A #331F0A #33330A
triadic
#331F0A #0A331F #1F0A33
tetradic
#331F0A #0A330B #0A1E33 #330A33
square
#331F0A #0A330B #0A1E33 #330A33
split-complementary
#331F0A #0A3333 #0B0A33
monochromatic
#1A1005 #1A1005 #331F0A #663E14 #995D1E

Accessibility & contrast

On white

15.66
#331F0A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#331F0A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #331F0A
15.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##331F0A#FFFFFF#000000##FFFFFF
##331F0A1.0015.661.3415.66
#FFFFFF15.661.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#252108
Deuteranopia (green-blind)
#2A250A
Tritanopia (blue-blind)
#381A1A
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #331f0a;
/* rgb */ color: rgb(51, 31, 10);
/* oklch */ color: oklch(26.0% 0.045 64.7);
Tailwind
colors: {
  custom: {
    50: '#6d5a4b',
    500: '#331f0a',
    950: '#000000',
  },
}
SCSS
$custom: #331f0a;
$custom-light: #6d5a4b;
$custom-dark: #000000;
JSON
{
  "hex": "#331f0a",
  "rgb": {
    "r": 51,
    "g": 31,
    "b": 10
  },
  "hsl": {
    "h": 30.732,
    "s": 67.213,
    "l": 11.961
  },
  "oklch": {
    "l": 0.26009,
    "c": 0.04517,
    "h": 64.7
  },
  "luminance": 0.01706
}

Semantic roles & 50–950 ramp

primary
#331F0A
secondary
#284C70
accent
#92EA3E
background
#F6F5F4
surface
#ECE9E7
border
#C7C5C3
text
#070301
muted
#7A7877

Preview Lab

Preview with #331F0A

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

Preview Lab → · Contrast checker → · Palette generator →

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