#38150C#38150C

#38150C is a very dark, muted red. Relative luminance 0.014; OKLCH L 24.8% C 0.059 H 35.5°. Best body text is #FFFFFF at 16.40:1 contrast (WCAG AA passes).

Color values

HEX#38150C
RGBrgb(56, 21, 12)
HSLhsl(12, 65%, 13%)
HSVhsv(12, 79%, 22%)
CMYKcmyk(0%, 62.5%, 78.6%, 78%)
CIE-LABlab(11.98, 16.62, 13.29)
CIE-LCHlch(11.98, 21.28, 38.65°)
OKLaboklab(24.75% 0.0476 0.034)
OKLCHoklch(24.75% 0.059 35.5)
XYZxyz(1.9656, 1.4039, 0.5152)
Luminance0.0140 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38150C #0C2F38
analogous
#380C19 #38150C #382B0C
triadic
#38150C #0C3815 #150C38
tetradic
#38150C #19380C #0C2F38 #2B0C38
square
#38150C #19380C #0C2F38 #2B0C38
split-complementary
#38150C #0C382B #0C1938
monochromatic
#190905 #190905 #38150C #6A2817 #9D3B22

Accessibility & contrast

On white

16.40
#38150C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#38150C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38150C
16.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38150C#FFFFFF#000000##FFFFFF
##38150C1.0016.401.2816.40
#FFFFFF16.401.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E1B0B
Deuteranopia (green-blind)
#27220B
Tritanopia (blue-blind)
#3E0E13
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #38150c;
/* rgb */ color: rgb(56, 21, 12);
/* oklch */ color: oklch(24.8% 0.059 35.5);
Tailwind
colors: {
  custom: {
    50: '#72534c',
    500: '#38150c',
    950: '#000000',
  },
}
SCSS
$custom: #38150c;
$custom-light: #72534c;
$custom-dark: #000000;
JSON
{
  "hex": "#38150c",
  "rgb": {
    "r": 56,
    "g": 21,
    "b": 12
  },
  "hsl": {
    "h": 12.273,
    "s": 64.706,
    "l": 13.333
  },
  "oklch": {
    "l": 0.24752,
    "c": 0.05853,
    "h": 35.5
  },
  "luminance": 0.01404
}

Semantic roles & 50–950 ramp

primary
#38150C
secondary
#2C6574
accent
#C5E840
background
#F7F4F4
surface
#EDE7E7
border
#C8C3C3
text
#080201
muted
#7B7877

Preview Lab

Preview with #38150C

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

Preview Lab → · Contrast checker → · Palette generator →

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