#38050C#38050C

#38050C is a very dark, moderate red. Relative luminance 0.010; OKLCH L 22.4% C 0.079 H 18.8°. Best body text is #FFFFFF at 17.57:1 contrast (WCAG AA passes).

Color values

HEX#38050C
RGBrgb(56, 5, 12)
HSLhsl(352, 84%, 12%)
HSVhsv(352, 91%, 22%)
CMYKcmyk(0%, 91.1%, 78.6%, 78%)
CIE-LABlab(8.79, 25.22, 8.81)
CIE-LCHlch(8.79, 26.71, 19.25°)
OKLaboklab(22.36% 0.0747 0.0254)
OKLCHoklch(22.36% 0.079 18.8)
XYZxyz(1.7517, 0.9761, 0.4439)
Luminance0.0098 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38050C #053831
analogous
#380526 #38050C #381805
triadic
#38050C #0C3805 #050C38
tetradic
#38050C #263805 #053831 #180538
square
#38050C #263805 #053831 #180538
split-complementary
#38050C #053818 #052638
monochromatic
#1C0306 #1C0306 #38050C #700A18 #A80F24

Accessibility & contrast

On white

17.57
#38050C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#38050C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38050C
17.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38050C#FFFFFF#000000##FFFFFF
##38050C1.0017.571.2017.57
#FFFFFF17.571.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#14120C
Deuteranopia (green-blind)
#211D0A
Tritanopia (blue-blind)
#3E0008
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #38050c;
/* rgb */ color: rgb(56, 5, 12);
/* oklch */ color: oklch(22.4% 0.079 18.8);
Tailwind
colors: {
  custom: {
    50: '#734a4c',
    500: '#38050c',
    950: '#000000',
  },
}
SCSS
$custom: #38050c;
$custom-light: #734a4c;
$custom-dark: #000000;
JSON
{
  "hex": "#38050c",
  "rgb": {
    "r": 56,
    "g": 5,
    "b": 12
  },
  "hsl": {
    "h": 351.765,
    "s": 83.607,
    "l": 11.961
  },
  "oklch": {
    "l": 0.22356,
    "c": 0.07891,
    "h": 18.8
  },
  "luminance": 0.00976
}

Semantic roles & 50–950 ramp

primary
#38050C
secondary
#20796D
accent
#FADE2E
background
#F7F4F4
surface
#EDE7E7
border
#C8C3C3
text
#090101
muted
#7B7777

Preview Lab

Preview with #38050C

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

Preview Lab → · Contrast checker → · Palette generator →

#38050C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva