#39040F#39040F

#39040F is a very dark, moderate red. Relative luminance 0.010; OKLCH L 22.5% C 0.082 H 14.9°. Best body text is #FFFFFF at 17.53:1 contrast (WCAG AA passes).

Color values

HEX#39040F
RGBrgb(57, 4, 15)
HSLhsl(348, 87%, 12%)
HSVhsv(348, 93%, 22%)
CMYKcmyk(0%, 93%, 73.7%, 77.6%)
CIE-LABlab(8.92, 26.28, 7.55)
CIE-LCHlch(8.92, 27.34, 16.03°)
OKLaboklab(22.52% 0.0788 0.021)
OKLCHoklch(22.52% 0.082 14.9)
XYZxyz(1.8172, 0.9915, 0.5475)
Luminance0.0099 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39040F #04392E
analogous
#39042A #39040F #391404
triadic
#39040F #0F3904 #040F39
tetradic
#39040F #2A3904 #04392E #140439
square
#39040F #2A3904 #04392E #140439
split-complementary
#39040F #043914 #042A39
monochromatic
#1D0208 #1D0208 #39040F #72081E #AB0C2D

Accessibility & contrast

On white

17.53
#39040F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #39040F
17.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39040F#FFFFFF#000000##FFFFFF
##39040F1.0017.531.2017.53
#FFFFFF17.531.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#13120F
Deuteranopia (green-blind)
#211D0D
Tritanopia (blue-blind)
#3F0008
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #39040f;
/* rgb */ color: rgb(57, 4, 15);
/* oklch */ color: oklch(22.5% 0.082 14.9);
Tailwind
colors: {
  custom: {
    50: '#744a4e',
    500: '#39040f',
    950: '#000000',
  },
}
SCSS
$custom: #39040f;
$custom-light: #744a4e;
$custom-dark: #000000;
JSON
{
  "hex": "#39040f",
  "rgb": {
    "r": 57,
    "g": 4,
    "b": 15
  },
  "hsl": {
    "h": 347.547,
    "s": 86.885,
    "l": 11.961
  },
  "oklch": {
    "l": 0.22517,
    "c": 0.08152,
    "h": 14.9
  },
  "luminance": 0.00991
}

Semantic roles & 50–950 ramp

primary
#39040F
secondary
#1E7B68
accent
#FDD12B
background
#F7F4F4
surface
#EDE7E7
border
#C8C3C3
text
#090101
muted
#7B7777

Preview Lab

Preview with #39040F

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

Preview Lab → · Contrast checker → · Palette generator →

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