#331202#331202

#331202 is a very dark, moderate orange. Relative luminance 0.011; OKLCH L 23.1% C 0.060 H 46.2°. Best body text is #FFFFFF at 17.10:1 contrast (WCAG AA passes).

Color values

HEX#331202
RGBrgb(51, 18, 2)
HSLhsl(20, 92%, 10%)
HSVhsv(20, 96%, 20%)
CMYKcmyk(0%, 64.7%, 96.1%, 80%)
CIE-LABlab(10.11, 15.38, 14.67)
CIE-LCHlch(10.11, 21.26, 43.63°)
OKLaboklab(23.09% 0.0416 0.0434)
OKLCHoklch(23.09% 0.06 46.2)
XYZxyz(1.5927, 1.1410, 0.1938)
Luminance0.0114 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#331202 #022333
analogous
#33020A #331202 #332A02
triadic
#331202 #023312 #120233
tetradic
#331202 #0A3302 #022333 #2A0233
square
#331202 #0A3302 #022333 #2A0233
split-complementary
#331202 #02332A #020A33
monochromatic
#1D0A01 #1D0A01 #331202 #6E2704 #A93C07

Accessibility & contrast

On white

17.10
#331202 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#331202 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #331202
17.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##331202#FFFFFF#000000##FFFFFF
##3312021.0017.101.2317.10
#FFFFFF17.101.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C1701
Deuteranopia (green-blind)
#241F02
Tritanopia (blue-blind)
#390A0E
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #331202;
/* rgb */ color: rgb(51, 18, 2);
/* oklch */ color: oklch(23.1% 0.060 46.2);
Tailwind
colors: {
  custom: {
    50: '#6e5147',
    500: '#331202',
    950: '#000000',
  },
}
SCSS
$custom: #331202;
$custom-light: #6e5147;
$custom-dark: #000000;
JSON
{
  "hex": "#331202",
  "rgb": {
    "r": 51,
    "g": 18,
    "b": 2
  },
  "hsl": {
    "h": 19.592,
    "s": 92.453,
    "l": 10.392
  },
  "oklch": {
    "l": 0.23088,
    "c": 0.06011,
    "h": 46.2
  },
  "luminance": 0.01141
}

Semantic roles & 50–950 ramp

primary
#331202
secondary
#1A5977
accent
#B9FF29
background
#F6F4F4
surface
#ECE7E6
border
#C7C3C2
text
#080200
muted
#7B7877

Preview Lab

Preview with #331202

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

Preview Lab → · Contrast checker → · Palette generator →

#331202 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva