#240203#240203

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

Color values

HEX#240203
RGBrgb(36, 2, 3)
HSLhsl(358, 89%, 7%)
HSVhsv(358, 94%, 14%)
CMYKcmyk(0%, 94.4%, 91.7%, 85.9%)
CIE-LABlab(3.84, 14.81, 4.79)
CIE-LCHlch(3.84, 15.57, 17.93°)
OKLaboklab(16.95% 0.0558 0.0251)
OKLCHoklch(16.95% 0.061 24.2)
XYZxyz(0.7658, 0.4252, 0.1279)
Luminance0.0043 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#240203 #022423
analogous
#240214 #240203 #241202
triadic
#240203 #032402 #020324
tetradic
#240203 #142402 #022423 #120224
square
#240203 #142402 #022423 #120224
split-complementary
#240203 #022412 #021424
monochromatic
#1D0202 #1D0202 #240203 #5E0508 #98080D

Accessibility & contrast

On white

19.35
#240203 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.09
#240203 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #240203
19.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##240203#FFFFFF#000000##FFFFFF
##2402031.0019.351.0919.35
#FFFFFF19.351.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A0903
Deuteranopia (green-blind)
#141102
Tritanopia (blue-blind)
#290003
Achromatopsia (no color)
#0E0E0E

Design tokens & code

CSS
--color: #240203;
/* rgb */ color: rgb(36, 2, 3);
/* oklch */ color: oklch(16.9% 0.061 24.2);
Tailwind
colors: {
  custom: {
    50: '#5f4748',
    500: '#240203',
    950: '#000000',
  },
}
SCSS
$custom: #240203;
$custom-light: #5f4748;
$custom-dark: #000000;
JSON
{
  "hex": "#240203",
  "rgb": {
    "r": 36,
    "g": 2,
    "b": 3
  },
  "hsl": {
    "h": 358.235,
    "s": 89.474,
    "l": 7.451
  },
  "oklch": {
    "l": 0.16947,
    "c": 0.06118,
    "h": 24.2
  },
  "luminance": 0.00425
}

Semantic roles & 50–950 ramp

primary
#240203
secondary
#186A67
accent
#FFF929
background
#F5F4F4
surface
#E9E6E6
border
#C5C2C2
text
#050000
muted
#797777

Preview Lab

Preview with #240203

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

Preview Lab → · Contrast checker → · Palette generator →

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