#39040C#39040C

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

Color values

HEX#39040C
RGBrgb(57, 4, 12)
HSLhsl(351, 87%, 12%)
HSVhsv(351, 93%, 22%)
CMYKcmyk(0%, 93%, 78.9%, 77.6%)
CIE-LABlab(8.85, 26.08, 8.93)
CIE-LCHlch(8.85, 27.57, 18.90°)
OKLaboklab(22.45% 0.0773 0.0257)
OKLCHoklch(22.45% 0.081 18.4)
XYZxyz(1.7973, 0.9835, 0.4430)
Luminance0.0098 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39040C #043931
analogous
#390427 #39040C #391704
triadic
#39040C #0C3904 #040C39
tetradic
#39040C #273904 #043931 #170439
square
#39040C #273904 #043931 #170439
split-complementary
#39040C #043917 #042739
monochromatic
#1D0206 #1D0206 #39040C #720818 #AB0C24

Accessibility & contrast

On white

17.55
#39040C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #39040C
17.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39040C#FFFFFF#000000##FFFFFF
##39040C1.0017.551.2017.55
#FFFFFF17.551.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.551.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #39040c;
/* rgb */ color: rgb(57, 4, 12);
/* oklch */ color: oklch(22.4% 0.081 18.4);
Tailwind
colors: {
  custom: {
    50: '#744a4c',
    500: '#39040c',
    950: '#000000',
  },
}
SCSS
$custom: #39040c;
$custom-light: #744a4c;
$custom-dark: #000000;
JSON
{
  "hex": "#39040c",
  "rgb": {
    "r": 57,
    "g": 4,
    "b": 12
  },
  "hsl": {
    "h": 350.943,
    "s": 86.885,
    "l": 11.961
  },
  "oklch": {
    "l": 0.22446,
    "c": 0.08147,
    "h": 18.4
  },
  "luminance": 0.00983
}

Semantic roles & 50–950 ramp

primary
#39040C
secondary
#1E7B6D
accent
#FDDD2B
background
#F7F4F4
surface
#EDE7E7
border
#C8C3C3
text
#090101
muted
#7B7777

Preview Lab

Preview with #39040C

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

Preview Lab → · Contrast checker → · Palette generator →

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