#0C0807#0C0807

#0C0807 is a very dark, near-neutral red. Relative luminance 0.003; OKLCH L 14.0% C 0.008 H 36.5°. Best body text is #FFFFFF at 19.94:1 contrast (WCAG AA passes).

Color values

HEX#0C0807
RGBrgb(12, 8, 7)
HSLhsl(12, 26%, 4%)
HSVhsv(12, 42%, 5%)
CMYKcmyk(0%, 33.3%, 41.7%, 95.3%)
CIE-LABlab(2.41, 0.94, 0.76)
CIE-LCHlch(2.41, 1.20, 38.99°)
OKLaboklab(13.95% 0.0063 0.0047)
OKLCHoklch(13.95% 0.008 36.5)
XYZxyz(0.2768, 0.2672, 0.2380)
Luminance0.0027 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C0807 #070B0C
analogous
#0C0708 #0C0807 #0C0A07
triadic
#0C0807 #070C08 #08070C
tetradic
#0C0807 #080C07 #070B0C #0A070C
square
#0C0807 #080C07 #070B0C #0A070C
split-complementary
#0C0807 #070C0A #07080C
monochromatic
#130D0B #130D0B #130D0B #33221E #593C34

Accessibility & contrast

On white

19.94
#0C0807 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.05
#0C0807 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C0807
19.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C0807#FFFFFF#000000##FFFFFF
##0C08071.0019.941.0519.94
#FFFFFF19.941.0021.001.00
#0000001.0521.001.0021.00
##FFFFFF19.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#090807
Deuteranopia (green-blind)
#0A0907
Tritanopia (blue-blind)
#0D0808
Achromatopsia (no color)
#090909

Design tokens & code

CSS
--color: #0c0807;
/* rgb */ color: rgb(12, 8, 7);
/* oklch */ color: oklch(14.0% 0.008 36.5);
Tailwind
colors: {
  custom: {
    50: '#4c4a4a',
    500: '#0c0807',
    950: '#000000',
  },
}
SCSS
$custom: #0c0807;
$custom-light: #4c4a4a;
$custom-dark: #000000;
JSON
{
  "hex": "#0c0807",
  "rgb": {
    "r": 12,
    "g": 8,
    "b": 7
  },
  "hsl": {
    "h": 12,
    "s": 26.316,
    "l": 3.725
  },
  "oklch": {
    "l": 0.13953,
    "c": 0.00788,
    "h": 36.5
  },
  "luminance": 0.00267
}

Semantic roles & 50–950 ramp

primary
#0C0807
secondary
#2D3E42
accent
#B0C365
background
#F4F4F4
surface
#E7E7E7
border
#C3C3C3
text
#010101
muted
#777777

Preview Lab

Preview with #0C0807

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

Preview Lab → · Contrast checker → · Palette generator →

#0C0807 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva