#30020C#30020C

#30020C is a very dark, moderate red. Relative luminance 0.007; OKLCH L 20.1% C 0.075 H 13.2°. Best body text is #FFFFFF at 18.43:1 contrast (WCAG AA passes).

Color values

HEX#30020C
RGBrgb(48, 2, 12)
HSLhsl(347, 92%, 10%)
HSVhsv(347, 96%, 19%)
CMYKcmyk(0%, 95.8%, 75%, 81.2%)
CIE-LABlab(6.31, 23.63, 4.96)
CIE-LCHlch(6.31, 24.14, 11.85°)
OKLaboklab(20.07% 0.0729 0.0171)
OKLCHoklch(20.07% 0.075 13.2)
XYZxyz(1.3071, 0.6985, 0.4138)
Luminance0.0070 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30020C #023026
analogous
#300223 #30020C #300F02
triadic
#30020C #0C3002 #020C30
tetradic
#30020C #233002 #023026 #0F0230
square
#30020C #233002 #023026 #0F0230
split-complementary
#30020C #02300F #022330
monochromatic
#1D0107 #1D0107 #30020C #6B041B #A60729

Accessibility & contrast

On white

18.43
#30020C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#30020C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30020C
18.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30020C#FFFFFF#000000##FFFFFF
##30020C1.0018.431.1418.43
#FFFFFF18.431.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E0E0C
Deuteranopia (green-blind)
#1A180B
Tritanopia (blue-blind)
#360006
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #30020c;
/* rgb */ color: rgb(48, 2, 12);
/* oklch */ color: oklch(20.1% 0.075 13.2);
Tailwind
colors: {
  custom: {
    50: '#6c474c',
    500: '#30020c',
    950: '#000000',
  },
}
SCSS
$custom: #30020c;
$custom-light: #6c474c;
$custom-dark: #000000;
JSON
{
  "hex": "#30020c",
  "rgb": {
    "r": 48,
    "g": 2,
    "b": 12
  },
  "hsl": {
    "h": 346.957,
    "s": 92,
    "l": 9.804
  },
  "oklch": {
    "l": 0.20073,
    "c": 0.07485,
    "h": 13.2
  },
  "luminance": 0.00698
}

Semantic roles & 50–950 ramp

primary
#30020C
secondary
#197561
accent
#FFD029
background
#F6F4F4
surface
#ECE6E7
border
#C7C2C3
text
#070001
muted
#7A7777

Preview Lab

Preview with #30020C

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

Preview Lab → · Contrast checker → · Palette generator →

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