#38121B#38121B

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

Color values

HEX#38121B
RGBrgb(56, 18, 27)
HSLhsl(346, 51%, 15%)
HSVhsv(346, 68%, 22%)
CMYKcmyk(0%, 67.9%, 51.8%, 78%)
CIE-LABlab(11.64, 19.94, 3.27)
CIE-LCHlch(11.64, 20.20, 9.31°)
OKLaboklab(24.61% 0.0606 0.0086)
OKLCHoklch(24.61% 0.061 8.1)
XYZxyz(2.0452, 1.3527, 1.1901)
Luminance0.0135 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38121B #12382F
analogous
#38122E #38121B #381C12
triadic
#38121B #1B3812 #121B38
tetradic
#38121B #2E3812 #12382F #1C1238
square
#38121B #2E3812 #12382F #1C1238
split-complementary
#38121B #12381C #122E38
monochromatic
#17070B #17070B #38121B #662131 #953048

Accessibility & contrast

On white

16.53
#38121B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #38121B
16.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38121B#FFFFFF#000000##FFFFFF
##38121B1.0016.531.2716.53
#FFFFFF16.531.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A1A1B
Deuteranopia (green-blind)
#24221A
Tritanopia (blue-blind)
#3D0D15
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #38121b;
/* rgb */ color: rgb(56, 18, 27);
/* oklch */ color: oklch(24.6% 0.061 8.1);
Tailwind
colors: {
  custom: {
    50: '#715257',
    500: '#38121b',
    950: '#000000',
  },
}
SCSS
$custom: #38121b;
$custom-light: #715257;
$custom-dark: #000000;
JSON
{
  "hex": "#38121b",
  "rgb": {
    "r": 56,
    "g": 18,
    "b": 27
  },
  "hsl": {
    "h": 345.789,
    "s": 51.351,
    "l": 14.51
  },
  "oklch": {
    "l": 0.24607,
    "c": 0.06119,
    "h": 8.1
  },
  "luminance": 0.01352
}

Semantic roles & 50–950 ramp

primary
#38121B
secondary
#357163
accent
#DBB94D
background
#F7F4F5
surface
#EDE7E9
border
#C8C3C5
text
#080203
muted
#7B7878

Preview Lab

Preview with #38121B

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

Preview Lab → · Contrast checker → · Palette generator →

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