#38070F#38070F

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

Color values

HEX#38070F
RGBrgb(56, 7, 15)
HSLhsl(350, 78%, 12%)
HSVhsv(350, 88%, 22%)
CMYKcmyk(0%, 87.5%, 73.2%, 78%)
CIE-LABlab(9.22, 24.41, 7.95)
CIE-LCHlch(9.22, 25.67, 18.03°)
OKLaboklab(22.69% 0.0729 0.0219)
OKLCHoklch(22.69% 0.076 16.7)
XYZxyz(1.7933, 1.0275, 0.5557)
Luminance0.0103 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38070F #073830
analogous
#380728 #38070F #381807
triadic
#38070F #0F3807 #070F38
tetradic
#38070F #283807 #073830 #180738
square
#38070F #283807 #073830 #180738
split-complementary
#38070F #073818 #072838
monochromatic
#1B0307 #1B0307 #38070F #6E0E1E #A5152C

Accessibility & contrast

On white

17.42
#38070F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#38070F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38070F
17.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38070F#FFFFFF#000000##FFFFFF
##38070F1.0017.421.2117.42
#FFFFFF17.421.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15130F
Deuteranopia (green-blind)
#211E0E
Tritanopia (blue-blind)
#3E000A
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #38070f;
/* rgb */ color: rgb(56, 7, 15);
/* oklch */ color: oklch(22.7% 0.076 16.7);
Tailwind
colors: {
  custom: {
    50: '#734b4e',
    500: '#38070f',
    950: '#000000',
  },
}
SCSS
$custom: #38070f;
$custom-light: #734b4e;
$custom-dark: #000000;
JSON
{
  "hex": "#38070f",
  "rgb": {
    "r": 56,
    "g": 7,
    "b": 15
  },
  "hsl": {
    "h": 350.204,
    "s": 77.778,
    "l": 12.353
  },
  "oklch": {
    "l": 0.22694,
    "c": 0.07609,
    "h": 16.7
  },
  "luminance": 0.01027
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #38070F

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

Preview Lab → · Contrast checker → · Palette generator →

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