#330212#330212

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

Color values

HEX#330212
RGBrgb(51, 2, 18)
HSLhsl(340, 92%, 10%)
HSVhsv(340, 96%, 20%)
CMYKcmyk(0%, 96.1%, 64.7%, 80%)
CIE-LABlab(7.15, 25.55, 3.08)
CIE-LCHlch(7.15, 25.73, 6.87°)
OKLaboklab(20.95% 0.0784 0.0094)
OKLCHoklch(20.95% 0.079 6.8)
XYZxyz(1.4963, 0.7911, 0.6461)
Luminance0.0079 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#330212 #023323
analogous
#33022A #330212 #330A02
triadic
#330212 #123302 #021233
tetradic
#330212 #2A3302 #023323 #0A0233
square
#330212 #2A3302 #023323 #0A0233
split-complementary
#330212 #02330A #022A33
monochromatic
#1D010A #1D010A #330212 #6E0427 #A9073C

Accessibility & contrast

On white

18.13
#330212 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #330212
18.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##330212#FFFFFF#000000##FFFFFF
##3302121.0018.131.1618.13
#FFFFFF18.131.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E0F12
Deuteranopia (green-blind)
#1C1911
Tritanopia (blue-blind)
#390008
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #330212;
/* rgb */ color: rgb(51, 2, 18);
/* oklch */ color: oklch(21.0% 0.079 6.8);
Tailwind
colors: {
  custom: {
    50: '#6f484f',
    500: '#330212',
    950: '#000000',
  },
}
SCSS
$custom: #330212;
$custom-light: #6f484f;
$custom-dark: #000000;
JSON
{
  "hex": "#330212",
  "rgb": {
    "r": 51,
    "g": 2,
    "b": 18
  },
  "hsl": {
    "h": 340.408,
    "s": 92.453,
    "l": 10.392
  },
  "oklch": {
    "l": 0.20952,
    "c": 0.07899,
    "h": 6.8
  },
  "luminance": 0.00791
}

Semantic roles & 50–950 ramp

primary
#330212
secondary
#1A7759
accent
#FFB929
background
#F6F4F4
surface
#ECE6E7
border
#C7C2C3
text
#080002
muted
#7B7778

Preview Lab

Preview with #330212

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

Preview Lab → · Contrast checker → · Palette generator →

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