#331F0C#331F0C

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

Color values

HEX#331F0C
RGBrgb(51, 31, 12)
HSLhsl(29, 62%, 12%)
HSVhsv(29, 76%, 20%)
CMYKcmyk(0%, 39.2%, 76.5%, 80%)
CIE-LABlab(13.89, 7.38, 15.70)
CIE-LCHlch(13.89, 17.35, 64.80°)
OKLaboklab(26.04% 0.0202 0.0386)
OKLCHoklch(26.04% 0.044 62.4)
XYZxyz(1.9217, 1.7105, 0.5767)
Luminance0.0171 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#331F0C #0C2033
analogous
#330C0C #331F0C #33330C
triadic
#331F0C #0C331F #1F0C33
tetradic
#331F0C #0C330C #0C2033 #330C33
square
#331F0C #0C330C #0C2033 #330C33
split-complementary
#331F0C #0C3333 #0C0C33
monochromatic
#190F06 #190F06 #331F0C #653D18 #965B23

Accessibility & contrast

On white

15.65
#331F0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #331F0C
15.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##331F0C#FFFFFF#000000##FFFFFF
##331F0C1.0015.651.3415.65
#FFFFFF15.651.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.651.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #331f0c;
/* rgb */ color: rgb(51, 31, 12);
/* oklch */ color: oklch(26.0% 0.044 62.4);
Tailwind
colors: {
  custom: {
    50: '#6d5a4c',
    500: '#331f0c',
    950: '#000000',
  },
}
SCSS
$custom: #331f0c;
$custom-light: #6d5a4c;
$custom-dark: #000000;
JSON
{
  "hex": "#331f0c",
  "rgb": {
    "r": 51,
    "g": 31,
    "b": 12
  },
  "hsl": {
    "h": 29.231,
    "s": 61.905,
    "l": 12.353
  },
  "oklch": {
    "l": 0.26039,
    "c": 0.04352,
    "h": 62.4
  },
  "luminance": 0.0171
}

Semantic roles & 50–950 ramp

primary
#331F0C
secondary
#2C4E6F
accent
#96E543
background
#F6F5F4
surface
#ECE9E7
border
#C7C5C3
text
#070301
muted
#7A7877

Preview Lab

Preview with #331F0C

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

Preview Lab → · Contrast checker → · Palette generator →

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