#380712#380712

#380712 is a very dark, moderate red. Relative luminance 0.010; OKLCH L 22.8% C 0.076 H 12.9°. Best body text is #FFFFFF at 17.40:1 contrast (WCAG AA passes).

Color values

HEX#380712
RGBrgb(56, 7, 18)
HSLhsl(347, 78%, 12%)
HSVhsv(347, 88%, 22%)
CMYKcmyk(0%, 87.5%, 67.9%, 78%)
CIE-LABlab(9.29, 24.65, 6.34)
CIE-LCHlch(9.29, 25.46, 14.43°)
OKLaboklab(22.77% 0.0744 0.017)
OKLCHoklch(22.77% 0.076 12.9)
XYZxyz(1.8162, 1.0366, 0.6766)
Luminance0.0104 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#380712 #07382D
analogous
#38072A #380712 #381507
triadic
#380712 #123807 #071238
tetradic
#380712 #2A3807 #07382D #150738
square
#380712 #2A3807 #07382D #150738
split-complementary
#380712 #073815 #072A38
monochromatic
#1B0309 #1B0309 #380712 #6E0E23 #A51535

Accessibility & contrast

On white

17.40
#380712 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#380712 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #380712
17.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##380712#FFFFFF#000000##FFFFFF
##3807121.0017.401.2117.40
#FFFFFF17.401.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#141412
Deuteranopia (green-blind)
#211E11
Tritanopia (blue-blind)
#3E000B
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #380712;
/* rgb */ color: rgb(56, 7, 18);
/* oklch */ color: oklch(22.8% 0.076 12.9);
Tailwind
colors: {
  custom: {
    50: '#734b4f',
    500: '#380712',
    950: '#000000',
  },
}
SCSS
$custom: #380712;
$custom-light: #734b4f;
$custom-dark: #000000;
JSON
{
  "hex": "#380712",
  "rgb": {
    "r": 56,
    "g": 7,
    "b": 18
  },
  "hsl": {
    "h": 346.531,
    "s": 77.778,
    "l": 12.353
  },
  "oklch": {
    "l": 0.22774,
    "c": 0.07626,
    "h": 12.9
  },
  "luminance": 0.01036
}

Semantic roles & 50–950 ramp

primary
#380712
secondary
#237865
accent
#F4C934
background
#F7F4F4
surface
#EDE7E7
border
#C8C3C3
text
#080102
muted
#7B7778

Preview Lab

Preview with #380712

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

Preview Lab → · Contrast checker → · Palette generator →

#380712 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva