#402103#402103

#402103 is a dark, moderate orange. Relative luminance 0.022; OKLCH L 28.4% C 0.063 H 59.8°. Best body text is #FFFFFF at 14.62:1 contrast (WCAG AA passes).

Color values

HEX#402103
RGBrgb(64, 33, 3)
HSLhsl(30, 91%, 13%)
HSVhsv(30, 95%, 25%)
CMYKcmyk(0%, 48.4%, 95.3%, 74.9%)
CIE-LABlab(16.43, 12.31, 23.08)
CIE-LCHlch(16.43, 26.16, 61.92°)
OKLaboklab(28.41% 0.0317 0.0544)
OKLCHoklch(28.41% 0.063 59.8)
XYZxyz(2.6749, 2.1846, 0.3669)
Luminance0.0218 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#402103 #032240
analogous
#400304 #402103 #403F03
triadic
#402103 #034021 #210340
tetradic
#402103 #044003 #032240 #3F0340
square
#402103 #044003 #032240 #3F0340
split-complementary
#402103 #03403F #030440
monochromatic
#1D0F01 #1D0F01 #402103 #7A3F06 #B55D08

Accessibility & contrast

On white

14.62
#402103 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#402103 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #402103
14.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##402103#FFFFFF#000000##FFFFFF
##4021031.0014.621.4414.62
#FFFFFF14.621.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A2400
Deuteranopia (green-blind)
#322B03
Tritanopia (blue-blind)
#471A1B
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #402103;
/* rgb */ color: rgb(64, 33, 3);
/* oklch */ color: oklch(28.4% 0.063 59.8);
Tailwind
colors: {
  custom: {
    50: '#795c48',
    500: '#402103',
    950: '#000000',
  },
}
SCSS
$custom: #402103;
$custom-light: #795c48;
$custom-dark: #000000;
JSON
{
  "hex": "#402103",
  "rgb": {
    "r": 64,
    "g": 33,
    "b": 3
  },
  "hsl": {
    "h": 29.508,
    "s": 91.045,
    "l": 13.137
  },
  "oklch": {
    "l": 0.28409,
    "c": 0.06302,
    "h": 59.8
  },
  "luminance": 0.02184
}

Semantic roles & 50–950 ramp

primary
#402103
secondary
#1D5082
accent
#96FF29
background
#F7F5F4
surface
#EEE9E6
border
#C9C5C2
text
#090400
muted
#7B7977

Preview Lab

Preview with #402103

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

Preview Lab → · Contrast checker → · Palette generator →

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