#30050C#30050C

#30050C is a very dark, moderate red. Relative luminance 0.008; OKLCH L 20.6% C 0.069 H 16.0°. Best body text is #FFFFFF at 18.22:1 contrast (WCAG AA passes).

Color values

HEX#30050C
RGBrgb(48, 5, 12)
HSLhsl(350, 81%, 10%)
HSVhsv(350, 90%, 19%)
CMYKcmyk(0%, 89.6%, 75%, 81.2%)
CIE-LABlab(6.90, 22.08, 5.82)
CIE-LCHlch(6.90, 22.83, 14.77°)
OKLaboklab(20.57% 0.0668 0.0192)
OKLCHoklch(20.57% 0.069 16)
XYZxyz(1.3397, 0.7637, 0.4246)
Luminance0.0076 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30050C #053029
analogous
#300521 #30050C #301405
triadic
#30050C #0C3005 #050C30
tetradic
#30050C #213005 #053029 #140530
square
#30050C #213005 #053029 #140530
split-complementary
#30050C #053014 #052130
monochromatic
#1C0307 #1C0307 #30050C #670B1A #9F1128

Accessibility & contrast

On white

18.22
#30050C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#30050C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30050C
18.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30050C#FFFFFF#000000##FFFFFF
##30050C1.0018.221.1518.22
#FFFFFF18.221.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#100F0C
Deuteranopia (green-blind)
#1C190B
Tritanopia (blue-blind)
#360008
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #30050c;
/* rgb */ color: rgb(48, 5, 12);
/* oklch */ color: oklch(20.6% 0.069 16.0);
Tailwind
colors: {
  custom: {
    50: '#6c494c',
    500: '#30050c',
    950: '#000000',
  },
}
SCSS
$custom: #30050c;
$custom-light: #6c494c;
$custom-dark: #000000;
JSON
{
  "hex": "#30050c",
  "rgb": {
    "r": 48,
    "g": 5,
    "b": 12
  },
  "hsl": {
    "h": 350.233,
    "s": 81.132,
    "l": 10.392
  },
  "oklch": {
    "l": 0.20566,
    "c": 0.06945,
    "h": 16
  },
  "luminance": 0.00763
}

Semantic roles & 50–950 ramp

primary
#30050C
secondary
#1F7264
accent
#F8D730
background
#F6F4F4
surface
#ECE7E7
border
#C7C3C3
text
#070101
muted
#7A7777

Preview Lab

Preview with #30050C

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

Preview Lab → · Contrast checker → · Palette generator →

#30050C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva