#302228#302228

#302228 is a dark, muted pink. Relative luminance 0.019; OKLCH L 27.1% C 0.024 H 351.3°. Best body text is #FFFFFF at 15.16:1 contrast (WCAG AA passes).

Color values

HEX#302228
RGBrgb(48, 34, 40)
HSLhsl(334, 17%, 16%)
HSVhsv(334, 29%, 19%)
CMYKcmyk(0%, 29.2%, 16.7%, 81.2%)
CIE-LABlab(15.09, 7.91, -1.39)
CIE-LCHlch(15.09, 8.03, 350.03°)
OKLaboklab(27.11% 0.0234 -0.0036)
OKLCHoklch(27.11% 0.024 351.3)
XYZxyz(2.1740, 1.9257, 2.2643)
Luminance0.0193 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302228 #22302A
analogous
#30222F #302228 #302322
triadic
#302228 #283022 #222830
tetradic
#302228 #2F3022 #22302A #232230
square
#302228 #2F3022 #22302A #232230
split-complementary
#302228 #223023 #222F30
monochromatic
#120D0F #120D0F #302228 #543B46 #785564

Accessibility & contrast

On white

15.16
#302228 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#302228 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302228
15.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302228#FFFFFF#000000##FFFFFF
##3022281.0015.161.3915.16
#FFFFFF15.161.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#232428
Deuteranopia (green-blind)
#262728
Tritanopia (blue-blind)
#322224
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #302228;
/* rgb */ color: rgb(48, 34, 40);
/* oklch */ color: oklch(27.1% 0.024 351.3);
Tailwind
colors: {
  custom: {
    50: '#685d61',
    500: '#302228',
    950: '#000000',
  },
}
SCSS
$custom: #302228;
$custom-light: #685d61;
$custom-dark: #000000;
JSON
{
  "hex": "#302228",
  "rgb": {
    "r": 48,
    "g": 34,
    "b": 40
  },
  "hsl": {
    "h": 334.286,
    "s": 17.073,
    "l": 16.078
  },
  "oklch": {
    "l": 0.27108,
    "c": 0.02367,
    "h": 351.3
  },
  "luminance": 0.01926
}

Semantic roles & 50–950 ramp

primary
#302228
secondary
#4D6158
accent
#BA996E
background
#F6F5F5
surface
#EBE9E9
border
#C6C5C5
text
#060405
muted
#7A7979

Preview Lab

Preview with #302228

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

Preview Lab → · Contrast checker → · Palette generator →

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