#302222#302222

#302222 is a dark, muted red. Relative luminance 0.019; OKLCH L 26.9% C 0.022 H 18.6°. Best body text is #FFFFFF at 15.24:1 contrast (WCAG AA passes).

Color values

HEX#302222
RGBrgb(48, 34, 34)
HSLhsl(0, 17%, 16%)
HSVhsv(0, 29%, 19%)
CMYKcmyk(0%, 29.2%, 29.2%, 81.2%)
CIE-LABlab(14.89, 6.71, 2.61)
CIE-LCHlch(14.89, 7.20, 21.26°)
OKLaboklab(26.88% 0.0205 0.0069)
OKLCHoklch(26.88% 0.022 18.6)
XYZxyz(2.0797, 1.8880, 1.7679)
Luminance0.0189 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302222 #223030
analogous
#302229 #302222 #302922
triadic
#302222 #223022 #222230
tetradic
#302222 #293022 #223030 #292230
square
#302222 #293022 #223030 #292230
split-complementary
#302222 #223029 #222930
monochromatic
#120D0D #120D0D #302222 #543B3B #785555

Accessibility & contrast

On white

15.24
#302222 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#302222 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302222
15.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302222#FFFFFF#000000##FFFFFF
##3022221.0015.241.3815.24
#FFFFFF15.241.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#242422
Deuteranopia (green-blind)
#282622
Tritanopia (blue-blind)
#332122
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #302222;
/* rgb */ color: rgb(48, 34, 34);
/* oklch */ color: oklch(26.9% 0.022 18.6);
Tailwind
colors: {
  custom: {
    50: '#685d5c',
    500: '#302222',
    950: '#000000',
  },
}
SCSS
$custom: #302222;
$custom-light: #685d5c;
$custom-dark: #000000;
JSON
{
  "hex": "#302222",
  "rgb": {
    "r": 48,
    "g": 34,
    "b": 34
  },
  "hsl": {
    "h": 0,
    "s": 17.073,
    "l": 16.078
  },
  "oklch": {
    "l": 0.26883,
    "c": 0.02161,
    "h": 18.6
  },
  "luminance": 0.01888
}

Semantic roles & 50–950 ramp

primary
#302222
secondary
#4D6161
accent
#BABA6E
background
#F6F5F5
surface
#EBE9E9
border
#C6C5C5
text
#060404
muted
#7A7979

Preview Lab

Preview with #302222

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

Preview Lab → · Contrast checker → · Palette generator →

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