#38181C#38181C

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

Color values

HEX#38181C
RGBrgb(56, 24, 28)
HSLhsl(353, 40%, 16%)
HSVhsv(353, 57%, 22%)
CMYKcmyk(0%, 57.1%, 50%, 78%)
CIE-LABlab(13.10, 16.37, 4.59)
CIE-LCHlch(13.10, 17.00, 15.65°)
OKLaboklab(25.72% 0.0495 0.0119)
OKLCHoklch(25.72% 0.051 13.5)
XYZxyz(2.1673, 1.5781, 1.2888)
Luminance0.0158 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38181C #183834
analogous
#38182C #38181C #382418
triadic
#38181C #1C3818 #181C38
tetradic
#38181C #2C3818 #183834 #241838
square
#38181C #2C3818 #183834 #241838
split-complementary
#38181C #183824 #182C38
monochromatic
#15090B #15090B #38181C #632A31 #8E3D47

Accessibility & contrast

On white

15.96
#38181C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#38181C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38181C
15.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38181C#FFFFFF#000000##FFFFFF
##38181C1.0015.961.3215.96
#FFFFFF15.961.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E1E1C
Deuteranopia (green-blind)
#26241B
Tritanopia (blue-blind)
#3D141A
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #38181c;
/* rgb */ color: rgb(56, 24, 28);
/* oklch */ color: oklch(25.7% 0.051 13.5);
Tailwind
colors: {
  custom: {
    50: '#705657',
    500: '#38181c',
    950: '#000000',
  },
}
SCSS
$custom: #38181c;
$custom-light: #705657;
$custom-dark: #000000;
JSON
{
  "hex": "#38181c",
  "rgb": {
    "r": 56,
    "g": 24,
    "b": 28
  },
  "hsl": {
    "h": 352.5,
    "s": 40,
    "l": 15.686
  },
  "oklch": {
    "l": 0.25715,
    "c": 0.05094,
    "h": 13.5
  },
  "luminance": 0.01578
}

Semantic roles & 50–950 ramp

primary
#38181C
secondary
#3E6E68
accent
#D0C158
background
#F6F5F5
surface
#ECE9E9
border
#C7C5C5
text
#080303
muted
#7B7878

Preview Lab

Preview with #38181C

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

Preview Lab → · Contrast checker → · Palette generator →

#38181C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva