#301218#301218

#301218 is a very dark, muted red. Relative luminance 0.011; OKLCH L 23.0% C 0.049 H 9.2°. Best body text is #FFFFFF at 17.14:1 contrast (WCAG AA passes).

Color values

HEX#301218
RGBrgb(48, 18, 24)
HSLhsl(348, 45%, 13%)
HSVhsv(348, 63%, 19%)
CMYKcmyk(0%, 62.5%, 50%, 81.2%)
CIE-LABlab(10.01, 16.04, 3.00)
CIE-LCHlch(10.01, 16.32, 10.58°)
OKLaboklab(23.05% 0.0487 0.0079)
OKLCHoklch(23.05% 0.049 9.2)
XYZxyz(1.6002, 1.1271, 0.9973)
Luminance0.0113 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#301218 #12302A
analogous
#301227 #301218 #301B12
triadic
#301218 #183012 #121830
tetradic
#301218 #273012 #12302A #1B1230
square
#301218 #273012 #12302A #1B1230
split-complementary
#301218 #12301B #122730
monochromatic
#16080B #16080B #301218 #5D232E #893345

Accessibility & contrast

On white

17.14
#301218 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#301218 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #301218
17.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##301218#FFFFFF#000000##FFFFFF
##3012181.0017.141.2317.14
#FFFFFF17.141.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#181818
Deuteranopia (green-blind)
#1F1E17
Tritanopia (blue-blind)
#350F14
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #301218;
/* rgb */ color: rgb(48, 18, 24);
/* oklch */ color: oklch(23.0% 0.049 9.2);
Tailwind
colors: {
  custom: {
    50: '#6a5154',
    500: '#301218',
    950: '#000000',
  },
}
SCSS
$custom: #301218;
$custom-light: #6a5154;
$custom-dark: #000000;
JSON
{
  "hex": "#301218",
  "rgb": {
    "r": 48,
    "g": 18,
    "b": 24
  },
  "hsl": {
    "h": 348,
    "s": 45.455,
    "l": 12.941
  },
  "oklch": {
    "l": 0.23045,
    "c": 0.04932,
    "h": 9.2
  },
  "luminance": 0.01127
}

Semantic roles & 50–950 ramp

primary
#301218
secondary
#36685E
accent
#D5BB53
background
#F6F4F4
surface
#EBE7E7
border
#C6C3C3
text
#070202
muted
#7A7878

Preview Lab

Preview with #301218

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

Preview Lab → · Contrast checker → · Palette generator →

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