#300508#300508

#300508 is a very dark, moderate red. Relative luminance 0.008; OKLCH L 20.5% C 0.070 H 21.5°. Best body text is #FFFFFF at 18.25:1 contrast (WCAG AA passes).

Color values

HEX#300508
RGBrgb(48, 5, 8)
HSLhsl(356, 81%, 10%)
HSVhsv(356, 90%, 19%)
CMYKcmyk(0%, 89.6%, 83.3%, 81.2%)
CIE-LABlab(6.82, 21.75, 7.38)
CIE-LCHlch(6.82, 22.97, 18.74°)
OKLaboklab(20.47% 0.0647 0.0256)
OKLCHoklch(20.47% 0.07 21.5)
XYZxyz(1.3172, 0.7547, 0.3060)
Luminance0.0075 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#300508 #05302D
analogous
#30051D #300508 #301705
triadic
#300508 #083005 #050830
tetradic
#300508 #1D3005 #05302D #170530
square
#300508 #1D3005 #05302D #170530
split-complementary
#300508 #053017 #051D30
monochromatic
#1C0305 #1C0305 #300508 #670B11 #9F111A

Accessibility & contrast

On white

18.25
#300508 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#300508 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #300508
18.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##300508#FFFFFF#000000##FFFFFF
##3005081.0018.251.1518.25
#FFFFFF18.251.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#110F08
Deuteranopia (green-blind)
#1C1807
Tritanopia (blue-blind)
#360006
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #300508;
/* rgb */ color: rgb(48, 5, 8);
/* oklch */ color: oklch(20.5% 0.070 21.5);
Tailwind
colors: {
  custom: {
    50: '#6c494a',
    500: '#300508',
    950: '#000000',
  },
}
SCSS
$custom: #300508;
$custom-light: #6c494a;
$custom-dark: #000000;
JSON
{
  "hex": "#300508",
  "rgb": {
    "r": 48,
    "g": 5,
    "b": 8
  },
  "hsl": {
    "h": 355.814,
    "s": 81.132,
    "l": 10.392
  },
  "oklch": {
    "l": 0.2047,
    "c": 0.06959,
    "h": 21.5
  },
  "luminance": 0.00754
}

Semantic roles & 50–950 ramp

primary
#300508
secondary
#1F726C
accent
#F8EA30
background
#F6F4F4
surface
#ECE7E7
border
#C7C3C3
text
#070101
muted
#7A7777

Preview Lab

Preview with #300508

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

Preview Lab → · Contrast checker → · Palette generator →

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