#38070D#38070D

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

Color values

HEX#38070D
RGBrgb(56, 7, 13)
HSLhsl(353, 78%, 12%)
HSVhsv(353, 88%, 22%)
CMYKcmyk(0%, 87.5%, 76.8%, 78%)
CIE-LABlab(9.17, 24.27, 8.89)
CIE-LCHlch(9.17, 25.84, 20.12°)
OKLaboklab(22.65% 0.0719 0.0249)
OKLCHoklch(22.65% 0.076 19.1)
XYZxyz(1.7797, 1.0220, 0.4843)
Luminance0.0102 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38070D #073832
analogous
#380726 #38070D #381A07
triadic
#38070D #0D3807 #070D38
tetradic
#38070D #263807 #073832 #1A0738
square
#38070D #263807 #073832 #1A0738
split-complementary
#38070D #07381A #072638
monochromatic
#1B0306 #1B0306 #38070D #6E0E1A #A51526

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##38070D#FFFFFF#000000##FFFFFF
##38070D1.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)
#15130D
Deuteranopia (green-blind)
#211E0C
Tritanopia (blue-blind)
#3E0009
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #38070d;
/* rgb */ color: rgb(56, 7, 13);
/* oklch */ color: oklch(22.6% 0.076 19.1);
Tailwind
colors: {
  custom: {
    50: '#734b4c',
    500: '#38070d',
    950: '#000000',
  },
}
SCSS
$custom: #38070d;
$custom-light: #734b4c;
$custom-dark: #000000;
JSON
{
  "hex": "#38070d",
  "rgb": {
    "r": 56,
    "g": 7,
    "b": 13
  },
  "hsl": {
    "h": 352.653,
    "s": 77.778,
    "l": 12.353
  },
  "oklch": {
    "l": 0.22647,
    "c": 0.07612,
    "h": 19.1
  },
  "luminance": 0.01022
}

Semantic roles & 50–950 ramp

primary
#38070D
secondary
#23786D
accent
#F4DD34
background
#F7F4F4
surface
#EDE7E7
border
#C8C3C3
text
#090101
muted
#7B7777

Preview Lab

Preview with #38070D

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

Preview Lab → · Contrast checker → · Palette generator →

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