#331F0F#331F0F

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

Color values

HEX#331F0F
RGBrgb(51, 31, 15)
HSLhsl(27, 55%, 13%)
HSVhsv(27, 71%, 20%)
CMYKcmyk(0%, 39.2%, 70.6%, 80%)
CIE-LABlab(13.93, 7.66, 14.28)
CIE-LCHlch(13.93, 16.20, 61.80°)
OKLaboklab(26.09% 0.0215 0.0349)
OKLCHoklch(26.09% 0.041 58.3)
XYZxyz(1.9416, 1.7184, 0.6813)
Luminance0.0172 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#331F0F #0F2333
analogous
#330F11 #331F0F #33310F
triadic
#331F0F #0F331F #1F0F33
tetradic
#331F0F #11330F #0F2333 #310F33
square
#331F0F #11330F #0F2333 #310F33
split-complementary
#331F0F #0F3331 #0F1133
monochromatic
#180E07 #180E07 #331F0F #623C1D #92582B

Accessibility & contrast

On white

15.63
#331F0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #331F0F
15.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##331F0F#FFFFFF#000000##FFFFFF
##331F0F1.0015.631.3415.63
#FFFFFF15.631.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.631.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #331f0f;
/* rgb */ color: rgb(51, 31, 15);
/* oklch */ color: oklch(26.1% 0.041 58.3);
Tailwind
colors: {
  custom: {
    50: '#6c5a4e',
    500: '#331f0f',
    950: '#000000',
  },
}
SCSS
$custom: #331f0f;
$custom-light: #6c5a4e;
$custom-dark: #000000;
JSON
{
  "hex": "#331f0f",
  "rgb": {
    "r": 51,
    "g": 31,
    "b": 15
  },
  "hsl": {
    "h": 26.667,
    "s": 54.545,
    "l": 12.941
  },
  "oklch": {
    "l": 0.26089,
    "c": 0.04097,
    "h": 58.3
  },
  "luminance": 0.01718
}

Semantic roles & 50–950 ramp

primary
#331F0F
secondary
#31526D
accent
#9CDE4A
background
#F6F5F4
surface
#ECE9E7
border
#C7C5C3
text
#070301
muted
#7A7877

Preview Lab

Preview with #331F0F

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

Preview Lab → · Contrast checker → · Palette generator →

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