#330B18#330B18

#330B18 is a very dark, moderate pink. Relative luminance 0.010; OKLCH L 22.5% C 0.066 H 4.1°. Best body text is #FFFFFF at 17.47:1 contrast (WCAG AA passes).

Color values

HEX#330B18
RGBrgb(51, 11, 24)
HSLhsl(341, 65%, 12%)
HSVhsv(341, 78%, 20%)
CMYKcmyk(0%, 78.4%, 52.9%, 80%)
CIE-LABlab(9.07, 21.41, 1.73)
CIE-LCHlch(9.07, 21.48, 4.63°)
OKLaboklab(22.46% 0.0654 0.0047)
OKLCHoklch(22.46% 0.066 4.1)
XYZxyz(1.6499, 1.0093, 0.9719)
Luminance0.0101 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#330B18 #0B3326
analogous
#330B2C #330B18 #33120B
triadic
#330B18 #18330B #0B1833
tetradic
#330B18 #2C330B #0B3326 #120B33
square
#330B18 #2C330B #0B3326 #120B33
split-complementary
#330B18 #0B3312 #0B2C33
monochromatic
#19050C #19050C #330B18 #651630 #982147

Accessibility & contrast

On white

17.47
#330B18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#330B18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #330B18
17.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##330B18#FFFFFF#000000##FFFFFF
##330B181.0017.471.2017.47
#FFFFFF17.471.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#131518
Deuteranopia (green-blind)
#1E1D17
Tritanopia (blue-blind)
#380610
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #330b18;
/* rgb */ color: rgb(51, 11, 24);
/* oklch */ color: oklch(22.5% 0.066 4.1);
Tailwind
colors: {
  custom: {
    50: '#6d4d54',
    500: '#330b18',
    950: '#000000',
  },
}
SCSS
$custom: #330b18;
$custom-light: #6d4d54;
$custom-dark: #000000;
JSON
{
  "hex": "#330b18",
  "rgb": {
    "r": 51,
    "g": 11,
    "b": 24
  },
  "hsl": {
    "h": 340.5,
    "s": 64.516,
    "l": 12.157
  },
  "oklch": {
    "l": 0.22459,
    "c": 0.06554,
    "h": 4.1
  },
  "luminance": 0.01009
}

Semantic roles & 50–950 ramp

primary
#330B18
secondary
#2A7059
accent
#E8B140
background
#F6F4F4
surface
#ECE7E7
border
#C7C3C3
text
#070102
muted
#7A7778

Preview Lab

Preview with #330B18

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

Preview Lab → · Contrast checker → · Palette generator →

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