#330316#330316

#330316 is a very dark, moderate pink. Relative luminance 0.008; OKLCH L 21.2% C 0.078 H 2.0°. Best body text is #FFFFFF at 18.02:1 contrast (WCAG AA passes).

Color values

HEX#330316
RGBrgb(51, 3, 22)
HSLhsl(336, 89%, 11%)
HSVhsv(336, 94%, 20%)
CMYKcmyk(0%, 94.1%, 56.9%, 80%)
CIE-LABlab(7.47, 25.43, 0.91)
CIE-LCHlch(7.47, 25.45, 2.04°)
OKLaboklab(21.25% 0.0783 0.0028)
OKLCHoklch(21.25% 0.078 2)
XYZxyz(1.5428, 0.8271, 0.8373)
Luminance0.0083 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#330316 #033320
analogous
#33032E #330316 #330803
triadic
#330316 #163303 #031633
tetradic
#330316 #2E3303 #033320 #080333
square
#330316 #2E3303 #033320 #080333
split-complementary
#330316 #033308 #032E33
monochromatic
#1D020C #1D020C #330316 #6D062F #A70A48

Accessibility & contrast

On white

18.02
#330316 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#330316 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #330316
18.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##330316#FFFFFF#000000##FFFFFF
##3303161.0018.021.1718.02
#FFFFFF18.021.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF18.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E1016
Deuteranopia (green-blind)
#1B1A15
Tritanopia (blue-blind)
#38000B
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #330316;
/* rgb */ color: rgb(51, 3, 22);
/* oklch */ color: oklch(21.2% 0.078 2.0);
Tailwind
colors: {
  custom: {
    50: '#6e4852',
    500: '#330316',
    950: '#000000',
  },
}
SCSS
$custom: #330316;
$custom-light: #6e4852;
$custom-dark: #000000;
JSON
{
  "hex": "#330316",
  "rgb": {
    "r": 51,
    "g": 3,
    "b": 22
  },
  "hsl": {
    "h": 336.25,
    "s": 88.889,
    "l": 10.588
  },
  "oklch": {
    "l": 0.21249,
    "c": 0.07834,
    "h": 2
  },
  "luminance": 0.00827
}

Semantic roles & 50–950 ramp

primary
#330316
secondary
#1C7652
accent
#FFAA29
background
#F6F4F4
surface
#ECE7E7
border
#C7C3C3
text
#080102
muted
#7B7778

Preview Lab

Preview with #330316

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

Preview Lab → · Contrast checker → · Palette generator →

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