#302226#302226

#302226 is a dark, muted pink. Relative luminance 0.019; OKLCH L 27.0% C 0.022 H 359.8°. Best body text is #FFFFFF at 15.19:1 contrast (WCAG AA passes).

Color values

HEX#302226
RGBrgb(48, 34, 38)
HSLhsl(343, 17%, 16%)
HSVhsv(343, 29%, 19%)
CMYKcmyk(0%, 29.2%, 20.8%, 81.2%)
CIE-LABlab(15.02, 7.49, -0.06)
CIE-LCHlch(15.02, 7.49, 359.52°)
OKLaboklab(27.03% 0.0225 -0.0001)
OKLCHoklch(27.03% 0.022 359.8)
XYZxyz(2.1408, 1.9125, 2.0897)
Luminance0.0191 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302226 #22302C
analogous
#30222D #302226 #302522
triadic
#302226 #263022 #222630
tetradic
#302226 #2D3022 #22302C #252230
square
#302226 #2D3022 #22302C #252230
split-complementary
#302226 #223025 #222D30
monochromatic
#120D0E #120D0E #302226 #543B42 #78555F

Accessibility & contrast

On white

15.19
#302226 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #302226
15.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302226#FFFFFF#000000##FFFFFF
##3022261.0015.191.3815.19
#FFFFFF15.191.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#242426
Deuteranopia (green-blind)
#272726
Tritanopia (blue-blind)
#322123
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #302226;
/* rgb */ color: rgb(48, 34, 38);
/* oklch */ color: oklch(27.0% 0.022 359.8);
Tailwind
colors: {
  custom: {
    50: '#685d60',
    500: '#302226',
    950: '#000000',
  },
}
SCSS
$custom: #302226;
$custom-light: #685d60;
$custom-dark: #000000;
JSON
{
  "hex": "#302226",
  "rgb": {
    "r": 48,
    "g": 34,
    "b": 38
  },
  "hsl": {
    "h": 342.857,
    "s": 17.073,
    "l": 16.078
  },
  "oklch": {
    "l": 0.2703,
    "c": 0.02246,
    "h": 359.8
  },
  "luminance": 0.01912
}

Semantic roles & 50–950 ramp

primary
#302226
secondary
#4D615B
accent
#BAA46E
background
#F6F5F5
surface
#EBE9E9
border
#C6C5C5
text
#060404
muted
#7A7979

Preview Lab

Preview with #302226

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

Preview Lab → · Contrast checker → · Palette generator →

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