#331A0C#331A0C

#331A0C is a very dark, muted orange. Relative luminance 0.015; OKLCH L 24.9% C 0.046 H 48.8°. Best body text is #FFFFFF at 16.23:1 contrast (WCAG AA passes).

Color values

HEX#331A0C
RGBrgb(51, 26, 12)
HSLhsl(22, 62%, 12%)
HSVhsv(22, 76%, 20%)
CMYKcmyk(0%, 49%, 76.5%, 80%)
CIE-LABlab(12.41, 10.84, 13.73)
CIE-LCHlch(12.41, 17.49, 51.70°)
OKLaboklab(24.9% 0.0305 0.0348)
OKLCHoklch(24.9% 0.046 48.8)
XYZxyz(1.8011, 1.4693, 0.5365)
Luminance0.0147 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#331A0C #0C2533
analogous
#330C12 #331A0C #332D0C
triadic
#331A0C #0C331A #1A0C33
tetradic
#331A0C #12330C #0C2533 #2D0C33
square
#331A0C #12330C #0C2533 #2D0C33
split-complementary
#331A0C #0C332D #0C1233
monochromatic
#190D06 #190D06 #331A0C #653318 #964D23

Accessibility & contrast

On white

16.23
#331A0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#331A0C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #331A0C
16.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##331A0C#FFFFFF#000000##FFFFFF
##331A0C1.0016.231.2916.23
#FFFFFF16.231.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#211D0B
Deuteranopia (green-blind)
#27220C
Tritanopia (blue-blind)
#381517
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #331a0c;
/* rgb */ color: rgb(51, 26, 12);
/* oklch */ color: oklch(24.9% 0.046 48.8);
Tailwind
colors: {
  custom: {
    50: '#6d564c',
    500: '#331a0c',
    950: '#000000',
  },
}
SCSS
$custom: #331a0c;
$custom-light: #6d564c;
$custom-dark: #000000;
JSON
{
  "hex": "#331a0c",
  "rgb": {
    "r": 51,
    "g": 26,
    "b": 12
  },
  "hsl": {
    "h": 21.538,
    "s": 61.905,
    "l": 12.353
  },
  "oklch": {
    "l": 0.24897,
    "c": 0.04632,
    "h": 48.8
  },
  "luminance": 0.01469
}

Semantic roles & 50–950 ramp

primary
#331A0C
secondary
#2C576F
accent
#ABE543
background
#F6F5F4
surface
#ECE9E7
border
#C7C5C3
text
#070301
muted
#7A7877

Preview Lab

Preview with #331A0C

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

Preview Lab → · Contrast checker → · Palette generator →

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