#240201#240201

#240201 is a very dark, moderate red. Relative luminance 0.004; OKLCH L 16.9% C 0.062 H 29.7°. Best body text is #FFFFFF at 19.37:1 contrast (WCAG AA passes).

Color values

HEX#240201
RGBrgb(36, 2, 1)
HSLhsl(2, 95%, 7%)
HSVhsv(2, 97%, 14%)
CMYKcmyk(0%, 94.4%, 97.2%, 85.9%)
CIE-LABlab(3.80, 14.54, 5.55)
CIE-LCHlch(3.80, 15.56, 20.90°)
OKLaboklab(16.88% 0.0538 0.0307)
OKLCHoklch(16.88% 0.062 29.7)
XYZxyz(0.7548, 0.4208, 0.0702)
Luminance0.0042 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#240201 #012324
analogous
#240112 #240201 #241401
triadic
#240201 #012402 #020124
tetradic
#240201 #122401 #012324 #140124
square
#240201 #122401 #012324 #140124
split-complementary
#240201 #012414 #011224
monochromatic
#1E0201 #1E0201 #240201 #600503 #9B0904

Accessibility & contrast

On white

19.37
#240201 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #240201
19.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##240201#FFFFFF#000000##FFFFFF
##2402011.0019.371.0819.37
#FFFFFF19.371.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B0801
Deuteranopia (green-blind)
#141000
Tritanopia (blue-blind)
#290002
Achromatopsia (no color)
#0E0E0E

Design tokens & code

CSS
--color: #240201;
/* rgb */ color: rgb(36, 2, 1);
/* oklch */ color: oklch(16.9% 0.062 29.7);
Tailwind
colors: {
  custom: {
    50: '#5f4747',
    500: '#240201',
    950: '#000000',
  },
}
SCSS
$custom: #240201;
$custom-light: #5f4747;
$custom-dark: #000000;
JSON
{
  "hex": "#240201",
  "rgb": {
    "r": 36,
    "g": 2,
    "b": 1
  },
  "hsl": {
    "h": 1.714,
    "s": 94.595,
    "l": 7.255
  },
  "oklch": {
    "l": 0.16878,
    "c": 0.06194,
    "h": 29.7
  },
  "luminance": 0.00421
}

Semantic roles & 50–950 ramp

primary
#240201
secondary
#16696B
accent
#F9FF29
background
#F5F4F3
surface
#E9E6E5
border
#C5C2C1
text
#050000
muted
#797777

Preview Lab

Preview with #240201

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

Preview Lab → · Contrast checker → · Palette generator →

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