#300502#300502

#300502 is a very dark, moderate red. Relative luminance 0.007; OKLCH L 20.3% C 0.071 H 31.0°. Best body text is #FFFFFF at 18.29:1 contrast (WCAG AA passes).

Color values

HEX#300502
RGBrgb(48, 5, 2)
HSLhsl(4, 92%, 10%)
HSVhsv(4, 96%, 19%)
CMYKcmyk(0%, 89.6%, 95.8%, 81.2%)
CIE-LABlab(6.70, 21.26, 9.65)
CIE-LCHlch(6.70, 23.34, 24.41°)
OKLaboklab(20.33% 0.0609 0.0365)
OKLCHoklch(20.33% 0.071 31)
XYZxyz(1.2843, 0.7415, 0.1329)
Luminance0.0074 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#300502 #022D30
analogous
#300216 #300502 #301C02
triadic
#300502 #023005 #050230
tetradic
#300502 #163002 #022D30 #1C0230
square
#300502 #163002 #022D30 #1C0230
split-complementary
#300502 #02301C #021630
monochromatic
#1D0301 #1D0301 #300502 #6B0B04 #A61107

Accessibility & contrast

On white

18.29
#300502 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #300502
18.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##300502#FFFFFF#000000##FFFFFF
##3005021.0018.291.1518.29
#FFFFFF18.291.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#120F01
Deuteranopia (green-blind)
#1D1801
Tritanopia (blue-blind)
#360005
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #300502;
/* rgb */ color: rgb(48, 5, 2);
/* oklch */ color: oklch(20.3% 0.071 31.0);
Tailwind
colors: {
  custom: {
    50: '#6c4947',
    500: '#300502',
    950: '#000000',
  },
}
SCSS
$custom: #300502;
$custom-light: #6c4947;
$custom-dark: #000000;
JSON
{
  "hex": "#300502",
  "rgb": {
    "r": 48,
    "g": 5,
    "b": 2
  },
  "hsl": {
    "h": 3.913,
    "s": 92,
    "l": 9.804
  },
  "oklch": {
    "l": 0.20329,
    "c": 0.07101,
    "h": 31
  },
  "luminance": 0.00741
}

Semantic roles & 50–950 ramp

primary
#300502
secondary
#196F75
accent
#F1FF29
background
#F6F4F4
surface
#ECE7E6
border
#C7C3C2
text
#070100
muted
#7A7777

Preview Lab

Preview with #300502

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

Preview Lab → · Contrast checker → · Palette generator →

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