#330C1A#330C1A

#330C1A is a very dark, moderate pink. Relative luminance 0.010; OKLCH L 22.7% C 0.065 H 1.6°. Best body text is #FFFFFF at 17.38:1 contrast (WCAG AA passes).

Color values

HEX#330C1A
RGBrgb(51, 12, 26)
HSLhsl(338, 62%, 12%)
HSVhsv(338, 76%, 20%)
CMYKcmyk(0%, 76.5%, 49%, 80%)
CIE-LABlab(9.33, 21.14, 0.58)
CIE-LCHlch(9.33, 21.15, 1.57°)
OKLaboklab(22.68% 0.0646 0.0018)
OKLCHoklch(22.68% 0.065 1.6)
XYZxyz(1.6833, 1.0415, 1.0895)
Luminance0.0104 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#330C1A #0C3325
analogous
#330C2D #330C1A #33120C
triadic
#330C1A #1A330C #0C1A33
tetradic
#330C1A #2D330C #0C3325 #120C33
square
#330C1A #2D330C #0C3325 #120C33
split-complementary
#330C1A #0C3312 #0C2D33
monochromatic
#19060D #19060D #330C1A #651833 #96234D

Accessibility & contrast

On white

17.38
#330C1A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #330C1A
17.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##330C1A#FFFFFF#000000##FFFFFF
##330C1A1.0017.381.2117.38
#FFFFFF17.381.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#14151A
Deuteranopia (green-blind)
#1E1D19
Tritanopia (blue-blind)
#380812
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #330c1a;
/* rgb */ color: rgb(51, 12, 26);
/* oklch */ color: oklch(22.7% 0.065 1.6);
Tailwind
colors: {
  custom: {
    50: '#6d4d56',
    500: '#330c1a',
    950: '#000000',
  },
}
SCSS
$custom: #330c1a;
$custom-light: #6d4d56;
$custom-dark: #000000;
JSON
{
  "hex": "#330c1a",
  "rgb": {
    "r": 51,
    "g": 12,
    "b": 26
  },
  "hsl": {
    "h": 338.462,
    "s": 61.905,
    "l": 12.353
  },
  "oklch": {
    "l": 0.22679,
    "c": 0.06462,
    "h": 1.6
  },
  "luminance": 0.01041
}

Semantic roles & 50–950 ramp

primary
#330C1A
secondary
#2C6F57
accent
#E5AB43
background
#F6F4F5
surface
#ECE7E8
border
#C7C3C4
text
#070103
muted
#7A7778

Preview Lab

Preview with #330C1A

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

Preview Lab → · Contrast checker → · Palette generator →

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