#300221#300221

#300221 is a very dark, moderate pink. Relative luminance 0.008; OKLCH L 21.0% C 0.084 H 344.6°. Best body text is #FFFFFF at 18.16:1 contrast (WCAG AA passes).

Color values

HEX#300221
RGBrgb(48, 2, 33)
HSLhsl(320, 92%, 10%)
HSVhsv(320, 96%, 19%)
CMYKcmyk(0%, 95.8%, 31.3%, 81.2%)
CIE-LABlab(7.06, 26.43, -8.29)
CIE-LCHlch(7.06, 27.70, 342.60°)
OKLaboklab(20.97% 0.0808 -0.0223)
OKLCHoklch(20.97% 0.084 344.6)
XYZxyz(1.5152, 0.7818, 1.5097)
Luminance0.0078 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#300221 #023011
analogous
#280230 #300221 #30020A
triadic
#300221 #213002 #022130
tetradic
#300221 #302802 #023011 #020A30
square
#300221 #302802 #023011 #020A30
split-complementary
#300221 #0A3002 #023028
monochromatic
#1D0114 #1D0114 #300221 #6B0449 #A60772

Accessibility & contrast

On white

18.16
#300221 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#300221 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #300221
18.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##300221#FFFFFF#000000##FFFFFF
##3002211.0018.161.1618.16
#FFFFFF18.161.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#071022
Deuteranopia (green-blind)
#161820
Tritanopia (blue-blind)
#340210
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #300221;
/* rgb */ color: rgb(48, 2, 33);
/* oklch */ color: oklch(21.0% 0.084 344.6);
Tailwind
colors: {
  custom: {
    50: '#6b485c',
    500: '#300221',
    950: '#000000',
  },
}
SCSS
$custom: #300221;
$custom-light: #6b485c;
$custom-dark: #000000;
JSON
{
  "hex": "#300221",
  "rgb": {
    "r": 48,
    "g": 2,
    "b": 33
  },
  "hsl": {
    "h": 319.565,
    "s": 92,
    "l": 9.804
  },
  "oklch": {
    "l": 0.20966,
    "c": 0.08385,
    "h": 344.6
  },
  "luminance": 0.00782
}

Semantic roles & 50–950 ramp

primary
#300221
secondary
#197537
accent
#FF6F29
background
#F6F4F5
surface
#EBE6E9
border
#C6C2C5
text
#070004
muted
#7A7779

Preview Lab

Preview with #300221

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

Preview Lab → · Contrast checker → · Palette generator →

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