#240107#240107

#240107 is a very dark, moderate red. Relative luminance 0.004; OKLCH L 16.8% C 0.064 H 13.4°. Best body text is #FFFFFF at 19.40:1 contrast (WCAG AA passes).

Color values

HEX#240107
RGBrgb(36, 1, 7)
HSLhsl(350, 95%, 7%)
HSVhsv(350, 97%, 14%)
CMYKcmyk(0%, 97.2%, 80.6%, 85.9%)
CIE-LABlab(3.72, 15.77, 2.99)
CIE-LCHlch(3.72, 16.05, 10.74°)
OKLaboklab(16.85% 0.0618 0.0147)
OKLCHoklch(16.85% 0.064 13.4)
XYZxyz(0.7768, 0.4122, 0.2396)
Luminance0.0041 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#240107 #01241E
analogous
#240119 #240107 #240C01
triadic
#240107 #072401 #010724
tetradic
#240107 #192401 #01241E #0C0124
square
#240107 #192401 #01241E #0C0124
split-complementary
#240107 #01240C #011924
monochromatic
#1E0106 #1E0106 #240107 #600313 #9B041E

Accessibility & contrast

On white

19.40
#240107 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.08
#240107 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #240107
19.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##240107#FFFFFF#000000##FFFFFF
##2401071.0019.401.0819.40
#FFFFFF19.401.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#080807
Deuteranopia (green-blind)
#121006
Tritanopia (blue-blind)
#290003
Achromatopsia (no color)
#0D0D0D

Design tokens & code

CSS
--color: #240107;
/* rgb */ color: rgb(36, 1, 7);
/* oklch */ color: oklch(16.8% 0.064 13.4);
Tailwind
colors: {
  custom: {
    50: '#5f464a',
    500: '#240107',
    950: '#000000',
  },
}
SCSS
$custom: #240107;
$custom-light: #5f464a;
$custom-dark: #000000;
JSON
{
  "hex": "#240107",
  "rgb": {
    "r": 36,
    "g": 1,
    "b": 7
  },
  "hsl": {
    "h": 349.714,
    "s": 94.595,
    "l": 7.255
  },
  "oklch": {
    "l": 0.16846,
    "c": 0.06353,
    "h": 13.4
  },
  "luminance": 0.00412
}

Semantic roles & 50–950 ramp

primary
#240107
secondary
#166B5C
accent
#FFDA29
background
#F5F3F4
surface
#E9E5E7
border
#C5C1C3
text
#050001
muted
#797777

Preview Lab

Preview with #240107

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

Preview Lab → · Contrast checker → · Palette generator →

#240107 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva