#331D0F#331D0F

#331D0F is a dark, muted orange. Relative luminance 0.016; OKLCH L 25.6% C 0.042 H 52.3°. Best body text is #FFFFFF at 15.87:1 contrast (WCAG AA passes).

Color values

HEX#331D0F
RGBrgb(51, 29, 15)
HSLhsl(23, 55%, 13%)
HSVhsv(23, 71%, 20%)
CMYKcmyk(0%, 43.1%, 70.6%, 80%)
CIE-LABlab(13.33, 9.04, 13.49)
CIE-LCHlch(13.33, 16.24, 56.16°)
OKLaboklab(25.62% 0.0257 0.0333)
OKLCHoklch(25.62% 0.042 52.3)
XYZxyz(1.8910, 1.6172, 0.6644)
Luminance0.0162 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#331D0F #0F2533
analogous
#330F13 #331D0F #332F0F
triadic
#331D0F #0F331D #1D0F33
tetradic
#331D0F #13330F #0F2533 #2F0F33
square
#331D0F #13330F #0F2533 #2F0F33
split-complementary
#331D0F #0F332F #0F1333
monochromatic
#180D07 #180D07 #331D0F #62381D #92532B

Accessibility & contrast

On white

15.87
#331D0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#331D0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #331D0F
15.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##331D0F#FFFFFF#000000##FFFFFF
##331D0F1.0015.871.3215.87
#FFFFFF15.871.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#231F0E
Deuteranopia (green-blind)
#28240F
Tritanopia (blue-blind)
#38191A
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #331d0f;
/* rgb */ color: rgb(51, 29, 15);
/* oklch */ color: oklch(25.6% 0.042 52.3);
Tailwind
colors: {
  custom: {
    50: '#6d594e',
    500: '#331d0f',
    950: '#000000',
  },
}
SCSS
$custom: #331d0f;
$custom-light: #6d594e;
$custom-dark: #000000;
JSON
{
  "hex": "#331d0f",
  "rgb": {
    "r": 51,
    "g": 29,
    "b": 15
  },
  "hsl": {
    "h": 23.333,
    "s": 54.545,
    "l": 12.941
  },
  "oklch": {
    "l": 0.25625,
    "c": 0.04202,
    "h": 52.3
  },
  "luminance": 0.01617
}

Semantic roles & 50–950 ramp

primary
#331D0F
secondary
#31566D
accent
#A4DE4A
background
#F6F5F4
surface
#ECE9E7
border
#C7C5C3
text
#070301
muted
#7A7877

Preview Lab

Preview with #331D0F

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

Preview Lab → · Contrast checker → · Palette generator →

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