#38070B#38070B

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

Color values

HEX#38070B
RGBrgb(56, 7, 11)
HSLhsl(355, 78%, 12%)
HSVhsv(355, 88%, 22%)
CMYKcmyk(0%, 87.5%, 80.4%, 78%)
CIE-LABlab(9.13, 24.14, 9.74)
CIE-LCHlch(9.13, 26.03, 21.98°)
OKLaboklab(22.6% 0.071 0.0279)
OKLCHoklch(22.6% 0.076 21.4)
XYZxyz(1.7675, 1.0171, 0.4198)
Luminance0.0102 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38070B #073834
analogous
#380724 #38070B #381C07
triadic
#38070B #0B3807 #070B38
tetradic
#38070B #243807 #073834 #1C0738
square
#38070B #243807 #073834 #1C0738
split-complementary
#38070B #07381C #072438
monochromatic
#1B0305 #1B0305 #38070B #6E0E16 #A51520

Accessibility & contrast

On white

17.45
#38070B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #38070B
17.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38070B#FFFFFF#000000##FFFFFF
##38070B1.0017.451.2017.45
#FFFFFF17.451.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.451.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #38070b;
/* rgb */ color: rgb(56, 7, 11);
/* oklch */ color: oklch(22.6% 0.076 21.4);
Tailwind
colors: {
  custom: {
    50: '#734b4b',
    500: '#38070b',
    950: '#000000',
  },
}
SCSS
$custom: #38070b;
$custom-light: #734b4b;
$custom-dark: #000000;
JSON
{
  "hex": "#38070b",
  "rgb": {
    "r": 56,
    "g": 7,
    "b": 11
  },
  "hsl": {
    "h": 355.102,
    "s": 77.778,
    "l": 12.353
  },
  "oklch": {
    "l": 0.22604,
    "c": 0.07626,
    "h": 21.4
  },
  "luminance": 0.01017
}

Semantic roles & 50–950 ramp

primary
#38070B
secondary
#237871
accent
#F4E534
background
#F7F4F4
surface
#EDE7E7
border
#C8C3C3
text
#090101
muted
#7B7777

Preview Lab

Preview with #38070B

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

Preview Lab → · Contrast checker → · Palette generator →

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