#331B0B#331B0B

#331B0B is a dark, muted orange. Relative luminance 0.015; OKLCH L 25.1% C 0.046 H 52.7°. Best body text is #FFFFFF at 16.12:1 contrast (WCAG AA passes).

Color values

HEX#331B0B
RGBrgb(51, 27, 11)
HSLhsl(24, 65%, 12%)
HSVhsv(24, 78%, 20%)
CMYKcmyk(0%, 47.1%, 78.4%, 80%)
CIE-LABlab(12.68, 10.07, 14.54)
CIE-LCHlch(12.68, 17.68, 55.28°)
OKLaboklab(25.1% 0.028 0.0368)
OKLCHoklch(25.1% 0.046 52.7)
XYZxyz(1.8177, 1.5120, 0.5127)
Luminance0.0151 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#331B0B #0B2333
analogous
#330B0F #331B0B #332F0B
triadic
#331B0B #0B331B #1B0B33
tetradic
#331B0B #0F330B #0B2333 #2F0B33
square
#331B0B #0F330B #0B2333 #2F0B33
split-complementary
#331B0B #0B332F #0B0F33
monochromatic
#190D05 #190D05 #331B0B #653616 #985021

Accessibility & contrast

On white

16.12
#331B0B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#331B0B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #331B0B
16.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##331B0B#FFFFFF#000000##FFFFFF
##331B0B1.0016.121.3016.12
#FFFFFF16.121.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#221E09
Deuteranopia (green-blind)
#28230B
Tritanopia (blue-blind)
#381617
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #331b0b;
/* rgb */ color: rgb(51, 27, 11);
/* oklch */ color: oklch(25.1% 0.046 52.7);
Tailwind
colors: {
  custom: {
    50: '#6d574b',
    500: '#331b0b',
    950: '#000000',
  },
}
SCSS
$custom: #331b0b;
$custom-light: #6d574b;
$custom-dark: #000000;
JSON
{
  "hex": "#331b0b",
  "rgb": {
    "r": 51,
    "g": 27,
    "b": 11
  },
  "hsl": {
    "h": 24,
    "s": 64.516,
    "l": 12.157
  },
  "oklch": {
    "l": 0.25102,
    "c": 0.04625,
    "h": 52.7
  },
  "luminance": 0.01512
}

Semantic roles & 50–950 ramp

primary
#331B0B
secondary
#2A5470
accent
#A5E840
background
#F6F5F4
surface
#ECE9E7
border
#C7C5C3
text
#070301
muted
#7A7877

Preview Lab

Preview with #331B0B

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

Preview Lab → · Contrast checker → · Palette generator →

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