#38070C#38070C

#38070C is a very dark, moderate red. Relative luminance 0.010; OKLCH L 22.6% C 0.076 H 20.3°. Best body text is #FFFFFF at 17.44:1 contrast (WCAG AA passes).

Color values

HEX#38070C
RGBrgb(56, 7, 12)
HSLhsl(354, 78%, 12%)
HSVhsv(354, 88%, 22%)
CMYKcmyk(0%, 87.5%, 78.6%, 78%)
CIE-LABlab(9.15, 24.20, 9.33)
CIE-LCHlch(9.15, 25.93, 21.08°)
OKLaboklab(22.63% 0.0715 0.0264)
OKLCHoklch(22.63% 0.076 20.3)
XYZxyz(1.7734, 1.0195, 0.4512)
Luminance0.0102 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38070C #073833
analogous
#380724 #38070C #381B07
triadic
#38070C #0C3807 #070C38
tetradic
#38070C #243807 #073833 #1B0738
square
#38070C #243807 #073833 #1B0738
split-complementary
#38070C #07381B #072438
monochromatic
#1B0306 #1B0306 #38070C #6E0E18 #A51523

Accessibility & contrast

On white

17.44
#38070C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #38070C
17.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38070C#FFFFFF#000000##FFFFFF
##38070C1.0017.441.2017.44
#FFFFFF17.441.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15130C
Deuteranopia (green-blind)
#211E0A
Tritanopia (blue-blind)
#3E0009
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #38070c;
/* rgb */ color: rgb(56, 7, 12);
/* oklch */ color: oklch(22.6% 0.076 20.3);
Tailwind
colors: {
  custom: {
    50: '#734b4c',
    500: '#38070c',
    950: '#000000',
  },
}
SCSS
$custom: #38070c;
$custom-light: #734b4c;
$custom-dark: #000000;
JSON
{
  "hex": "#38070c",
  "rgb": {
    "r": 56,
    "g": 7,
    "b": 12
  },
  "hsl": {
    "h": 353.878,
    "s": 77.778,
    "l": 12.353
  },
  "oklch": {
    "l": 0.22625,
    "c": 0.07618,
    "h": 20.3
  },
  "luminance": 0.01019
}

Semantic roles & 50–950 ramp

primary
#38070C
secondary
#23786F
accent
#F4E134
background
#F7F4F4
surface
#EDE7E7
border
#C8C3C3
text
#090101
muted
#7B7777

Preview Lab

Preview with #38070C

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

Preview Lab → · Contrast checker → · Palette generator →

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