#38121A#38121A

#38121A is a very dark, moderate red. Relative luminance 0.013; OKLCH L 24.6% C 0.061 H 9.7°. Best body text is #FFFFFF at 16.54:1 contrast (WCAG AA passes).

Color values

HEX#38121A
RGBrgb(56, 18, 26)
HSLhsl(347, 51%, 15%)
HSVhsv(347, 68%, 22%)
CMYKcmyk(0%, 67.9%, 53.6%, 78%)
CIE-LABlab(11.61, 19.81, 3.97)
CIE-LCHlch(11.61, 20.20, 11.34°)
OKLaboklab(24.57% 0.0601 0.0103)
OKLCHoklch(24.57% 0.061 9.7)
XYZxyz(2.0338, 1.3482, 1.1302)
Luminance0.0135 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38121A #123830
analogous
#38122D #38121A #381D12
triadic
#38121A #1A3812 #121A38
tetradic
#38121A #2D3812 #123830 #1D1238
square
#38121A #2D3812 #123830 #1D1238
split-complementary
#38121A #12381D #122D38
monochromatic
#17070B #17070B #38121A #662130 #953045

Accessibility & contrast

On white

16.54
#38121A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#38121A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38121A
16.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38121A#FFFFFF#000000##FFFFFF
##38121A1.0016.541.2716.54
#FFFFFF16.541.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A1A1A
Deuteranopia (green-blind)
#242219
Tritanopia (blue-blind)
#3D0D15
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #38121a;
/* rgb */ color: rgb(56, 18, 26);
/* oklch */ color: oklch(24.6% 0.061 9.7);
Tailwind
colors: {
  custom: {
    50: '#715256',
    500: '#38121a',
    950: '#000000',
  },
}
SCSS
$custom: #38121a;
$custom-light: #715256;
$custom-dark: #000000;
JSON
{
  "hex": "#38121a",
  "rgb": {
    "r": 56,
    "g": 18,
    "b": 26
  },
  "hsl": {
    "h": 347.368,
    "s": 51.351,
    "l": 14.51
  },
  "oklch": {
    "l": 0.24574,
    "c": 0.06099,
    "h": 9.7
  },
  "luminance": 0.01348
}

Semantic roles & 50–950 ramp

primary
#38121A
secondary
#357164
accent
#DBBD4D
background
#F7F4F5
surface
#EDE7E8
border
#C8C3C4
text
#080203
muted
#7B7878

Preview Lab

Preview with #38121A

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

Preview Lab → · Contrast checker → · Palette generator →

#38121A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva