#380C04#380C04

#380C04 is a very dark, moderate red. Relative luminance 0.011; OKLCH L 23.1% C 0.072 H 33.8°. Best body text is #FFFFFF at 17.18:1 contrast (WCAG AA passes).

Color values

HEX#380C04
RGBrgb(56, 12, 4)
HSLhsl(9, 87%, 12%)
HSVhsv(9, 93%, 22%)
CMYKcmyk(0%, 78.6%, 92.9%, 78%)
CIE-LABlab(9.90, 21.27, 13.69)
CIE-LCHlch(9.90, 25.29, 32.78°)
OKLaboklab(23.14% 0.0598 0.0401)
OKLCHoklch(23.14% 0.072 33.8)
XYZxyz(1.7845, 1.1127, 0.2357)
Luminance0.0111 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#380C04 #043038
analogous
#380416 #380C04 #382604
triadic
#380C04 #04380C #0C0438
tetradic
#380C04 #163804 #043038 #260438
square
#380C04 #163804 #043038 #260438
split-complementary
#380C04 #043826 #041638
monochromatic
#1D0602 #1D0602 #380C04 #711808 #AA240C

Accessibility & contrast

On white

17.18
#380C04 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#380C04 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #380C04
17.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##380C04#FFFFFF#000000##FFFFFF
##380C041.0017.181.2217.18
#FFFFFF17.181.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#191503
Deuteranopia (green-blind)
#241F03
Tritanopia (blue-blind)
#3F020A
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #380c04;
/* rgb */ color: rgb(56, 12, 4);
/* oklch */ color: oklch(23.1% 0.072 33.8);
Tailwind
colors: {
  custom: {
    50: '#734e48',
    500: '#380c04',
    950: '#000000',
  },
}
SCSS
$custom: #380c04;
$custom-light: #734e48;
$custom-dark: #000000;
JSON
{
  "hex": "#380c04",
  "rgb": {
    "r": 56,
    "g": 12,
    "b": 4
  },
  "hsl": {
    "h": 9.231,
    "s": 86.667,
    "l": 11.765
  },
  "oklch": {
    "l": 0.23135,
    "c": 0.07197,
    "h": 33.8
  },
  "luminance": 0.01112
}

Semantic roles & 50–950 ramp

primary
#380C04
secondary
#1E6C7A
accent
#DDFD2B
background
#F7F4F4
surface
#EDE7E6
border
#C8C3C2
text
#090100
muted
#7B7777

Preview Lab

Preview with #380C04

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

Preview Lab → · Contrast checker → · Palette generator →

#380C04 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva