#38100C#38100C

#38100C is a very dark, moderate red. Relative luminance 0.012; OKLCH L 23.9% C 0.065 H 28.6°. Best body text is #FFFFFF at 16.83:1 contrast (WCAG AA passes).

Color values

HEX#38100C
RGBrgb(56, 16, 12)
HSLhsl(5, 65%, 13%)
HSVhsv(5, 79%, 22%)
CMYKcmyk(0%, 71.4%, 78.6%, 78%)
CIE-LABlab(10.84, 19.62, 11.71)
CIE-LCHlch(10.84, 22.84, 30.83°)
OKLaboklab(23.88% 0.057 0.031)
OKLCHoklch(23.88% 0.065 28.6)
XYZxyz(1.8827, 1.2381, 0.4876)
Luminance0.0124 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38100C #0C3438
analogous
#380C1E #38100C #38260C
triadic
#38100C #0C3810 #100C38
tetradic
#38100C #1E380C #0C3438 #260C38
square
#38100C #1E380C #0C3438 #260C38
split-complementary
#38100C #0C3826 #0C1E38
monochromatic
#190705 #190705 #38100C #6A1E17 #9D2D22

Accessibility & contrast

On white

16.83
#38100C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#38100C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38100C
16.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38100C#FFFFFF#000000##FFFFFF
##38100C1.0016.831.2516.83
#FFFFFF16.831.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B180B
Deuteranopia (green-blind)
#25200B
Tritanopia (blue-blind)
#3E070F
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #38100c;
/* rgb */ color: rgb(56, 16, 12);
/* oklch */ color: oklch(23.9% 0.065 28.6);
Tailwind
colors: {
  custom: {
    50: '#72504c',
    500: '#38100c',
    950: '#000000',
  },
}
SCSS
$custom: #38100c;
$custom-light: #72504c;
$custom-dark: #000000;
JSON
{
  "hex": "#38100c",
  "rgb": {
    "r": 56,
    "g": 16,
    "b": 12
  },
  "hsl": {
    "h": 5.455,
    "s": 64.706,
    "l": 13.333
  },
  "oklch": {
    "l": 0.23884,
    "c": 0.06484,
    "h": 28.6
  },
  "luminance": 0.01238
}

Semantic roles & 50–950 ramp

primary
#38100C
secondary
#2C6E74
accent
#D8E840
background
#F7F4F4
surface
#EDE7E7
border
#C8C3C3
text
#080201
muted
#7B7877

Preview Lab

Preview with #38100C

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

Preview Lab → · Contrast checker → · Palette generator →

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