#300302#300302

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

Color values

HEX#300302
RGBrgb(48, 3, 2)
HSLhsl(1, 92%, 10%)
HSVhsv(1, 96%, 19%)
CMYKcmyk(0%, 93.8%, 95.8%, 81.2%)
CIE-LABlab(6.31, 22.27, 9.07)
CIE-LCHlch(6.31, 24.05, 22.17°)
OKLaboklab(19.99% 0.0648 0.0356)
OKLCHoklch(19.99% 0.074 28.8)
XYZxyz(1.2626, 0.6981, 0.1257)
Luminance0.0070 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#300302 #022F30
analogous
#300218 #300302 #301A02
triadic
#300302 #023003 #030230
tetradic
#300302 #183002 #022F30 #1A0230
square
#300302 #183002 #022F30 #1A0230
split-complementary
#300302 #02301A #021830
monochromatic
#1D0201 #1D0201 #300302 #6B0704 #A60A07

Accessibility & contrast

On white

18.43
#300302 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#300302 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##300302#FFFFFF#000000##FFFFFF
##3003021.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)
#100D02
Deuteranopia (green-blind)
#1C1801
Tritanopia (blue-blind)
#360003
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #300302;
/* rgb */ color: rgb(48, 3, 2);
/* oklch */ color: oklch(20.0% 0.074 28.8);
Tailwind
colors: {
  custom: {
    50: '#6c4747',
    500: '#300302',
    950: '#000000',
  },
}
SCSS
$custom: #300302;
$custom-light: #6c4747;
$custom-dark: #000000;
JSON
{
  "hex": "#300302",
  "rgb": {
    "r": 48,
    "g": 3,
    "b": 2
  },
  "hsl": {
    "h": 1.304,
    "s": 92,
    "l": 9.804
  },
  "oklch": {
    "l": 0.19994,
    "c": 0.07399,
    "h": 28.8
  },
  "luminance": 0.00698
}

Semantic roles & 50–950 ramp

primary
#300302
secondary
#197375
accent
#FAFF29
background
#F6F4F4
surface
#ECE6E6
border
#C7C2C2
text
#070000
muted
#7A7777

Preview Lab

Preview with #300302

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

Preview Lab → · Contrast checker → · Palette generator →

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