#38120E#38120E

#38120E is a very dark, moderate red. Relative luminance 0.013; OKLCH L 24.3% C 0.062 H 28.5°. Best body text is #FFFFFF at 16.65:1 contrast (WCAG AA passes).

Color values

HEX#38120E
RGBrgb(56, 18, 14)
HSLhsl(6, 60%, 14%)
HSVhsv(6, 75%, 22%)
CMYKcmyk(0%, 67.9%, 75%, 78%)
CIE-LABlab(11.31, 18.60, 11.41)
CIE-LCHlch(11.31, 21.82, 31.52°)
OKLaboklab(24.26% 0.0543 0.0294)
OKLCHoklch(24.26% 0.062 28.5)
XYZxyz(1.9266, 1.3053, 0.5659)
Luminance0.0131 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38120E #0E3438
analogous
#380E1F #38120E #38270E
triadic
#38120E #0E3812 #120E38
tetradic
#38120E #1F380E #0E3438 #270E38
square
#38120E #1F380E #0E3438 #270E38
split-complementary
#38120E #0E3827 #0E1F38
monochromatic
#180806 #180806 #38120E #69221A #9A3126

Accessibility & contrast

On white

16.65
#38120E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#38120E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38120E
16.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38120E#FFFFFF#000000##FFFFFF
##38120E1.0016.651.2616.65
#FFFFFF16.651.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C190D
Deuteranopia (green-blind)
#25210D
Tritanopia (blue-blind)
#3E0A11
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #38120e;
/* rgb */ color: rgb(56, 18, 14);
/* oklch */ color: oklch(24.3% 0.062 28.5);
Tailwind
colors: {
  custom: {
    50: '#72514d',
    500: '#38120e',
    950: '#000000',
  },
}
SCSS
$custom: #38120e;
$custom-light: #72514d;
$custom-dark: #000000;
JSON
{
  "hex": "#38120e",
  "rgb": {
    "r": 56,
    "g": 18,
    "b": 14
  },
  "hsl": {
    "h": 5.714,
    "s": 60,
    "l": 13.725
  },
  "oklch": {
    "l": 0.24255,
    "c": 0.06172,
    "h": 28.5
  },
  "luminance": 0.01305
}

Semantic roles & 50–950 ramp

primary
#38120E
secondary
#2F6C73
accent
#D4E345
background
#F7F4F4
surface
#EDE7E7
border
#C8C3C3
text
#080201
muted
#7B7877

Preview Lab

Preview with #38120E

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

Preview Lab → · Contrast checker → · Palette generator →

#38120E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva