#330412#330412

#330412 is a very dark, moderate pink. Relative luminance 0.008; OKLCH L 21.3% C 0.075 H 8.2°. Best body text is #FFFFFF at 18.00:1 contrast (WCAG AA passes).

Color values

HEX#330412
RGBrgb(51, 4, 18)
HSLhsl(342, 85%, 11%)
HSVhsv(342, 92%, 20%)
CMYKcmyk(0%, 92.2%, 64.7%, 80%)
CIE-LABlab(7.54, 24.46, 3.65)
CIE-LCHlch(7.54, 24.73, 8.49°)
OKLaboklab(21.26% 0.0746 0.0108)
OKLCHoklch(21.26% 0.075 8.2)
XYZxyz(1.5180, 0.8345, 0.6533)
Luminance0.0083 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#330412 #043325
analogous
#330429 #330412 #330D04
triadic
#330412 #123304 #041233
tetradic
#330412 #293304 #043325 #0D0433
square
#330412 #293304 #043325 #0D0433
split-complementary
#330412 #04330D #042933
monochromatic
#1C020A #1C020A #330412 #6C0826 #A40D3A

Accessibility & contrast

On white

18.00
#330412 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #330412
18.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##330412#FFFFFF#000000##FFFFFF
##3304121.0018.001.1718.00
#FFFFFF18.001.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF18.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#101012
Deuteranopia (green-blind)
#1C1A11
Tritanopia (blue-blind)
#390009
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #330412;
/* rgb */ color: rgb(51, 4, 18);
/* oklch */ color: oklch(21.3% 0.075 8.2);
Tailwind
colors: {
  custom: {
    50: '#6e494f',
    500: '#330412',
    950: '#000000',
  },
}
SCSS
$custom: #330412;
$custom-light: #6e494f;
$custom-dark: #000000;
JSON
{
  "hex": "#330412",
  "rgb": {
    "r": 51,
    "g": 4,
    "b": 18
  },
  "hsl": {
    "h": 342.128,
    "s": 85.455,
    "l": 10.784
  },
  "oklch": {
    "l": 0.21257,
    "c": 0.07536,
    "h": 8.2
  },
  "luminance": 0.00834
}

Semantic roles & 50–950 ramp

primary
#330412
secondary
#1D755B
accent
#FCBE2C
background
#F6F4F4
surface
#ECE7E7
border
#C7C3C3
text
#080102
muted
#7B7778

Preview Lab

Preview with #330412

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

Preview Lab → · Contrast checker → · Palette generator →

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