#180508#180508

#180508 is a very dark, muted red. Relative luminance 0.003; OKLCH L 15.2% C 0.036 H 10.4°. Best body text is #FFFFFF at 19.74:1 contrast (WCAG AA passes).

Color values

HEX#180508
RGBrgb(24, 5, 8)
HSLhsl(351, 66%, 6%)
HSVhsv(351, 79%, 9%)
CMYKcmyk(0%, 79.2%, 66.7%, 90.6%)
CIE-LABlab(2.89, 6.98, 1.18)
CIE-LCHlch(2.89, 7.08, 9.57°)
OKLaboklab(15.2% 0.0357 0.0066)
OKLCHoklch(15.2% 0.036 10.4)
XYZxyz(0.4748, 0.3203, 0.2665)
Luminance0.0032 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#180508 #051815
analogous
#180511 #180508 #180B05
triadic
#180508 #081805 #050818
tetradic
#180508 #111805 #051815 #0B0518
square
#180508 #111805 #051815 #0B0518
split-complementary
#180508 #05180B #051118
monochromatic
#190508 #190508 #190508 #4B1019 #7D1A2A

Accessibility & contrast

On white

19.74
#180508 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.06
#180508 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #180508
19.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##180508#FFFFFF#000000##FFFFFF
##1805081.0019.741.0619.74
#FFFFFF19.741.0021.001.00
#0000001.0621.001.0021.00
##FFFFFF19.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#080808
Deuteranopia (green-blind)
#0D0C08
Tritanopia (blue-blind)
#1B0306
Achromatopsia (no color)
#0B0B0B

Design tokens & code

CSS
--color: #180508;
/* rgb */ color: rgb(24, 5, 8);
/* oklch */ color: oklch(15.2% 0.036 10.4);
Tailwind
colors: {
  custom: {
    50: '#54494a',
    500: '#180508',
    950: '#000000',
  },
}
SCSS
$custom: #180508;
$custom-light: #54494a;
$custom-dark: #000000;
JSON
{
  "hex": "#180508",
  "rgb": {
    "r": 24,
    "g": 5,
    "b": 8
  },
  "hsl": {
    "h": 350.526,
    "s": 65.517,
    "l": 5.686
  },
  "oklch": {
    "l": 0.152,
    "c": 0.03629,
    "h": 10.4
  },
  "luminance": 0.0032
}

Semantic roles & 50–950 ramp

primary
#180508
secondary
#21584F
accent
#E8CE3F
background
#F4F4F4
surface
#E7E6E7
border
#C3C2C3
text
#020001
muted
#787777

Preview Lab

Preview with #180508

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

Preview Lab → · Contrast checker → · Palette generator →

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