#330C2A#330C2A

#330C2A is a very dark, moderate pink. Relative luminance 0.011; OKLCH L 23.5% C 0.075 H 338.0°. Best body text is #FFFFFF at 17.12:1 contrast (WCAG AA passes).

Color values

HEX#330C2A
RGBrgb(51, 12, 42)
HSLhsl(314, 62%, 12%)
HSVhsv(314, 76%, 20%)
CMYKcmyk(0%, 76.5%, 17.6%, 80%)
CIE-LABlab(10.06, 23.71, -10.42)
CIE-LCHlch(10.06, 25.90, 336.28°)
OKLaboklab(23.46% 0.0699 -0.0282)
OKLCHoklch(23.46% 0.075 338)
XYZxyz(1.9147, 1.1341, 2.3081)
Luminance0.0113 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#330C2A #0C3315
analogous
#290C33 #330C2A #330C17
triadic
#330C2A #2A330C #0C2A33
tetradic
#330C2A #33290C #0C3315 #0C1733
square
#330C2A #33290C #0C3315 #0C1733
split-complementary
#330C2A #17330C #0C3329
monochromatic
#190614 #190614 #330C2A #651853 #96237C

Accessibility & contrast

On white

17.12
#330C2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#330C2A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #330C2A
17.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##330C2A#FFFFFF#000000##FFFFFF
##330C2A1.0017.121.2317.12
#FFFFFF17.121.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D182B
Deuteranopia (green-blind)
#1A1E29
Tritanopia (blue-blind)
#360E19
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #330c2a;
/* rgb */ color: rgb(51, 12, 42);
/* oklch */ color: oklch(23.5% 0.075 338.0);
Tailwind
colors: {
  custom: {
    50: '#6c4e63',
    500: '#330c2a',
    950: '#000000',
  },
}
SCSS
$custom: #330c2a;
$custom-light: #6c4e63;
$custom-dark: #000000;
JSON
{
  "hex": "#330c2a",
  "rgb": {
    "r": 51,
    "g": 12,
    "b": 42
  },
  "hsl": {
    "h": 313.846,
    "s": 61.905,
    "l": 12.353
  },
  "oklch": {
    "l": 0.23455,
    "c": 0.07536,
    "h": 338
  },
  "luminance": 0.01134
}

Semantic roles & 50–950 ramp

primary
#330C2A
secondary
#2C6F3B
accent
#E56843
background
#F6F4F5
surface
#EBE7EA
border
#C6C3C6
text
#070205
muted
#7A7879

Preview Lab

Preview with #330C2A

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

Preview Lab → · Contrast checker → · Palette generator →

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