#38180E#38180E

#38180E is a dark, muted red. Relative luminance 0.015; OKLCH L 25.4% C 0.054 H 38.0°. Best body text is #FFFFFF at 16.09:1 contrast (WCAG AA passes).

Color values

HEX#38180E
RGBrgb(56, 24, 14)
HSLhsl(14, 60%, 14%)
HSVhsv(14, 75%, 22%)
CMYKcmyk(0%, 57.1%, 75%, 78%)
CIE-LABlab(12.77, 14.87, 13.40)
CIE-LCHlch(12.77, 20.02, 42.04°)
OKLaboklab(25.36% 0.0427 0.0334)
OKLCHoklch(25.36% 0.054 38)
XYZxyz(2.0370, 1.5260, 0.6026)
Luminance0.0153 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38180E #0E2E38
analogous
#380E19 #38180E #382D0E
triadic
#38180E #0E3818 #180E38
tetradic
#38180E #19380E #0E2E38 #2D0E38
square
#38180E #19380E #0E2E38 #2D0E38
split-complementary
#38180E #0E382D #0E1938
monochromatic
#180A06 #180A06 #38180E #692D1A #9A4226

Accessibility & contrast

On white

16.09
#38180E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#38180E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38180E
16.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38180E#FFFFFF#000000##FFFFFF
##38180E1.0016.091.3116.09
#FFFFFF16.091.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#201D0D
Deuteranopia (green-blind)
#28240D
Tritanopia (blue-blind)
#3E1216
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #38180e;
/* rgb */ color: rgb(56, 24, 14);
/* oklch */ color: oklch(25.4% 0.054 38.0);
Tailwind
colors: {
  custom: {
    50: '#72554d',
    500: '#38180e',
    950: '#000000',
  },
}
SCSS
$custom: #38180e;
$custom-light: #72554d;
$custom-dark: #000000;
JSON
{
  "hex": "#38180e",
  "rgb": {
    "r": 56,
    "g": 24,
    "b": 14
  },
  "hsl": {
    "h": 14.286,
    "s": 60,
    "l": 13.725
  },
  "oklch": {
    "l": 0.25363,
    "c": 0.05417,
    "h": 38
  },
  "luminance": 0.01526
}

Semantic roles & 50–950 ramp

primary
#38180E
secondary
#2F6373
accent
#BDE345
background
#F7F5F4
surface
#EDE9E7
border
#C8C5C3
text
#080301
muted
#7B7877

Preview Lab

Preview with #38180E

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

Preview Lab → · Contrast checker → · Palette generator →

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