#38170D#38170D

#38170D is a dark, muted red. Relative luminance 0.015; OKLCH L 25.1% C 0.056 H 37.6°. Best body text is #FFFFFF at 16.20:1 contrast (WCAG AA passes).

Color values

HEX#38170D
RGBrgb(56, 23, 13)
HSLhsl(14, 62%, 14%)
HSVhsv(14, 77%, 22%)
CMYKcmyk(0%, 58.9%, 76.8%, 78%)
CIE-LABlab(12.50, 15.43, 13.52)
CIE-LCHlch(12.50, 20.52, 41.23°)
OKLaboklab(25.15% 0.0442 0.034)
OKLCHoklch(25.15% 0.056 37.6)
XYZxyz(2.0101, 1.4828, 0.5611)
Luminance0.0148 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38170D #0D2E38
analogous
#380D18 #38170D #382C0D
triadic
#38170D #0D3817 #170D38
tetradic
#38170D #18380D #0D2E38 #2C0D38
square
#38170D #18380D #0D2E38 #2C0D38
split-complementary
#38170D #0D382C #0D1838
monochromatic
#190A06 #190A06 #38170D #6A2B19 #9B4024

Accessibility & contrast

On white

16.20
#38170D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #38170D
16.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38170D#FFFFFF#000000##FFFFFF
##38170D1.0016.201.3016.20
#FFFFFF16.201.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.201.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #38170d;
/* rgb */ color: rgb(56, 23, 13);
/* oklch */ color: oklch(25.1% 0.056 37.6);
Tailwind
colors: {
  custom: {
    50: '#72554c',
    500: '#38170d',
    950: '#000000',
  },
}
SCSS
$custom: #38170d;
$custom-light: #72554c;
$custom-dark: #000000;
JSON
{
  "hex": "#38170d",
  "rgb": {
    "r": 56,
    "g": 23,
    "b": 13
  },
  "hsl": {
    "h": 13.953,
    "s": 62.319,
    "l": 13.529
  },
  "oklch": {
    "l": 0.25149,
    "c": 0.05576,
    "h": 37.6
  },
  "luminance": 0.01483
}

Semantic roles & 50–950 ramp

primary
#38170D
secondary
#2D6373
accent
#BFE542
background
#F7F4F4
surface
#EDE8E7
border
#C8C4C3
text
#080301
muted
#7B7877

Preview Lab

Preview with #38170D

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

Preview Lab → · Contrast checker → · Palette generator →

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