#300216#300216

#300216 is a very dark, moderate pink. Relative luminance 0.007; OKLCH L 20.4% C 0.077 H 359.2°. Best body text is #FFFFFF at 18.32:1 contrast (WCAG AA passes).

Color values

HEX#300216
RGBrgb(48, 2, 22)
HSLhsl(334, 92%, 10%)
HSVhsv(334, 96%, 19%)
CMYKcmyk(0%, 95.8%, 54.2%, 81.2%)
CIE-LABlab(6.59, 24.76, -0.46)
CIE-LCHlch(6.59, 24.76, 358.94°)
OKLaboklab(20.42% 0.0775 -0.0011)
OKLCHoklch(20.42% 0.077 359.2)
XYZxyz(1.3856, 0.7299, 0.8268)
Luminance0.0073 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#300216 #02301C
analogous
#30022D #300216 #300502
triadic
#300216 #163002 #021630
tetradic
#300216 #2D3002 #02301C #050230
square
#300216 #2D3002 #02301C #050230
split-complementary
#300216 #023005 #022D30
monochromatic
#1D010D #1D010D #300216 #6B0431 #A6074C

Accessibility & contrast

On white

18.32
#300216 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#300216 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #300216
18.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##300216#FFFFFF#000000##FFFFFF
##3002161.0018.321.1518.32
#FFFFFF18.321.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B0F17
Deuteranopia (green-blind)
#191815
Tritanopia (blue-blind)
#35000A
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #300216;
/* rgb */ color: rgb(48, 2, 22);
/* oklch */ color: oklch(20.4% 0.077 359.2);
Tailwind
colors: {
  custom: {
    50: '#6c4752',
    500: '#300216',
    950: '#000000',
  },
}
SCSS
$custom: #300216;
$custom-light: #6c4752;
$custom-dark: #000000;
JSON
{
  "hex": "#300216",
  "rgb": {
    "r": 48,
    "g": 2,
    "b": 22
  },
  "hsl": {
    "h": 333.913,
    "s": 92,
    "l": 9.804
  },
  "oklch": {
    "l": 0.20419,
    "c": 0.07749,
    "h": 359.2
  },
  "luminance": 0.0073
}

Semantic roles & 50–950 ramp

primary
#300216
secondary
#19754D
accent
#FFA229
background
#F6F4F4
surface
#ECE6E7
border
#C7C2C3
text
#070002
muted
#7A7778

Preview Lab

Preview with #300216

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

Preview Lab → · Contrast checker → · Palette generator →

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