#331F0E#331F0E

#331F0E is a dark, muted orange. Relative luminance 0.017; OKLCH L 26.1% C 0.042 H 59.8°. Best body text is #FFFFFF at 15.64:1 contrast (WCAG AA passes).

Color values

HEX#331F0E
RGBrgb(51, 31, 14)
HSLhsl(28, 57%, 13%)
HSVhsv(28, 73%, 20%)
CMYKcmyk(0%, 39.2%, 72.5%, 80%)
CIE-LABlab(13.92, 7.56, 14.78)
CIE-LCHlch(13.92, 16.60, 62.91°)
OKLaboklab(26.07% 0.0211 0.0361)
OKLCHoklch(26.07% 0.042 59.8)
XYZxyz(1.9346, 1.7157, 0.6446)
Luminance0.0171 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#331F0E #0E2233
analogous
#330E0F #331F0E #33310E
triadic
#331F0E #0E331F #1F0E33
tetradic
#331F0E #0F330E #0E2233 #310E33
square
#331F0E #0F330E #0E2233 #310E33
split-complementary
#331F0E #0E3331 #0E0F33
monochromatic
#180F07 #180F07 #331F0E #633C1B #935928

Accessibility & contrast

On white

15.64
#331F0E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #331F0E
15.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##331F0E#FFFFFF#000000##FFFFFF
##331F0E1.0015.641.3415.64
#FFFFFF15.641.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25210C
Deuteranopia (green-blind)
#2A250E
Tritanopia (blue-blind)
#381B1B
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #331f0e;
/* rgb */ color: rgb(51, 31, 14);
/* oklch */ color: oklch(26.1% 0.042 59.8);
Tailwind
colors: {
  custom: {
    50: '#6d5a4d',
    500: '#331f0e',
    950: '#000000',
  },
}
SCSS
$custom: #331f0e;
$custom-light: #6d5a4d;
$custom-dark: #000000;
JSON
{
  "hex": "#331f0e",
  "rgb": {
    "r": 51,
    "g": 31,
    "b": 14
  },
  "hsl": {
    "h": 27.568,
    "s": 56.923,
    "l": 12.745
  },
  "oklch": {
    "l": 0.26072,
    "c": 0.04182,
    "h": 59.8
  },
  "luminance": 0.01715
}

Semantic roles & 50–950 ramp

primary
#331F0E
secondary
#2F516E
accent
#9AE048
background
#F6F5F4
surface
#ECE9E7
border
#C7C5C3
text
#070301
muted
#7A7877

Preview Lab

Preview with #331F0E

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

Preview Lab → · Contrast checker → · Palette generator →

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