#30020B#30020B

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

Color values

HEX#30020B
RGBrgb(48, 2, 11)
HSLhsl(348, 92%, 10%)
HSVhsv(348, 96%, 19%)
CMYKcmyk(0%, 95.8%, 77.1%, 81.2%)
CIE-LABlab(6.29, 23.54, 5.37)
CIE-LCHlch(6.29, 24.14, 12.86°)
OKLaboklab(20.05% 0.0724 0.0188)
OKLCHoklch(20.05% 0.075 14.5)
XYZxyz(1.3012, 0.6962, 0.3824)
Luminance0.0070 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30020B #023027
analogous
#300222 #30020B #301002
triadic
#30020B #0B3002 #020B30
tetradic
#30020B #223002 #023027 #100230
square
#30020B #223002 #023027 #100230
split-complementary
#30020B #023010 #022230
monochromatic
#1D0107 #1D0107 #30020B #6B0418 #A60726

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##30020B#FFFFFF#000000##FFFFFF
##30020B1.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)
#0E0D0B
Deuteranopia (green-blind)
#1A170A
Tritanopia (blue-blind)
#360005
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #30020b;
/* rgb */ color: rgb(48, 2, 11);
/* oklch */ color: oklch(20.0% 0.075 14.5);
Tailwind
colors: {
  custom: {
    50: '#6c474c',
    500: '#30020b',
    950: '#000000',
  },
}
SCSS
$custom: #30020b;
$custom-light: #6c474c;
$custom-dark: #000000;
JSON
{
  "hex": "#30020b",
  "rgb": {
    "r": 48,
    "g": 2,
    "b": 11
  },
  "hsl": {
    "h": 348.261,
    "s": 92,
    "l": 9.804
  },
  "oklch": {
    "l": 0.20046,
    "c": 0.07478,
    "h": 14.5
  },
  "luminance": 0.00696
}

Semantic roles & 50–950 ramp

primary
#30020B
secondary
#197563
accent
#FFD529
background
#F6F4F4
surface
#ECE6E7
border
#C7C2C3
text
#070001
muted
#7A7777

Preview Lab

Preview with #30020B

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

Preview Lab → · Contrast checker → · Palette generator →

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