#38170E#38170E

#38170E is a dark, muted red. Relative luminance 0.015; OKLCH L 25.2% C 0.055 H 36.2°. Best body text is #FFFFFF at 16.19:1 contrast (WCAG AA passes).

Color values

HEX#38170E
RGBrgb(56, 23, 14)
HSLhsl(13, 60%, 14%)
HSVhsv(13, 75%, 22%)
CMYKcmyk(0%, 58.9%, 75%, 78%)
CIE-LABlab(12.52, 15.51, 13.06)
CIE-LCHlch(12.52, 20.27, 40.09°)
OKLaboklab(25.17% 0.0447 0.0327)
OKLCHoklch(25.17% 0.055 36.2)
XYZxyz(2.0167, 1.4855, 0.5959)
Luminance0.0149 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38170E #0E2F38
analogous
#380E1A #38170E #382C0E
triadic
#38170E #0E3817 #170E38
tetradic
#38170E #1A380E #0E2F38 #2C0E38
square
#38170E #1A380E #0E2F38 #2C0E38
split-complementary
#38170E #0E382C #0E1A38
monochromatic
#180A06 #180A06 #38170E #692B1A #9A3F26

Accessibility & contrast

On white

16.19
#38170E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#38170E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38170E
16.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38170E#FFFFFF#000000##FFFFFF
##38170E1.0016.191.3016.19
#FFFFFF16.191.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#201C0D
Deuteranopia (green-blind)
#28230D
Tritanopia (blue-blind)
#3E1115
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #38170e;
/* rgb */ color: rgb(56, 23, 14);
/* oklch */ color: oklch(25.2% 0.055 36.2);
Tailwind
colors: {
  custom: {
    50: '#72554d',
    500: '#38170e',
    950: '#000000',
  },
}
SCSS
$custom: #38170e;
$custom-light: #72554d;
$custom-dark: #000000;
JSON
{
  "hex": "#38170e",
  "rgb": {
    "r": 56,
    "g": 23,
    "b": 14
  },
  "hsl": {
    "h": 12.857,
    "s": 60,
    "l": 13.725
  },
  "oklch": {
    "l": 0.25168,
    "c": 0.05534,
    "h": 36.2
  },
  "luminance": 0.01485
}

Semantic roles & 50–950 ramp

primary
#38170E
secondary
#2F6473
accent
#C1E345
background
#F7F4F4
surface
#EDE8E7
border
#C8C4C3
text
#080301
muted
#7B7877

Preview Lab

Preview with #38170E

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

Preview Lab → · Contrast checker → · Palette generator →

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