#301222#301222

#301222 is a very dark, muted pink. Relative luminance 0.012; OKLCH L 23.5% C 0.054 H 348.9°. Best body text is #FFFFFF at 17.00:1 contrast (WCAG AA passes).

Color values

HEX#301222
RGBrgb(48, 18, 34)
HSLhsl(328, 45%, 13%)
HSVhsv(328, 63%, 19%)
CMYKcmyk(0%, 62.5%, 29.2%, 81.2%)
CIE-LABlab(10.38, 17.65, -4.00)
CIE-LCHlch(10.38, 18.10, 347.24°)
OKLaboklab(23.45% 0.0531 -0.0104)
OKLCHoklch(23.45% 0.054 348.9)
XYZxyz(1.7240, 1.1766, 1.6494)
Luminance0.0118 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#301222 #123020
analogous
#2F1230 #301222 #301213
triadic
#301222 #223012 #122230
tetradic
#301222 #302F12 #123020 #121330
square
#301222 #302F12 #123020 #121330
split-complementary
#301222 #133012 #12302F
monochromatic
#160810 #160810 #301222 #5D2342 #893361

Accessibility & contrast

On white

17.00
#301222 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#301222 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #301222
17.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##301222#FFFFFF#000000##FFFFFF
##3012221.0017.001.2417.00
#FFFFFF17.001.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF17.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#151923
Deuteranopia (green-blind)
#1D1E21
Tritanopia (blue-blind)
#341118
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #301222;
/* rgb */ color: rgb(48, 18, 34);
/* oklch */ color: oklch(23.5% 0.054 348.9);
Tailwind
colors: {
  custom: {
    50: '#69515c',
    500: '#301222',
    950: '#000000',
  },
}
SCSS
$custom: #301222;
$custom-light: #69515c;
$custom-dark: #000000;
JSON
{
  "hex": "#301222",
  "rgb": {
    "r": 48,
    "g": 18,
    "b": 34
  },
  "hsl": {
    "h": 328,
    "s": 45.455,
    "l": 12.941
  },
  "oklch": {
    "l": 0.23451,
    "c": 0.05411,
    "h": 348.9
  },
  "luminance": 0.01176
}

Semantic roles & 50–950 ramp

primary
#301222
secondary
#36684D
accent
#D59053
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#060204
muted
#7A7879

Preview Lab

Preview with #301222

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

Preview Lab → · Contrast checker → · Palette generator →

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