#381012#381012

#381012 is a very dark, moderate red. Relative luminance 0.013; OKLCH L 24.0% C 0.064 H 20.3°. Best body text is #FFFFFF at 16.79:1 contrast (WCAG AA passes).

Color values

HEX#381012
RGBrgb(56, 16, 18)
HSLhsl(357, 56%, 14%)
HSVhsv(357, 71%, 22%)
CMYKcmyk(0%, 71.4%, 67.9%, 78%)
CIE-LABlab(10.96, 20.10, 8.70)
CIE-LCHlch(10.96, 21.90, 23.40°)
OKLaboklab(24.02% 0.0598 0.0222)
OKLCHoklch(24.02% 0.064 20.3)
XYZxyz(1.9255, 1.2553, 0.7130)
Luminance0.0126 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#381012 #103836
analogous
#381026 #381012 #382210
triadic
#381012 #123810 #101238
tetradic
#381012 #263810 #103836 #221038
square
#381012 #263810 #103836 #221038
split-complementary
#381012 #103822 #102638
monochromatic
#180708 #180708 #381012 #681E21 #972B31

Accessibility & contrast

On white

16.79
#381012 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#381012 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #381012
16.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##381012#FFFFFF#000000##FFFFFF
##3810121.0016.791.2516.79
#FFFFFF16.791.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A1812
Deuteranopia (green-blind)
#242111
Tritanopia (blue-blind)
#3E0911
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #381012;
/* rgb */ color: rgb(56, 16, 18);
/* oklch */ color: oklch(24.0% 0.064 20.3);
Tailwind
colors: {
  custom: {
    50: '#72504f',
    500: '#381012',
    950: '#000000',
  },
}
SCSS
$custom: #381012;
$custom-light: #72504f;
$custom-dark: #000000;
JSON
{
  "hex": "#381012",
  "rgb": {
    "r": 56,
    "g": 16,
    "b": 18
  },
  "hsl": {
    "h": 357,
    "s": 55.556,
    "l": 14.118
  },
  "oklch": {
    "l": 0.24016,
    "c": 0.06381,
    "h": 20.3
  },
  "luminance": 0.01255
}

Semantic roles & 50–950 ramp

primary
#381012
secondary
#32726F
accent
#DFD749
background
#F7F4F4
surface
#EDE7E7
border
#C8C3C3
text
#080202
muted
#7B7878

Preview Lab

Preview with #381012

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

Preview Lab → · Contrast checker → · Palette generator →

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