#381817#381817

#381817 is a dark, muted red. Relative luminance 0.016; OKLCH L 25.6% C 0.051 H 23.2°. Best body text is #FFFFFF at 16.02:1 contrast (WCAG AA passes).

Color values

HEX#381817
RGBrgb(56, 24, 23)
HSLhsl(2, 42%, 15%)
HSVhsv(2, 59%, 22%)
CMYKcmyk(0%, 57.1%, 58.9%, 78%)
CIE-LABlab(12.96, 15.75, 8.05)
CIE-LCHlch(12.96, 17.69, 27.09°)
OKLaboklab(25.57% 0.0471 0.0201)
OKLCHoklch(25.57% 0.051 23.2)
XYZxyz(2.1123, 1.5561, 0.9996)
Luminance0.0156 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#381817 #173738
analogous
#381726 #381817 #382817
triadic
#381817 #173818 #181738
tetradic
#381817 #263817 #173738 #281738
square
#381817 #263817 #173738 #281738
split-complementary
#381817 #173828 #172638
monochromatic
#160909 #160909 #381817 #632B29 #8F3D3B

Accessibility & contrast

On white

16.02
#381817 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#381817 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #381817
16.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##381817#FFFFFF#000000##FFFFFF
##3818171.0016.021.3116.02
#FFFFFF16.021.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F1D17
Deuteranopia (green-blind)
#272416
Tritanopia (blue-blind)
#3E1318
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #381817;
/* rgb */ color: rgb(56, 24, 23);
/* oklch */ color: oklch(25.6% 0.051 23.2);
Tailwind
colors: {
  custom: {
    50: '#715553',
    500: '#381817',
    950: '#000000',
  },
}
SCSS
$custom: #381817;
$custom-light: #715553;
$custom-dark: #000000;
JSON
{
  "hex": "#381817",
  "rgb": {
    "r": 56,
    "g": 24,
    "b": 23
  },
  "hsl": {
    "h": 1.818,
    "s": 41.772,
    "l": 15.49
  },
  "oklch": {
    "l": 0.25568,
    "c": 0.05118,
    "h": 23.2
  },
  "luminance": 0.01556
}

Semantic roles & 50–950 ramp

primary
#381817
secondary
#3C6D6E
accent
#CED256
background
#F7F5F4
surface
#EDE9E7
border
#C8C5C3
text
#080302
muted
#7B7878

Preview Lab

Preview with #381817

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

Preview Lab → · Contrast checker → · Palette generator →

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