#240102#240102

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

Color values

HEX#240102
RGBrgb(36, 1, 2)
HSLhsl(358, 95%, 7%)
HSVhsv(358, 97%, 14%)
CMYKcmyk(0%, 97.2%, 94.4%, 85.9%)
CIE-LABlab(3.62, 15.08, 4.89)
CIE-LCHlch(3.62, 15.85, 17.95°)
OKLaboklab(16.67% 0.0578 0.0271)
OKLCHoklch(16.67% 0.064 25.1)
XYZxyz(0.7495, 0.4013, 0.0954)
Luminance0.0040 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#240102 #012423
analogous
#240114 #240102 #241201
triadic
#240102 #022401 #010224
tetradic
#240102 #142401 #012423 #120124
square
#240102 #142401 #012423 #120124
split-complementary
#240102 #012412 #011424
monochromatic
#1E0102 #1E0102 #240102 #600305 #9B0409

Accessibility & contrast

On white

19.44
#240102 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #240102
19.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##240102#FFFFFF#000000##FFFFFF
##2401021.0019.441.0819.44
#FFFFFF19.441.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#090802
Deuteranopia (green-blind)
#131001
Tritanopia (blue-blind)
#290002
Achromatopsia (no color)
#0D0D0D

Design tokens & code

CSS
--color: #240102;
/* rgb */ color: rgb(36, 1, 2);
/* oklch */ color: oklch(16.7% 0.064 25.1);
Tailwind
colors: {
  custom: {
    50: '#5f4748',
    500: '#240102',
    950: '#000000',
  },
}
SCSS
$custom: #240102;
$custom-light: #5f4748;
$custom-dark: #000000;
JSON
{
  "hex": "#240102",
  "rgb": {
    "r": 36,
    "g": 1,
    "b": 2
  },
  "hsl": {
    "h": 358.286,
    "s": 94.595,
    "l": 7.255
  },
  "oklch": {
    "l": 0.1667,
    "c": 0.06381,
    "h": 25.1
  },
  "luminance": 0.00401
}

Semantic roles & 50–950 ramp

primary
#240102
secondary
#166B69
accent
#FFF929
background
#F5F3F4
surface
#E9E5E6
border
#C5C1C2
text
#050000
muted
#797777

Preview Lab

Preview with #240102

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

Preview Lab → · Contrast checker → · Palette generator →

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