#381018#381018

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

Color values

HEX#381018
RGBrgb(56, 16, 24)
HSLhsl(348, 56%, 14%)
HSVhsv(348, 71%, 22%)
CMYKcmyk(0%, 71.4%, 57.1%, 78%)
CIE-LABlab(11.12, 20.72, 4.78)
CIE-LCHlch(11.12, 21.27, 13.00°)
OKLaboklab(24.19% 0.0628 0.0123)
OKLCHoklch(24.19% 0.064 11.1)
XYZxyz(1.9812, 1.2775, 1.0062)
Luminance0.0128 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#381018 #103830
analogous
#38102C #381018 #381C10
triadic
#381018 #183810 #101838
tetradic
#381018 #2C3810 #103830 #1C1038
square
#381018 #2C3810 #103830 #1C1038
split-complementary
#381018 #10381C #102C38
monochromatic
#18070A #18070A #381018 #681E2C #972B41

Accessibility & contrast

On white

16.73
#381018 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#381018 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #381018
16.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##381018#FFFFFF#000000##FFFFFF
##3810181.0016.731.2616.73
#FFFFFF16.731.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#191918
Deuteranopia (green-blind)
#232117
Tritanopia (blue-blind)
#3E0A13
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #381018;
/* rgb */ color: rgb(56, 16, 24);
/* oklch */ color: oklch(24.2% 0.064 11.1);
Tailwind
colors: {
  custom: {
    50: '#715054',
    500: '#381018',
    950: '#000000',
  },
}
SCSS
$custom: #381018;
$custom-light: #715054;
$custom-dark: #000000;
JSON
{
  "hex": "#381018",
  "rgb": {
    "r": 56,
    "g": 16,
    "b": 24
  },
  "hsl": {
    "h": 348,
    "s": 55.556,
    "l": 14.118
  },
  "oklch": {
    "l": 0.24187,
    "c": 0.06396,
    "h": 11.1
  },
  "luminance": 0.01277
}

Semantic roles & 50–950 ramp

primary
#381018
secondary
#327265
accent
#DFC149
background
#F7F4F4
surface
#EDE7E7
border
#C8C3C3
text
#080202
muted
#7B7878

Preview Lab

Preview with #381018

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

Preview Lab → · Contrast checker → · Palette generator →

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