#39040B#39040B

#39040B is a very dark, moderate red. Relative luminance 0.010; OKLCH L 22.4% C 0.081 H 19.4°. Best body text is #FFFFFF at 17.56:1 contrast (WCAG AA passes).

Color values

HEX#39040B
RGBrgb(57, 4, 11)
HSLhsl(352, 87%, 12%)
HSVhsv(352, 93%, 22%)
CMYKcmyk(0%, 93%, 80.7%, 77.6%)
CIE-LABlab(8.83, 26.02, 9.34)
CIE-LCHlch(8.83, 27.65, 19.75°)
OKLaboklab(22.43% 0.0769 0.0271)
OKLCHoklch(22.43% 0.081 19.4)
XYZxyz(1.7914, 0.9811, 0.4116)
Luminance0.0098 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39040B #043932
analogous
#390426 #39040B #391804
triadic
#39040B #0B3904 #040B39
tetradic
#39040B #263904 #043932 #180439
square
#39040B #263904 #043932 #180439
split-complementary
#39040B #043918 #042639
monochromatic
#1D0206 #1D0206 #39040B #720816 #AB0C21

Accessibility & contrast

On white

17.56
#39040B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #39040B
17.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39040B#FFFFFF#000000##FFFFFF
##39040B1.0017.561.2017.56
#FFFFFF17.561.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#14120B
Deuteranopia (green-blind)
#211D09
Tritanopia (blue-blind)
#400007
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #39040b;
/* rgb */ color: rgb(57, 4, 11);
/* oklch */ color: oklch(22.4% 0.081 19.4);
Tailwind
colors: {
  custom: {
    50: '#744a4b',
    500: '#39040b',
    950: '#000000',
  },
}
SCSS
$custom: #39040b;
$custom-light: #744a4b;
$custom-dark: #000000;
JSON
{
  "hex": "#39040b",
  "rgb": {
    "r": 57,
    "g": 4,
    "b": 11
  },
  "hsl": {
    "h": 352.075,
    "s": 86.885,
    "l": 11.961
  },
  "oklch": {
    "l": 0.22425,
    "c": 0.08149,
    "h": 19.4
  },
  "luminance": 0.00981
}

Semantic roles & 50–950 ramp

primary
#39040B
secondary
#1E7B6F
accent
#FDE12B
background
#F7F4F4
surface
#EDE7E7
border
#C8C3C3
text
#090101
muted
#7B7777

Preview Lab

Preview with #39040B

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

Preview Lab → · Contrast checker → · Palette generator →

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