#39040A#39040A

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

Color values

HEX#39040A
RGBrgb(57, 4, 10)
HSLhsl(353, 87%, 12%)
HSVhsv(353, 93%, 22%)
CMYKcmyk(0%, 93%, 82.5%, 77.6%)
CIE-LABlab(8.81, 25.96, 9.73)
CIE-LCHlch(8.81, 27.73, 20.55°)
OKLaboklab(22.41% 0.0764 0.0285)
OKLCHoklch(22.41% 0.082 20.5)
XYZxyz(1.7858, 0.9789, 0.3820)
Luminance0.0098 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39040A #043933
analogous
#390425 #39040A #391904
triadic
#39040A #0A3904 #040A39
tetradic
#39040A #253904 #043933 #190439
square
#39040A #253904 #043933 #190439
split-complementary
#39040A #043919 #042539
monochromatic
#1D0205 #1D0205 #39040A #720814 #AB0C1E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##39040A#FFFFFF#000000##FFFFFF
##39040A1.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)
#14120A
Deuteranopia (green-blind)
#211D08
Tritanopia (blue-blind)
#400006
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #39040a;
/* rgb */ color: rgb(57, 4, 10);
/* oklch */ color: oklch(22.4% 0.082 20.5);
Tailwind
colors: {
  custom: {
    50: '#744a4b',
    500: '#39040a',
    950: '#000000',
  },
}
SCSS
$custom: #39040a;
$custom-light: #744a4b;
$custom-dark: #000000;
JSON
{
  "hex": "#39040a",
  "rgb": {
    "r": 57,
    "g": 4,
    "b": 10
  },
  "hsl": {
    "h": 353.208,
    "s": 86.885,
    "l": 11.961
  },
  "oklch": {
    "l": 0.22405,
    "c": 0.08154,
    "h": 20.5
  },
  "luminance": 0.00979
}

Semantic roles & 50–950 ramp

primary
#39040A
secondary
#1E7B70
accent
#FDE52B
background
#F7F4F4
surface
#EDE7E7
border
#C8C3C3
text
#090101
muted
#7B7777

Preview Lab

Preview with #39040A

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

Preview Lab → · Contrast checker → · Palette generator →

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