#38271E#38271E

#38271E is a dark, muted orange. Relative luminance 0.024; OKLCH L 29.0% C 0.030 H 49.0°. Best body text is #FFFFFF at 14.22:1 contrast (WCAG AA passes).

Color values

HEX#38271E
RGBrgb(56, 39, 30)
HSLhsl(21, 30%, 17%)
HSVhsv(21, 46%, 22%)
CMYKcmyk(0%, 30.4%, 46.4%, 78%)
CIE-LABlab(17.39, 6.54, 9.08)
CIE-LCHlch(17.39, 11.19, 54.25°)
OKLaboklab(29.03% 0.0198 0.0228)
OKLCHoklch(29.03% 0.03 49)
XYZxyz(2.5908, 2.3857, 1.5521)
Luminance0.0239 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38271E #1E2F38
analogous
#381E22 #38271E #38341E
triadic
#38271E #1E3827 #271E38
tetradic
#38271E #22381E #1E2F38 #341E38
square
#38271E #22381E #1E2F38 #341E38
split-complementary
#38271E #1E3834 #1E2238
monochromatic
#140E0B #140E0B #38271E #604333 #885F49

Accessibility & contrast

On white

14.22
#38271E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#38271E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38271E
14.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38271E#FFFFFF#000000##FFFFFF
##38271E1.0014.221.4814.22
#FFFFFF14.221.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C291D
Deuteranopia (green-blind)
#302C1E
Tritanopia (blue-blind)
#3C2425
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #38271e;
/* rgb */ color: rgb(56, 39, 30);
/* oklch */ color: oklch(29.0% 0.030 49.0);
Tailwind
colors: {
  custom: {
    50: '#6f6159',
    500: '#38271e',
    950: '#000000',
  },
}
SCSS
$custom: #38271e;
$custom-light: #6f6159;
$custom-dark: #000000;
JSON
{
  "hex": "#38271e",
  "rgb": {
    "r": 56,
    "g": 39,
    "b": 30
  },
  "hsl": {
    "h": 20.769,
    "s": 30.233,
    "l": 16.863
  },
  "oklch": {
    "l": 0.29033,
    "c": 0.03025,
    "h": 49
  },
  "luminance": 0.02386
}

Semantic roles & 50–950 ramp

primary
#38271E
secondary
#465F6C
accent
#A3C661
background
#F6F5F5
surface
#ECE9E9
border
#C7C5C5
text
#070503
muted
#7A7978

Preview Lab

Preview with #38271E

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

Preview Lab → · Contrast checker → · Palette generator →

#38271E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva