#331F0D#331F0D

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

Color values

HEX#331F0D
RGBrgb(51, 31, 13)
HSLhsl(28, 59%, 13%)
HSVhsv(28, 75%, 20%)
CMYKcmyk(0%, 39.2%, 74.5%, 80%)
CIE-LABlab(13.90, 7.47, 15.25)
CIE-LCHlch(13.90, 16.98, 63.90°)
OKLaboklab(26.06% 0.0206 0.0374)
OKLCHoklch(26.06% 0.043 61.1)
XYZxyz(1.9280, 1.7130, 0.6098)
Luminance0.0171 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#331F0D #0D2133
analogous
#330D0E #331F0D #33320D
triadic
#331F0D #0D331F #1F0D33
tetradic
#331F0D #0E330D #0D2133 #320D33
square
#331F0D #0E330D #0D2133 #320D33
split-complementary
#331F0D #0D3332 #0D0E33
monochromatic
#180F06 #180F06 #331F0D #643D19 #955A26

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##331F0D#FFFFFF#000000##FFFFFF
##331F0D1.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)
#25210B
Deuteranopia (green-blind)
#2A250D
Tritanopia (blue-blind)
#381B1B
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #331f0d;
/* rgb */ color: rgb(51, 31, 13);
/* oklch */ color: oklch(26.1% 0.043 61.1);
Tailwind
colors: {
  custom: {
    50: '#6d5a4d',
    500: '#331f0d',
    950: '#000000',
  },
}
SCSS
$custom: #331f0d;
$custom-light: #6d5a4d;
$custom-dark: #000000;
JSON
{
  "hex": "#331f0d",
  "rgb": {
    "r": 51,
    "g": 31,
    "b": 13
  },
  "hsl": {
    "h": 28.421,
    "s": 59.375,
    "l": 12.549
  },
  "oklch": {
    "l": 0.26055,
    "c": 0.04267,
    "h": 61.1
  },
  "luminance": 0.01713
}

Semantic roles & 50–950 ramp

primary
#331F0D
secondary
#2E506E
accent
#98E345
background
#F6F5F4
surface
#ECE9E7
border
#C7C5C3
text
#070301
muted
#7A7877

Preview Lab

Preview with #331F0D

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

Preview Lab → · Contrast checker → · Palette generator →

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