#302020#302020

#302020 is a dark, muted red. Relative luminance 0.018; OKLCH L 26.3% C 0.025 H 18.9°. Best body text is #FFFFFF at 15.52:1 contrast (WCAG AA passes).

Color values

HEX#302020
RGBrgb(48, 32, 32)
HSLhsl(0, 20%, 16%)
HSVhsv(0, 33%, 19%)
CMYKcmyk(0%, 33.3%, 33.3%, 81.2%)
CIE-LABlab(14.21, 7.75, 3.07)
CIE-LCHlch(14.21, 8.34, 21.64°)
OKLaboklab(26.33% 0.0236 0.0081)
OKLCHoklch(26.33% 0.025 18.9)
XYZxyz(1.9962, 1.7658, 1.6019)
Luminance0.0177 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302020 #203030
analogous
#302028 #302020 #302820
triadic
#302020 #203020 #202030
tetradic
#302020 #283020 #203030 #282030
square
#302020 #283020 #203030 #282030
split-complementary
#302020 #203028 #202830
monochromatic
#120C0C #120C0C #302020 #553838 #795151

Accessibility & contrast

On white

15.52
#302020 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#302020 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302020
15.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302020#FFFFFF#000000##FFFFFF
##3020201.0015.521.3515.52
#FFFFFF15.521.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#232220
Deuteranopia (green-blind)
#272520
Tritanopia (blue-blind)
#331E20
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #302020;
/* rgb */ color: rgb(48, 32, 32);
/* oklch */ color: oklch(26.3% 0.025 18.9);
Tailwind
colors: {
  custom: {
    50: '#695b5b',
    500: '#302020',
    950: '#000000',
  },
}
SCSS
$custom: #302020;
$custom-light: #695b5b;
$custom-dark: #000000;
JSON
{
  "hex": "#302020",
  "rgb": {
    "r": 48,
    "g": 32,
    "b": 32
  },
  "hsl": {
    "h": 0,
    "s": 20,
    "l": 15.686
  },
  "oklch": {
    "l": 0.26335,
    "c": 0.02495,
    "h": 18.9
  },
  "luminance": 0.01766
}

Semantic roles & 50–950 ramp

primary
#302020
secondary
#4A6262
accent
#BDBD6B
background
#F6F5F5
surface
#EBE9E9
border
#C6C5C5
text
#060404
muted
#7A7979

Preview Lab

Preview with #302020

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

Preview Lab → · Contrast checker → · Palette generator →

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