#302826#302826

#302826 is a dark, near-neutral red. Relative luminance 0.023; OKLCH L 28.5% C 0.013 H 34.3°. Best body text is #FFFFFF at 14.41:1 contrast (WCAG AA passes).

Color values

HEX#302826
RGBrgb(48, 40, 38)
HSLhsl(12, 12%, 17%)
HSVhsv(12, 21%, 19%)
CMYKcmyk(0%, 16.7%, 20.8%, 81.2%)
CIE-LABlab(16.92, 3.29, 2.69)
CIE-LCHlch(16.92, 4.25, 39.21°)
OKLaboklab(28.51% 0.0104 0.0071)
OKLCHoklch(28.51% 0.013 34.3)
XYZxyz(2.3276, 2.2860, 2.1520)
Luminance0.0229 (WCAG relative)
Temperatureneutral
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302826 #262E30
analogous
#302629 #302826 #302D26
triadic
#302826 #263028 #282630
tetradic
#302826 #293026 #262E30 #2D2630
square
#302826 #293026 #262E30 #2D2630
split-complementary
#302826 #26302D #262930
monochromatic
#110E0E #110E0E #302826 #524441 #74615C

Accessibility & contrast

On white

14.41
#302826 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#302826 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302826
14.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302826#FFFFFF#000000##FFFFFF
##3028261.0014.411.4614.41
#FFFFFF14.411.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A2926
Deuteranopia (green-blind)
#2C2A26
Tritanopia (blue-blind)
#322727
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #302826;
/* rgb */ color: rgb(48, 40, 38);
/* oklch */ color: oklch(28.5% 0.013 34.3);
Tailwind
colors: {
  custom: {
    50: '#686160',
    500: '#302826',
    950: '#000000',
  },
}
SCSS
$custom: #302826;
$custom-light: #686160;
$custom-dark: #000000;
JSON
{
  "hex": "#302826",
  "rgb": {
    "r": 48,
    "g": 40,
    "b": 38
  },
  "hsl": {
    "h": 12,
    "s": 11.628,
    "l": 16.863
  },
  "oklch": {
    "l": 0.28506,
    "c": 0.01253,
    "h": 34.3
  },
  "luminance": 0.02286
}

Semantic roles & 50–950 ramp

primary
#302826
secondary
#525D60
accent
#A7B573
background
#F6F5F5
surface
#EBE9E9
border
#C6C5C5
text
#060504
muted
#7A7979

Preview Lab

Preview with #302826

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

Preview Lab → · Contrast checker → · Palette generator →

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