#330D18#330D18

#330D18 is a very dark, moderate pink. Relative luminance 0.011; OKLCH L 22.8% C 0.062 H 5.6°. Best body text is #FFFFFF at 17.33:1 contrast (WCAG AA passes).

Color values

HEX#330D18
RGBrgb(51, 13, 24)
HSLhsl(343, 59%, 13%)
HSVhsv(343, 75%, 20%)
CMYKcmyk(0%, 74.5%, 52.9%, 80%)
CIE-LABlab(9.46, 20.34, 2.30)
CIE-LCHlch(9.46, 20.47, 6.46°)
OKLaboklab(22.75% 0.062 0.0061)
OKLCHoklch(22.75% 0.062 5.6)
XYZxyz(1.6742, 1.0578, 0.9800)
Luminance0.0106 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#330D18 #0D3328
analogous
#330D2B #330D18 #33150D
triadic
#330D18 #18330D #0D1833
tetradic
#330D18 #2B330D #0D3328 #150D33
square
#330D18 #2B330D #0D3328 #150D33
split-complementary
#330D18 #0D3315 #0D2B33
monochromatic
#18060B #18060B #330D18 #64192F #952646

Accessibility & contrast

On white

17.33
#330D18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#330D18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #330D18
17.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##330D18#FFFFFF#000000##FFFFFF
##330D181.0017.331.2117.33
#FFFFFF17.331.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#151618
Deuteranopia (green-blind)
#1F1D17
Tritanopia (blue-blind)
#380811
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #330d18;
/* rgb */ color: rgb(51, 13, 24);
/* oklch */ color: oklch(22.8% 0.062 5.6);
Tailwind
colors: {
  custom: {
    50: '#6d4e54',
    500: '#330d18',
    950: '#000000',
  },
}
SCSS
$custom: #330d18;
$custom-light: #6d4e54;
$custom-dark: #000000;
JSON
{
  "hex": "#330d18",
  "rgb": {
    "r": 51,
    "g": 13,
    "b": 24
  },
  "hsl": {
    "h": 342.632,
    "s": 59.375,
    "l": 12.549
  },
  "oklch": {
    "l": 0.22753,
    "c": 0.06228,
    "h": 5.6
  },
  "luminance": 0.01058
}

Semantic roles & 50–950 ramp

primary
#330D18
secondary
#2E6E5C
accent
#E3B545
background
#F6F4F4
surface
#ECE7E7
border
#C7C3C3
text
#070102
muted
#7A7778

Preview Lab

Preview with #330D18

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

Preview Lab → · Contrast checker → · Palette generator →

#330D18 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva