#180304#180304

#180304 is a very dark, muted red. Relative luminance 0.003; OKLCH L 14.4% C 0.042 H 19.7°. Best body text is #FFFFFF at 19.93:1 contrast (WCAG AA passes).

Color values

HEX#180304
RGBrgb(24, 3, 4)
HSLhsl(357, 78%, 5%)
HSVhsv(357, 88%, 9%)
CMYKcmyk(0%, 87.5%, 83.3%, 90.6%)
CIE-LABlab(2.42, 7.23, 2.12)
CIE-LCHlch(2.42, 7.53, 16.33°)
OKLaboklab(14.41% 0.0396 0.0142)
OKLCHoklch(14.41% 0.042 19.7)
XYZxyz(0.4312, 0.2681, 0.1439)
Luminance0.0027 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#180304 #031817
analogous
#18030E #180304 #180C03
triadic
#180304 #041803 #030418
tetradic
#180304 #0E1803 #031817 #0C0318
square
#180304 #0E1803 #031817 #0C0318
split-complementary
#180304 #03180C #030E18
monochromatic
#1B0305 #1B0305 #1B0305 #4E0A0D #851116

Accessibility & contrast

On white

19.93
#180304 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.05
#180304 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #180304
19.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##180304#FFFFFF#000000##FFFFFF
##1803041.0019.931.0519.93
#FFFFFF19.931.0021.001.00
#0000001.0521.001.0021.00
##FFFFFF19.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#070604
Deuteranopia (green-blind)
#0D0B04
Tritanopia (blue-blind)
#1B0103
Achromatopsia (no color)
#090909

Design tokens & code

CSS
--color: #180304;
/* rgb */ color: rgb(24, 3, 4);
/* oklch */ color: oklch(14.4% 0.042 19.7);
Tailwind
colors: {
  custom: {
    50: '#544848',
    500: '#180304',
    950: '#000000',
  },
}
SCSS
$custom: #180304;
$custom-light: #544848;
$custom-dark: #000000;
JSON
{
  "hex": "#180304",
  "rgb": {
    "r": 24,
    "g": 3,
    "b": 4
  },
  "hsl": {
    "h": 357.143,
    "s": 77.778,
    "l": 5.294
  },
  "oklch": {
    "l": 0.14408,
    "c": 0.04201,
    "h": 19.7
  },
  "luminance": 0.00268
}

Semantic roles & 50–950 ramp

primary
#180304
secondary
#1B5C59
accent
#F4EB34
background
#F4F4F4
surface
#E7E6E6
border
#C3C2C2
text
#020000
muted
#787777

Preview Lab

Preview with #180304

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

Preview Lab → · Contrast checker → · Palette generator →

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